From bfd70830b78bc42e0a284baa044efacc29897cd5 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 28 四月 2026 22:02:46 +0800
Subject: [PATCH] 小程序改bug
---
small-program/pages/storage-point-detail/storage-point-detail.vue | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/small-program/pages/storage-point-detail/storage-point-detail.vue b/small-program/pages/storage-point-detail/storage-point-detail.vue
index 99613fd..8b638b3 100644
--- a/small-program/pages/storage-point-detail/storage-point-detail.vue
+++ b/small-program/pages/storage-point-detail/storage-point-detail.vue
@@ -31,11 +31,12 @@
<text class="popup-section-text">{{ activeStore.feeStandard || ''}}</text>
</view>
</view>
- <!-- <view class="popup-footer">
+ <view class="popup-footer">
<view class="popup-btn ghost" @click="contactStore">鑱旂郴闂ㄥ簵</view>
<view class="popup-btn primary" @click="storeLuggage">琛屾潕瀵勫瓨</view>
- </view> -->
+ </view>
</view>
+ <auth-login :show="showLogin" @close="showLogin = false"></auth-login>
</view>
</template>
@@ -45,13 +46,15 @@
data() {
return {
id:null,
- activeStore: {}
+ activeStore: {},
+ showLogin: false
}
},
computed: {
- ...mapState(['latitude', 'longitude'])
+ ...mapState(['latitude', 'longitude', 'token'])
},
async onLoad(options) {
+ console.log(options)
this.id = options.id
this.getShopInfo()
},
@@ -102,6 +105,10 @@
})
},
storeLuggage() {
+ if (!this.token) {
+ this.showLogin = true
+ return
+ }
uni.navigateTo({
url: '/pages/luggage-storage/luggage-storage'
})
--
Gitblit v1.9.3