From 0ed26f3348a13f87f7863fb36f302678e85c3d6e Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 22 四月 2026 15:38:15 +0800
Subject: [PATCH] 门店
---
small-program/shop/pages/store-home/store-home.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/small-program/shop/pages/store-home/store-home.vue b/small-program/shop/pages/store-home/store-home.vue
index 991a139..2769fe2 100644
--- a/small-program/shop/pages/store-home/store-home.vue
+++ b/small-program/shop/pages/store-home/store-home.vue
@@ -6,8 +6,8 @@
<view class="custom-nav">
<view :style="{ height: statusbarHeight + 'px' }"></view>
<view class="nav-content" :style="{ height: navHeight + 'px' }">
- <image class="nav-icon" src="/static/icon/ic_home@2x.png"></image>
- <text class="nav-title">涓搧蹇繍鍗楃珯鏃楄埌搴�</text>
+ <image class="nav-icon" src="/static/icon/ic_home@2x.png" @click="goToStore"></image>
+ <text class="nav-title">{{ shopInfo.shopName || '' }}</text>
</view>
</view>
<view :style="{ height: (statusbarHeight + navHeight) + 'px' }"></view>
@@ -127,7 +127,7 @@
CustomTabbar
},
computed: {
- ...mapState(['navHeight', 'statusbarHeight'])
+ ...mapState(['navHeight', 'statusbarHeight', 'shopInfo'])
},
onReachBottom() {
console.log('store-home onReachBottom')
@@ -142,6 +142,11 @@
uni.navigateTo({
url: '/shop/pages/qualification/qualification'
})
+ },
+ goToStore() {
+ uni.switchTab({
+ url: '/pages/index/index'
+ })
}
},
data() {
--
Gitblit v1.9.3