报名正则验证

master
zsk 2 years ago
parent 615ed07b73
commit 9b928067c7

@ -172,6 +172,10 @@ Component({
})
//返回性别和年龄
// return idCardObj;
},
formReset(e) {
this.hideModal();
console.log('form发生了reset事件携带数据为', e.detail.value)
}
}

@ -47,7 +47,7 @@
<view class="mt8 f11 tal cccc mb24 pl4" style="width:90%" hover-class="none" hover-stop-propagation="false">注意:不同的报名人如果填写同一个手机号,报名提交将会失败。</view>
</view>
<view class="fsa pl32 pr32 mb24" hover-class="none" hover-stop-propagation="false">
<button class="nobg_Btn normalBtn36 mr16" style type role="button" hover-class="thover" bindtap='hideModal'>我再想想</button>
<button class="nobg_Btn normalBtn36 mr16" style type role="button" hover-class="thover" formType="reset">我再想想</button>
<button class="bgBtn normalBtn36" style type="primary" hover-class="thover" disabled="{{loading}}" loading="{{loading}}" formType="submit">确认报名</button>
</view>
</view>

Loading…
Cancel
Save