From 5b219a9694c8d69db42e746a654c779cc6a61bf6 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 18 七月 2024 18:42:20 +0800
Subject: [PATCH] ‘’

---
 wechat_jiaxuan/components/authCard/authCard.wxml |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/wechat_jiaxuan/components/authCard/authCard.wxml b/wechat_jiaxuan/components/authCard/authCard.wxml
index 5478818..06601ff 100644
--- a/wechat_jiaxuan/components/authCard/authCard.wxml
+++ b/wechat_jiaxuan/components/authCard/authCard.wxml
@@ -8,7 +8,7 @@
       <view class="name">AI鎵捐璁�</view>
       <view class="desc">浣犺韩杈圭殑鍏ㄥ眿璁捐涓撳</view>
     </view>
-    <view class="btn">
+    <view class="btn" bindtap="jumpAuth">
       <view>鍘�</view>
       <view>鐪�</view>
       <view>鐪�</view>
@@ -25,22 +25,22 @@
         <view class="desc">鎮ㄨ韩杈圭殑鍏ㄥ眿璁捐涓撳锝�</view>
       </view>
       <image class="right" src="../../static/icon/arrow_right.png" mode="widthFix"></image>
-
     </view>
     <view class="list">
-      <view class="item" wx:for="{{6}}">
+      <view class="item" wx:for="{{shopList}}">
         <view class="name">
           <view class="icon">
             <image src="../../static/icon/mendian_item.png" mode="widthFix"></image>
           </view>
-          <text>鍚堣偉绾㈡槦鏂板搧鍏�</text>
+          <text>{{ item.name }}</text>
         </view>
         <view class="addr">
           <view class="left">
             <image class="icon" src="../../static/icon/location.png" mode="widthFix"></image>
-            <text>3.9km</text>
+            <text wx:if="{{ item.distanceStr }}">{{ item.distanceStr }}</text>
+            <text wx:else>--</text>
           </view>
-          <view class="right">
+          <view class="right" data-id="{{ item.id }}" bindtap="shopDetail">
             <text>杩涘叆闂ㄥ簵</text>
             <van-icon  name="arrow" />
           </view>
@@ -49,7 +49,7 @@
     </view>
   </view>
   <!-- 宸叉巿鏉� 宸茬粦瀹� -->
-  <view wx:if="{{ type == '2' }}" class="wrap1 wrap3">
+  <view bindtap="jumpStaff" wx:if="{{ type == '2' }}" class="wrap1 wrap3">
     <view class="ai df_ct">
       <image src="../../static/icon/home_ic_guwen@2x.png" mode="widthFix"></image>
     </view>

--
Gitblit v1.9.3