From 00a7a61df86db969f2ba61c508d02ba4709ce3d4 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 05 六月 2026 10:09:06 +0800
Subject: [PATCH] 改bug
---
small-program/pages/storage-point-detail/storage-point-detail.vue | 36 ++++++++++++++++++++++++++++++++----
1 files changed, 32 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 8b638b3..afd6b98 100644
--- a/small-program/pages/storage-point-detail/storage-point-detail.vue
+++ b/small-program/pages/storage-point-detail/storage-point-detail.vue
@@ -8,6 +8,9 @@
</swiper>
<view class="popup-body">
<text class="popup-title">{{ activeStore.name ||'' }}</text>
+ <view class="point-tips">
+ <view class="point-tips-item" v-for="(tag, idx) in activeStore.locationTagNames" :key="idx">{{ tag }}</view>
+ </view>
<text class="popup-hours">{{ activeStore.time ||'' }}</text>
<text class="popup-desc" v-if="activeStore.content">{{ activeStore.content ||'' }}</text>
<view class="popup-address-row" @click="openNavigation">
@@ -94,21 +97,24 @@
longitude: this.longitude,
}).then(res => {
if (res.code === 200) {
+ if (res.data.locationTagNames) {
+ res.data.locationTagNames = res.data.locationTagNames.split(',')
+ }
this.activeStore = res.data
}
})
},
contactStore() {
- uni.showToast({
- title: '鑱旂郴闂ㄥ簵寰呮帴鍏�',
- icon: 'none'
- })
+ uni.makePhoneCall({
+ phoneNumber: this.activeStore.linkPhone
+ });
},
storeLuggage() {
if (!this.token) {
this.showLogin = true
return
}
+ uni.setStorageSync('selectedStore', this.activeStore)
uni.navigateTo({
url: '/pages/luggage-storage/luggage-storage'
})
@@ -160,6 +166,28 @@
padding: 24rpx 24rpx 0;
gap: 18rpx;
}
+
+ .point-tips {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ margin-top: 12rpx;
+ .point-tips-item {
+ width: 130rpx;
+ height: 36rpx;
+ line-height: 36rpx;
+ text-align: center;
+ border-radius: 8rpx;
+ font-weight: 400;
+ font-size: 20rpx;
+ color: #10B2FA;
+ margin-right: 12rpx;
+ border: 1rpx solid #10B2FA;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+ }
.search-box {
flex: 1;
--
Gitblit v1.9.3