Selaa lähdekoodia

fix: ios input & button

wangyuan 2 vuotta sitten
vanhempi
commit
96d9f657a6

+ 1 - 1
pages/createFile/createFile.wxml

@@ -19,7 +19,7 @@
       <view class="form-item username ittflex-jcb">
         <view class="label ittflex-jcs">姓名:</view>
         <view class="actions file-input">
-          <input bindinput="bindUserNameInput" maxlength="6" class="weui-input"  placeholder="请输入" 	placeholder-style="text-align: right;font-size:26rpx;color:#999;"/>
+          <input bindinput="bindUserNameInput" maxlength="10" class="weui-input"  placeholder="请输入" 	placeholder-style="text-align: right;font-size:26rpx;color:#999;"/>
         </view>
       </view>
       <view class="form-item sex ittflex-jcs">

+ 2 - 2
pages/exchange/exchange.wxml

@@ -14,8 +14,8 @@
     注:兑换后立即到账,不能退回
   </view>
   <view class="submit ittflex-jcb">
-    <view class="itt-btn cancel btn" bindtap="handleCancle">取消</view>
-    <view class="itt-btn confirm btn" bindtap="handleComfirm">确定</view>
+    <button class="cancel btn" bindtap="handleCancle">取消</button>
+    <button class="confirm btn" bindtap="handleComfirm">确定</button>
   </view>
   <view class="shuoming ittflex">
     <image mode="widthFix" class="shuomingitem" src="{{imgUrl}}"></image>

+ 5 - 3
pages/exchange/exchange.wxss

@@ -46,14 +46,16 @@
 }
 .btn {
   width: 326rpx;
-  height: 80rpx;
-  border-radius: 10rpx;
+  font-size: 30rpx;
 }
 .cancel {
   background-color: #F7F7F7;
-  border: 1px solid #333333;
   color: #333333;
 }
+.confirm {
+  background-color: var(--maincolor);
+  color: #fff;
+}
 .shuoming {
   width: 690rpx;
   margin: 80rpx auto 0;