From 354b1317aab21617881057c40f8c0580b8f28139 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期五, 26 九月 2025 18:46:45 +0800 Subject: [PATCH] 用户绑定商店 --- pages/goods-manager/goodsList/goodsList.vue | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pages/goods-manager/goodsList/goodsList.vue b/pages/goods-manager/goodsList/goodsList.vue index d186625..4e74f30 100644 --- a/pages/goods-manager/goodsList/goodsList.vue +++ b/pages/goods-manager/goodsList/goodsList.vue @@ -28,13 +28,14 @@ <text>.00</text> </view> <view class="uni-flex-row"> - <view class="uni-note">{{ item.commentNum || 0 }}鏉¤瘎璁� 鏈堥攢閲� {{ - item.buyCount || 0 }} + <view class="uni-note">{{ item.commentNum || 0 }}鏉¤瘎璁� </view> <view class="uni-note ellipsis"> - <text :class="item.marketEnable == 'DOWN' ? 'market-down' : 'market-up'">{{ - item.marketEnable == 'DOWN' ? "宸蹭笅鏋�" : "宸蹭笂鏋�" }}</text> - + <!-- <text :class="item.marketEnable == 'DOWN' ? 'market-down' : 'market-up'">{{ + item.marketEnable == 'DOWN' ? "宸蹭笅鏋�" : "宸蹭笂鏋�" }}</text> --> + <text :class="item.authFlag == 'TOBEAUDITED' ? 'market-down' : item.authFlag == 'PASS' ? 'market-up' : 'market-down'"> + {{ item.authFlag == 'TOBEAUDITED' ? "寰呭鏍�" : (item.authFlag == 'PASS' ? '閫氳繃' : '鏈�氳繃') }} + </text> <!--<text class="uni-link" style="color:red;">鍒犻櫎</text> --> </view> </view> @@ -71,12 +72,11 @@ <script> -import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; +import '@/components/uview-components/uview-ui'; import * as API_GOODS from "@/api/goods.js"; export default { - components: { UIcon }, data() { return { formData: { @@ -142,8 +142,8 @@ }); }, toggle(item) { - this.$refs.popup.open('bottom') - this.selectGoods = item; + // this.$refs.popup.open('bottom') + // this.selectGoods = item; }, getGoodsList() { @@ -159,7 +159,7 @@ }, addGoods(id) { uni.navigateTo({ - url: `/pages/goods-manager/addGoods/addGoods${id ? "?id=" + id : ""}`, + url: `/pages/supplier/publish-goods/publishGoods`, }); } -- Gitblit v1.8.0