From 5694c3787a14141701e8c5f1ce7384dc1a3c0590 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期二, 28 四月 2026 09:32:51 +0800
Subject: [PATCH] 支付宝支付ddd
---
small-program/pages/index/index.vue | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/small-program/pages/index/index.vue b/small-program/pages/index/index.vue
index c597645..085439b 100644
--- a/small-program/pages/index/index.vue
+++ b/small-program/pages/index/index.vue
@@ -52,20 +52,20 @@
<view class="recommend-list">
<template v-if="pointList.length > 0">
- <view v-for="(item, index) in pointList" :key="index" class="point-card" @click="goStoragePage(item)">
+ <view v-for="(item, index) in pointList" :key="index" class="point-card" @click="goShopDetails(item)">
<view class="point-thumb">
<image class="point-thumb-image" :src="item.coverImg" mode="widthFix"></image>
</view>
<view class="point-main">
<view class="point-head">
- <text class="point-name">{{ item.name }}</text>
- <text class="point-distance">{{ item.distanceText }}</text>
+ <text class="point-name">{{ item.name ||'' }}</text>
+ <text class="point-distance">{{ item.distanceText ||''}}</text>
</view>
<view class="point-address">
<image src="/static/icon/home_ic_location3@2x.png" mode="aspectFit"></image>
- <text>{{ item.address }}</text>
+ <text>{{ item.address ||''}}</text>
</view>
- <text class="point-time">{{ item.shopHours }}</text>
+ <text class="point-time">{{ item.shopHours ||'' }}</text>
</view>
</view>
</template>
@@ -290,6 +290,11 @@
}
});
},
+ goShopDetails(item){
+ uni.navigateTo({
+ url: '/pages/storage-point-detail/storage-point-detail?id='+item.id
+ })
+ },
goStoragePage() {
if (!this.cityId) return uni.showToast({
title: '褰撳墠鍩庡競鏆傛湭寮�閫�',
--
Gitblit v1.9.3