Bläddra i källkod

update: 修改为只支持微信提现

joe 4 år sedan
förälder
incheckning
2e66cfc45c
3 ändrade filer med 11 tillägg och 4 borttagningar
  1. BIN
      view/xcx/images/logo.png
  2. 8 1
      view/xcx/pages/user_cash/index.js
  3. 3 3
      view/xcx/pages/user_cash/index.wxml

BIN
view/xcx/images/logo.png


+ 8 - 1
view/xcx/pages/user_cash/index.js

@@ -32,7 +32,7 @@ Page({
                 'icon': 'icon-icon34'
             }
         ],
-        currentTab: 0,
+        currentTab: 1,
         index: 0,
         array: [], //提现银行
         commissionCount: 0.00, //可提现金额
@@ -81,6 +81,13 @@ Page({
     },
 
     swichNav: function (e) {
+        if (e.currentTarget.dataset.current != 1) {
+            wx.showToast({
+                title: '暂未开放',
+                image: '',
+            })
+            return
+        }
         this.setData({
             currentTab: e.currentTarget.dataset.current
         });

+ 3 - 3
view/xcx/pages/user_cash/index.wxml

@@ -41,12 +41,12 @@
         <view hidden='{{currentTab != 1}}' class='list'>
             <form bindsubmit="subCash">
                 <view class='item acea-row row-between-wrapper'>
-                    <view class='name'>号</view>
-                    <view class='input'><input placeholder='请填写您的微信账号' placeholder-class='placeholder'
+                    <view class='name'>微信号</view>
+                    <view class='input'><input placeholder='输入微信号,默认为登录账号' placeholder-class='placeholder'
                             name="name"></input></view>
                 </view>
                 <view class='item acea-row row-between-wrapper'>
-                    <view class='name'>提现</view>
+                    <view class='name'>提现金额</view>
                     <view class='input'><input placeholder='最低提现金额{{minPrice}}元' placeholder-class='placeholder'
                             name="money" type='digit'></input></view>
                 </view>