|
@@ -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}`
|