From 1941e9fc342b3a2cb6d32e9658ad46f29f50a5df Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 22 七月 2024 15:36:11 +0800
Subject: [PATCH] 代码提交

---
 wechat_jiaxuan/pages/design/design.wxml |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/wechat_jiaxuan/pages/design/design.wxml b/wechat_jiaxuan/pages/design/design.wxml
index 636ac06..f6b125c 100644
--- a/wechat_jiaxuan/pages/design/design.wxml
+++ b/wechat_jiaxuan/pages/design/design.wxml
@@ -12,14 +12,16 @@
     </view>
     <view class="line" bindtap="chooseCity">
       <image class="icon" src="../../static/icon/design_ic_city.png" mode="widthFix"></image>
-      <view class="city">{{ city }}</view>
+      <view wx:if="{{addr.areaCode}}" class="city">{{addr.provinceName}}{{addr.cityName}}{{addr.areaName}}</view>
+      <view wx:else class="placeholder9 city">璇烽�夋嫨鍦板尯</view>
       <image class="arrow_right" src="../../static/icon/arrow_right.png" mode="widthFix"></image>
     </view>
     <view class="btn" bindtap="onSubmit">绔嬪嵆鎶ュ悕</view>
   </view>
   <image class="banner" src="{{ WechatIMG558 }}" mode="widthFix"></image>
   <!--  -->
-  <van-popup show="{{ showAreaList }}" position="bottom" round>
-    <van-area class="area-list" area-list="{{ areaList }}"  bind:confirm="confirmChange" bind:cancel="chooseCity" />
+  <van-popup show="{{ showAreaList }}" bind:close="onClose" round position="bottom">
+    <van-cascader field-names="{{ fieldNames }}" value="{{ cascaderValue }}" title="璇烽�夋嫨鎵�鍦ㄥ湴鍖�" options="{{ areaList }}" bind:close="onClose" bind:finish="onFinish" />
   </van-popup>
+
 </view>
\ No newline at end of file

--
Gitblit v1.9.3