套餐问题修复

This commit is contained in:
2025-12-20 14:41:46 +08:00
parent e29ccfeab4
commit 5b2c925fad
19 changed files with 1474 additions and 294 deletions

View File

@@ -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)
})
})