团购详情页构建

This commit is contained in:
duan
2024-05-10 10:50:34 +08:00
parent 5e78e9b69f
commit 7dc98c0cc7
10 changed files with 208 additions and 47 deletions

View File

@@ -213,7 +213,7 @@
})
},
orderinfoTo(e) {
uni.pro.navigateTo('order/order_groupdetail', {
uni.pro.navigateTo('group_order/order_groupdetail', {
orderId: e.id
})
},

View File

@@ -1,45 +0,0 @@
<template>
<view>
</view>
</template>
<script>
export default {
onLoad(e) {
this.orderId = e.orderId
this.orderorderInfo()
},
data() {
return {
orderId:"",
listinfo:null
}
},
methods: {
orderorderInfo() {
let _this = this
uni.getStorage({
key: "getLocationstorage",
success: function (data) {
let {lat , lng} = data.data
let res = _this.api.groupOrderInfoDetail({
id: _this.orderId,
lat,
lng
})
if (res.code == 0) {
_this.listinfo = res.data
// this.mountedcreateSelectorQuery()
}
}
});
},
}
}
</script>
<style>
</style>