团购详情页构建
This commit is contained in:
@@ -213,7 +213,7 @@
|
||||
})
|
||||
},
|
||||
orderinfoTo(e) {
|
||||
uni.pro.navigateTo('order/order_groupdetail', {
|
||||
uni.pro.navigateTo('group_order/order_groupdetail', {
|
||||
orderId: e.id
|
||||
})
|
||||
},
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user