浏览代码

静态页面

1002884655 4 年前
父节点
当前提交
7beac505ea
共有 2 个文件被更改,包括 6 次插入5 次删除
  1. 4
    4
      src/pages/WoDe/ChongZhi/index.vue
  2. 2
    1
      src/pages/WoDe/TiXian/index.vue

+ 4
- 4
src/pages/WoDe/ChongZhi/index.vue 查看文件

6
         <div class="Form">
6
         <div class="Form">
7
           <input type="number" placeholder="请输入充值牛币数量" v-model="Amount">
7
           <input type="number" placeholder="请输入充值牛币数量" v-model="Amount">
8
         </div>
8
         </div>
9
-        <span>1人民币=100牛币, 充值金额不能用于提现</span>
9
+        <span>1人民币=100牛币, 充值金额不能用于提现,充值金额不能低于100牛币</span>
10
         <div class="Btn">
10
         <div class="Btn">
11
           <a @click="ToPayForAli">确定</a>
11
           <a @click="ToPayForAli">确定</a>
12
         </div>
12
         </div>
56
     },
56
     },
57
     ToPayForAli () {
57
     ToPayForAli () {
58
       if (this.Amount === '') {
58
       if (this.Amount === '') {
59
-        this.Toast('充值牛数量不能为空')
59
+        this.Toast('充值牛数量不能为空')
60
         return false
60
         return false
61
       }
61
       }
62
-      if (this.Amount - 0 <= 0) {
63
-        this.Toast('充值牛逼数量必须为正整数')
62
+      if (this.Amount - 0 < 100) {
63
+        this.Toast('充值牛币数量不能低于100')
64
         return false
64
         return false
65
       }
65
       }
66
       window.location.href = `${APIBase}api/app/alipay/deposit?amount=${this.Amount - 0}&returnURL=${encodeURIComponent(`${window.location.origin}/#/WoDe/ChongZhiZhuangTai`)}&token=${window.localStorage.Jwt}`
66
       window.location.href = `${APIBase}api/app/alipay/deposit?amount=${this.Amount - 0}&returnURL=${encodeURIComponent(`${window.location.origin}/#/WoDe/ChongZhiZhuangTai`)}&token=${window.localStorage.Jwt}`

+ 2
- 1
src/pages/WoDe/TiXian/index.vue 查看文件

9
         <div class="Form">
9
         <div class="Form">
10
           <input type="password" placeholder="请输入提现密码" v-model="Password" @input="Password = Password.substring(0, 12)">
10
           <input type="password" placeholder="请输入提现密码" v-model="Password" @input="Password = Password.substring(0, 12)">
11
         </div>
11
         </div>
12
+        <span style="color: #999">提现金额不能低于100牛币</span>
12
         <span style="color: #999">未设置过提现密码?<router-link :to="{ name: 'EditTiXianMiMa' }">设置提现密码</router-link></span>
13
         <span style="color: #999">未设置过提现密码?<router-link :to="{ name: 'EditTiXianMiMa' }">设置提现密码</router-link></span>
13
         <div class="Btn">
14
         <div class="Btn">
14
           <a @click="ToCashOut">提现</a>
15
           <a @click="ToCashOut">提现</a>
62
         return false
63
         return false
63
       }
64
       }
64
       if (this.Amount - 0 < 100) {
65
       if (this.Amount - 0 < 100) {
65
-        this.Toast('提现金额不能于100牛币')
66
+        this.Toast('提现金额不能于100牛币')
66
         return false
67
         return false
67
       }
68
       }
68
       if (this.Amount - 0 > this.UserInfo.account.cash - 0) {
69
       if (this.Amount - 0 > this.UserInfo.account.cash - 0) {