优化拼团与秒杀商品详情tab 修复收藏不显示问题
This commit is contained in:
@ -8,8 +8,8 @@
|
||||
<view class="text acea-row row-column-between">
|
||||
<view class="infor line1">{{ item.storeName }}</view>
|
||||
<view class="acea-row row-between-wrapper">
|
||||
<view class="money font-color-red" v-if="isIntegral == 1">{{ item.costPrice }}积分</view>
|
||||
<view class="money font-color-red" v-else>¥{{ item.price }}</view>
|
||||
<!-- <view class="money font-color-red" v-if="isIntegral == 1">{{ item.costPrice }}积分</view> -->
|
||||
<view class="money font-color-red">¥{{ item.price }}</view>
|
||||
<view class="delete" @tap.stop="delCollection(collectProductListIndex)">删除</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -54,15 +54,20 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
goGoodsCon(item) {
|
||||
if (item.isIntegral == 1) {
|
||||
if (item.category == 'combination') {
|
||||
this.$yrouter.push({
|
||||
path: '/pages/shop/GoodsCon/index',
|
||||
query: { id: item.pid },
|
||||
path: '/pages/activity/GroupDetails/index',
|
||||
query: { id: item.productId },
|
||||
})
|
||||
} else {
|
||||
} else if (item.category == 'seckill') {
|
||||
this.$yrouter.push({
|
||||
path: '/pages/activity/SeckillDetails/index',
|
||||
query: { id: item.productId },
|
||||
})
|
||||
}else {
|
||||
this.$yrouter.push({
|
||||
path: '/pages/shop/GoodsCon/index',
|
||||
query: { id: item.pid },
|
||||
query: { id: item.productId },
|
||||
})
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user