You've already forked guangan-mp
修一下
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
<image src="/static/images/icon-photograph.png" alt="随手拍" class="icon-img"></image>
|
||||
<text class="icon-text">随手拍</text>
|
||||
</view>
|
||||
<view class="icon-block" @click="gotoShop">
|
||||
<view class="icon-block" @click="gotoShop" v-if="shopEnable">
|
||||
<image src="/static/images/icon-store.png" alt="" class="icon-img"></image>
|
||||
<text class="icon-text">积分商城</text>
|
||||
</view>
|
||||
@ -67,6 +67,7 @@
|
||||
id: '',
|
||||
name: '全部'
|
||||
}],
|
||||
shopEnable: false,
|
||||
tabIndex: 0,
|
||||
newsList: [],
|
||||
curPage: 1,
|
||||
@ -90,6 +91,9 @@
|
||||
this.bannerList.push(item)
|
||||
})
|
||||
})
|
||||
TaAjax.get('/points_mall/api.goods/enable').then((res) => {
|
||||
this.shopEnable = res.data;
|
||||
})
|
||||
},
|
||||
onReady() {
|
||||
this.refreshData();
|
||||
|
Reference in New Issue
Block a user