Browse Source

修改默认选择充值金额

lucheng 3 years ago
parent
commit
775a18a3e5
1 changed files with 12 additions and 12 deletions
  1. 12 12
      pages/chargemoney/chargemoney.wxml

+ 12 - 12
pages/chargemoney/chargemoney.wxml

@@ -2,28 +2,28 @@
 <!--pages/chargemoney/chargemoney.wxml-->
 <view class="money">
   <view class='title'><text class='blod'>充值金额</text></view>
-  <view id='1000' class="{{chargemoney_select==1000?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
-    <image wx:if='{{chargemoney_select!=1000}}' src='/images/chargemoney1.png'></image>
+  <view id='50' class="{{chargemoney_select==50?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
+    <image wx:if='{{chargemoney_select!=50}}' src='/images/chargemoney1.png'></image>
     <view>
-      <text>充1000元</text>
+      <text>充50元</text>
     </view>
   </view>
-  <view id='500' class="{{chargemoney_select==500?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
-    <image wx:if='{{chargemoney_select!=500}}' src='/images/chargemoney1.png'></image>
+  <view id='100' class="{{chargemoney_select==100?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
+    <image wx:if='{{chargemoney_select!=100}}' src='/images/chargemoney1.png'></image>
     <view>
-      <text>充500元</text>
+      <text>充100元</text>
     </view>
   </view>
-  <view id='300' class="{{chargemoney_select==300?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
-    <image wx:if='{{chargemoney_select!=300}}' src='/images/chargemoney1.png'></image>
+  <view id='200' class="{{chargemoney_select==200?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
+    <image wx:if='{{chargemoney_select!=200}}' src='/images/chargemoney1.png'></image>
     <view>
-      <text>充300元</text>
+      <text>充200元</text>
     </view>
   </view>
-  <view id='100' class="{{chargemoney_select==100?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
-    <image wx:if='{{chargemoney_select!=100}}' src='/images/chargemoney1.png'></image>
+  <view id='500' class="{{chargemoney_select==500?'chargemoney_select':'chargemoney'}}" bindtap='bindMoneyTap' hover-class='active'>
+    <image wx:if='{{chargemoney_select!=500}}' src='/images/chargemoney1.png'></image>
     <view>
-      <text>充100元</text>
+      <text>充500元</text>
     </view>
   </view>
   <view class='money_input'>