syyang 2 лет назад
Родитель
Сommit
316861c86e
2 измененных файлов с 16 добавлено и 2 удалено
  1. 2 2
      pages/me/me.wxml
  2. 14 0
      pages/me/me.wxss

+ 2 - 2
pages/me/me.wxml

@@ -6,7 +6,7 @@
   <button bindtap="init_userInfo" class="wd_btn">绑定账号</button>
 
   <modal wx:if="{{isShowAccoutDialog}}">
-    账号<input/>
-    密码<input/>
+    <view class="vi_inp">账号<input/></view>
+    <view class="vi_inp">密码<input password type="text"/></view>
   </modal>
 </view>

+ 14 - 0
pages/me/me.wxss

@@ -31,4 +31,18 @@
   position: fixed;
   bottom: 20%;
   color: #333;
+}
+.vi_inp{
+  display: flex;
+  flex-direction: row;
+  height: 100rpx;
+  line-height: 100rpx;
+  border-bottom: 1rpx solid rgb(247, 247, 247);
+  color: #333;
+  font-size: 32rpx;
+}
+.vi_inp input{
+  height: 100rpx;
+  line-height: 100rpx;
+  padding-left: 20rpx;
 }