|
|
@@ -25,7 +25,7 @@
|
|
|
</view>
|
|
|
<view class="lineGroup-model">
|
|
|
<text class="iconfont icon-cardid label-icon-model"></text>
|
|
|
- <input type='number' class="input-model" maxlength="18" placeholder="请输入身份证号码" v-model="id_card" />
|
|
|
+ <input type='text' class="input-model" maxlength="18" placeholder="请输入身份证号码" v-model="id_card" />
|
|
|
</view>
|
|
|
<view class="btn-model">
|
|
|
<button class="btn" @tap="confirmPop">绑定</button>
|
|
|
@@ -91,7 +91,6 @@
|
|
|
*/
|
|
|
confirmPop() { // 确认
|
|
|
if (this.stu_number.length == 14 && this.id_card.length == 18) {
|
|
|
- this.showPop = false
|
|
|
// 获得code
|
|
|
this.getCode('confirm')
|
|
|
} else {
|
|
|
@@ -154,13 +153,13 @@
|
|
|
title: '用户绑定成功!',
|
|
|
icon: 'success'
|
|
|
});
|
|
|
+
|
|
|
+ this.showPop = false
|
|
|
} else {
|
|
|
uni.showToast({
|
|
|
title: res.data.mess,
|
|
|
icon: 'success'
|
|
|
});
|
|
|
-
|
|
|
- this.showPop = true
|
|
|
}
|
|
|
},
|
|
|
/**
|