提交
This commit is contained in:
parent
7c06941d59
commit
994e791771
@ -4,7 +4,7 @@
|
||||
<view class="town-title">{{town}}里海云仓</view>
|
||||
<view class="body-wrapper">
|
||||
<block v-for="(item,index) in cloudList" :key="index">
|
||||
<navigator class="item"
|
||||
<navigator v-if="item.show" class="item"
|
||||
:url="`/pages/nongKe/goods_list/index?cate_id=${item.category_id}&street=${street_code}&name=${item.title}`"
|
||||
:style="{'background-image': `url(${item.bg})`}">
|
||||
<text class="item-title">{{item.title}}云仓服务</text>
|
||||
|
@ -1075,21 +1075,20 @@
|
||||
},
|
||||
// 去商品详情页
|
||||
goGoodsDetail(item) {
|
||||
console.log('item111', item);
|
||||
goShopDetail(item, this.uid).then(res => {
|
||||
if (this.isLogin) {
|
||||
// initiateAssistApi(item.activity_id).then(res => {
|
||||
// let id = res.data.product_assist_set_id;
|
||||
// uni.hideLoading();
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/activity/assist_detail/index?id=${id}`
|
||||
// });
|
||||
// }).catch((err) => {
|
||||
// uni.showToast({
|
||||
// title: err,
|
||||
// icon: 'none'
|
||||
// })
|
||||
// });
|
||||
initiateAssistApi(item.activity_id).then(res => {
|
||||
let id = res.data.product_assist_set_id;
|
||||
uni.hideLoading();
|
||||
uni.navigateTo({
|
||||
url: `/pages/activity/assist_detail/index?id=${id}`
|
||||
});
|
||||
}).catch((err) => {
|
||||
uni.showToast({
|
||||
title: err,
|
||||
icon: 'none'
|
||||
})
|
||||
});
|
||||
} else {
|
||||
this.isAuto = true;
|
||||
this.isShowAuth = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user