From d9a89d83c2048a964f16ca179feb2b7f21b9d33a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 29 七月 2024 16:28:47 +0800
Subject: [PATCH] 提交

---
 wechat_jiaxuan/pages/auth/auth.wxml |   24 ++++++++++++++++--------
 1 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/wechat_jiaxuan/pages/auth/auth.wxml b/wechat_jiaxuan/pages/auth/auth.wxml
index 824c3df..2e7e623 100644
--- a/wechat_jiaxuan/pages/auth/auth.wxml
+++ b/wechat_jiaxuan/pages/auth/auth.wxml
@@ -1,9 +1,4 @@
 <view>
-  <van-nav-bar title="鎺堟潈鐧诲綍">
-    <view slot="left">
-      <van-icon name="arrow-left" size="22px" color="#000000" />
-    </view>
-  </van-nav-bar>
   <view class="container">
     <view class="logo_wrap">
       <image src="../../static/icon/logo.png"></image>
@@ -15,12 +10,25 @@
         <van-checkbox value="{{ agreementFalg }}" checked-color="{{primary}}" shape="round" bind:change="agreementChange"></van-checkbox>
         <view class="content">
           <text>鎴戝凡闃呰骞跺悓鎰�</text>
-          <text class="primary">銆奪BOM鐢ㄦ埛鏈嶅姟鍗忚銆�</text>
+          <text data-index="0" bindtap="onOpen" class="primary">銆奪BOM鐢ㄦ埛鏈嶅姟鍗忚銆�</text>
           <text>鍙�</text>
-          <text class="primary">銆奪BOM鐢ㄦ埛闅愮鏀跨瓥銆�</text>
+          <text data-index="1" bindtap="onOpen" class="primary">銆奪BOM鐢ㄦ埛闅愮鏀跨瓥銆�</text>
         </view>
       </view>
-      <view class="btn">鎵嬫満鍙峰揩鎹风櫥褰�</view>
+      <button class="btn" wx:if="{{ !agreementFalg }}" bindtap="loginIn">鎵嬫満鍙峰揩鎹风櫥褰�</button>
+      <button wx:else class="btn" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">鎵嬫満鍙峰揩鎹风櫥褰�</button>
     </view>
   </view>
+  <!--  -->
+  <van-popup position="bottom" show="{{ showModal }}" round bind:close="onClose">
+    <view class="modal">
+      <view class="content">
+        <mp-html content="{{activeHtml}}"></mp-html>
+      </view>
+      <view style="bottom: {{ bottomLift }}px" class="btns">
+        <view data-flag="{{true}}" bindtap="handleJudge" class="agree">鍚屾剰</view>
+        <view data-flag="{{false}}" bindtap="handleJudge" class="btn">涓嶅悓鎰忓苟閫�鍑�</view>
+      </view>
+    </view>
+  </van-popup>
 </view>
\ No newline at end of file

--
Gitblit v1.9.3