From e4233b5c4e123c4b79a38d0a9b0c8b60631e1683 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期二, 30 七月 2024 10:40:24 +0800
Subject: [PATCH] update

---
 pages/user/supplier-user.vue |   28 +++++++++++++++++++++++++---
 1 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/pages/user/supplier-user.vue b/pages/user/supplier-user.vue
index ed93c6b..c0a7541 100644
--- a/pages/user/supplier-user.vue
+++ b/pages/user/supplier-user.vue
@@ -44,17 +44,20 @@
 					<!-- getUserProfile -->
 					{{ '点击登陆' }}
 				</view>
-				<image class="icon-setting" src="../../static/common/icon-setting.png" mode="aspectFit"></image>
+				<image class="icon-setting" @click="toInfo" src="../../static/common/icon-setting.png" mode="aspectFit">
+				</image>
 			</view>
 			<!-- #ifdef PUB_CUSTOMER -->
 			<view class="customer-info-records">
 				<view class="item">
-					<view class="num">{{ tj.collectNum || 0 }}</view>
+					<view class="num" @click="goto('/sub_pages/customer/self/collect',true)">{{ tj.collectNum || 0 }}
+					</view>
 					<view class="name">我的收藏</view>
 				</view>
 				<view class="line"></view>
 				<view class="item">
-					<view class="num">{{ tj.followNum || 0 }}</view>
+					<view class="num" @click="goto('/sub_pages/customer/self/follow',true)">{{ tj.followNum || 0 }}
+					</view>
 					<view class="name">关注店铺</view>
 				</view>
 				<view class="line"></view>
@@ -307,6 +310,25 @@
 			uni.stopPullDownRefresh()
 		},
 		methods: {
+			toInfo() {
+				var url = ''
+				if (this.currentInfo.id) {
+					// #ifdef PUB_CUSTOMER
+					url = '/sub_pages/customer/customer-info/customer-info'
+					// #endif
+					// #ifdef PUB_PARTNER
+					url = '/sub_pages/partner/partner-info/partner-info'
+					// #endif
+					// #ifdef PUB_SUPPLIER
+					url = '/sub_pages/supplier/supplier-info/supplier-info'
+					// #endif
+					if (url) {
+						uni.navigateTo({
+							url: url
+						})
+					}
+				}
+			},
 			getTj() {
 				// /api/supplier/delivery	
 

--
Gitblit v1.9.3