|
@@ -140,10 +140,11 @@ export default {
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
confimTopUp() {
|
|
confimTopUp() {
|
|
|
|
|
+ console.log(this.isDisabled,"qqqq")
|
|
|
if (this.price == 0 || this.prioce == "") {
|
|
if (this.price == 0 || this.prioce == "") {
|
|
|
appEv.errTips("充值不能为0");
|
|
appEv.errTips("充值不能为0");
|
|
|
return;
|
|
return;
|
|
|
- } else if (this.isDisabled) {
|
|
|
|
|
|
|
+ } else if (!this.isDisabled) {
|
|
|
appEv.errTips("请阅读并同意相关协议");
|
|
appEv.errTips("请阅读并同意相关协议");
|
|
|
return;
|
|
return;
|
|
|
} else {
|
|
} else {
|
|
@@ -194,7 +195,13 @@ export default {
|
|
|
},
|
|
},
|
|
|
checkboxChange(e) {
|
|
checkboxChange(e) {
|
|
|
var value = e.detail.value;
|
|
var value = e.detail.value;
|
|
|
- this.isDisabled = value.length == 0;
|
|
|
|
|
|
|
+ if(value.length == 0){
|
|
|
|
|
+ this.isDisabled = false
|
|
|
|
|
+ }else{
|
|
|
|
|
+ this.isDisabled = true
|
|
|
|
|
+ }
|
|
|
|
|
+ // this.isDisabled = false= value.length == 0;
|
|
|
|
|
+ // console.log(e.detail,"aaaaaaaaaaa")
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
};
|
|
};
|