瀏覽代碼

静态页面

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,7 +6,7 @@
6 6
         <div class="Form">
7 7
           <input type="number" placeholder="请输入充值牛币数量" v-model="Amount">
8 8
         </div>
9
-        <span>1人民币=100牛币, 充值金额不能用于提现</span>
9
+        <span>1人民币=100牛币, 充值金额不能用于提现,充值金额不能低于100牛币</span>
10 10
         <div class="Btn">
11 11
           <a @click="ToPayForAli">确定</a>
12 12
         </div>
@@ -56,11 +56,11 @@ export default {
56 56
     },
57 57
     ToPayForAli () {
58 58
       if (this.Amount === '') {
59
-        this.Toast('充值牛数量不能为空')
59
+        this.Toast('充值牛数量不能为空')
60 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 64
         return false
65 65
       }
66 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,6 +9,7 @@
9 9
         <div class="Form">
10 10
           <input type="password" placeholder="请输入提现密码" v-model="Password" @input="Password = Password.substring(0, 12)">
11 11
         </div>
12
+        <span style="color: #999">提现金额不能低于100牛币</span>
12 13
         <span style="color: #999">未设置过提现密码?<router-link :to="{ name: 'EditTiXianMiMa' }">设置提现密码</router-link></span>
13 14
         <div class="Btn">
14 15
           <a @click="ToCashOut">提现</a>
@@ -62,7 +63,7 @@ export default {
62 63
         return false
63 64
       }
64 65
       if (this.Amount - 0 < 100) {
65
-        this.Toast('提现金额不能于100牛币')
66
+        this.Toast('提现金额不能于100牛币')
66 67
         return false
67 68
       }
68 69
       if (this.Amount - 0 > this.UserInfo.account.cash - 0) {