修一下

This commit is contained in:
2025-06-20 16:59:15 +08:00
parent 7a066b3026
commit 9b2f38e5cb
7 changed files with 115 additions and 27 deletions

View File

@ -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();