From 75c63ae6c5cb34c777c9fb3b375379952f7995b4 Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期五, 12 四月 2024 20:45:13 +0800
Subject: [PATCH] css

---
 packagePersonal/pages/userSetting/index.wxml |   78 +++++++++++++++++++++++++++++++++++++-
 1 files changed, 75 insertions(+), 3 deletions(-)

diff --git a/packagePersonal/pages/userSetting/index.wxml b/packagePersonal/pages/userSetting/index.wxml
index 9a4fe31..4971506 100644
--- a/packagePersonal/pages/userSetting/index.wxml
+++ b/packagePersonal/pages/userSetting/index.wxml
@@ -2,7 +2,7 @@
   <view class="itemList">
     <view class="label">澶村儚</view>
     <view class="contentImg">
-      <t-avatar image="{{userInfo.icon}}" class="user-center-card__header__avatar" />
+      <t-image src="{{userInfo.icon}}" mode="aspectFill" />
     </view>
     <view class="iconEdit" data-info="{{'icon'}}" bindtap="editIconInfo">
       <t-icon name="chevron-right" size="40rpx" color="#C2C2C2" />
@@ -23,7 +23,7 @@
     <view class="content" data-info="{{'email'}}" bindtap="editUserInfo">{{userInfo.Email}}</view>
     <t-icon name="chevron-right" size="40rpx" color="#C2C2C2" data-info="{{'email'}}" bindtap="editUserInfo" />
   </view>
-  <t-popup visible="{{userInfoBox}}" bind:visible-change="onVisibleChange" placement="center">
+  <!-- <t-popup visible="{{userInfoBox}}" bind:visible-change="onVisibleChange" placement="center">
     <view class="block">
       <view class="body">
         <view class="from-item" wx:if="{{editType == 'nickName'}}">
@@ -90,5 +90,77 @@
       </view>
       <t-icon t-class="close-btn" name="close-circle" size="32" color="#fff" bind:tap="onCloseProtocol" />
     </view>
-  </t-popup>
+  </t-popup> -->
+
+</view>
+<view class="popup-box" wx:if="{{userInfoBox}}" bindtap="onCloseProtocol"></view>
+<view class="info-center" style="top:{{height*0.3}}px;" wx:if="{{userInfoBox}}">
+  <view>
+    <view class="row-info">
+      <view class="body">
+        <view class="from-item" wx:if="{{editType == 'nickName'}}">
+          <view class="label"> 鏄电О锛� </view>
+          <view class="item-content">
+            <view class="inputBox1">
+              <t-input placeholder="杈撳叆鏄电О" borderless value="{{userInfoForm.nickName}}" bindchange="onNameInput" />
+            </view>
+          </view>
+        </view>
+        <view class="from-item" wx:if="{{editType == 'phone'}}">
+          <view class="label"> 鎵嬫満鍙凤細 </view>
+          <view class="item-content">
+            <view class="inputBox1">
+              <t-input placeholder="杈撳叆鎵嬫満鍙风爜" borderless value="{{userInfoForm.phone}}" type="number" tips="{{phoneError ? '鎵嬫満鍙疯緭鍏ヤ笉姝g‘' : ''}}" bindchange="onPhoneInput" />
+            </view>
+          </view>
+        </view>
+        <view class="from-item" wx:if="{{editType == 'email'}}">
+          <view class=" label"> 閭锛� </view>
+          <view class="item-content">
+            <view class="inputBox1">
+              <t-input placeholder="杈撳叆閭" borderless value="{{userInfoForm.email}}" tips="{{emailError ? '閭杈撳叆涓嶆纭�' : ''}}" bindchange="onEmailInput" />
+            </view>
+          </view>
+        </view>
+        <view class="from-item" wx:if="{{editType !== 'nickName'}}">
+          <view class="label"> 鍥惧舰楠岃瘉鐮侊細 </view>
+          <view class="item-content">
+            <view class="inputBox">
+              <t-input placeholder="杈撳叆鍥惧舰楠岃瘉鐮�" borderless value="{{userInfoForm.captcha}}" type="number" bindchange="onCaptchaInput" />
+            </view>
+            <view class="code">
+              <image src="{{imgCode}}" class="imgCode hover" bindtap="getImgCapcha" />
+            </view>
+          </view>
+
+        </view>
+        <view class="from-item" wx:if="{{editType == 'phone'}}">
+          <view class="label"> 鐭俊楠岃瘉鐮侊細 </view>
+          <view class="item-content">
+            <view class="inputBox">
+              <t-input placeholder="杈撳叆鐭俊楠岃瘉鐮�" borderless value="{{userInfoForm.code}}" type="number" bindchange="onCodeInput" />
+            </view>
+            <view class="code">
+              <button class="btn" bindtap="getPhoneCode">{{countDown > 0 ? '楠岃瘉鐮�(' + countDown + 's)' : '鑾峰彇鐭俊楠岃瘉鐮�'}}</button>
+            </view>
+          </view>
+        </view>
+        <view class="from-item" wx:if="{{editType == 'email'}}">
+          <view class="label"> 閭楠岃瘉鐮侊細 </view>
+          <view class="item-content">
+            <view class="inputBox">
+              <t-input placeholder="杈撳叆閭楠岃瘉鐮�" borderless value="{{userInfoForm.code}}" type="number" bindchange="onCodeInput" />
+            </view>
+            <view class="code">
+              <button class="btn" bindtap="getEmailCode">鑾峰彇閭楠岃瘉鐮�</button>
+            </view>
+          </view>
+        </view>
+      </view>
+    </view>
+    <view class="row-btn">
+      <view class="left-btn" bindtap="onCloseProtocol">鍙栨秷</view>
+      <view class="right-btn" bindtap="confirmInfo">纭</view>
+    </view>
+  </view>
 </view>
\ No newline at end of file

--
Gitblit v1.9.1