weui-wxss
Version:
36 lines (35 loc) • 582 B
JavaScript
Page({
mixins: [require('../../mixin/common')],
data: {
vcodeValue: false,
msg: false,
checkValue: 1,
check: false,
},
bindVcodeInput(e) {
if (e.detail.value) {
this.setData({
vcodeValue: true,
});
}
},
checkStatus() {
if (!this.data.check) {
this.setData({
msg: true,
});
}
const that = this;
},
checkboxChange(e) {
if (e.detail.value.includes('1')) {
this.setData({
check: true,
});
} else {
this.setData({
check: false,
});
}
},
});