套餐问题修复
This commit is contained in:
@@ -106,7 +106,7 @@
|
||||
</view>
|
||||
<view class="u-flex u-m-t-32 u-col-center" v-if="item.groupEndTime&&item.wareGroupStatus=='success'">
|
||||
<text class="title">成团时间:</text>
|
||||
<text class="stitle price">{{item.groupEndTime}}</text>
|
||||
<text class="stitle ">{{item.groupEndTime}}</text>
|
||||
</view>
|
||||
<view class="u-flex u-m-t-32 u-col-center" v-if="showTime(item)">
|
||||
<text class="title">剩余成团时间:</text>
|
||||
@@ -413,13 +413,18 @@
|
||||
})
|
||||
})
|
||||
onShow(getData)
|
||||
onLoad(() => {
|
||||
onLoad((opt) => {
|
||||
const shopId=opt.shopId||uni.cache.get('shopId')
|
||||
query.shopId=shopId
|
||||
uni.cache.set('shopId',query.shopId)
|
||||
console.log('opt',opt);
|
||||
APIusershopInfodetail({
|
||||
shopId: uni.cache.get('shopId')
|
||||
shopId: shopId
|
||||
}).then(res => {
|
||||
console.log(res);
|
||||
shopInfo.value = res.shopInfo
|
||||
uni.cache.set('shopInfo', res.shopInfo)
|
||||
uni.cache.set('shopId', res.shopInfo.id)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user