更换了个人中心修改手机号的验证码获取

This commit is contained in:
luyuan 2020-11-11 10:17:51 +08:00
parent 1cca2b754c
commit 6d410c2a03
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -334,7 +334,7 @@
{{ lan.$t("wanchengrenzheng") }} {{ lan.$t("wanchengrenzheng") }}
</div> </div>
<div class="title sub-title"> <div class="title sub-title">
{{ lan.$t("shuru") }} {{ userinfo.mobile }} {{ lan.$t("shuru") }}{{ userinfo.code }} {{ userinfo.mobile }}
{{ lan.$t("shoudaodeyzm") }} {{ lan.$t("shoudaodeyzm") }}
</div> </div>
<div class="form-box"> <div class="form-box">
@ -381,14 +381,19 @@
<!-- <a-input size="small" v-model:value="bindPhone.number" /> --> <!-- <a-input size="small" v-model:value="bindPhone.number" /> -->
<a-input-group compact class="telbox"> <a-input-group compact class="telbox">
<a-select <a-select
:default-value="quhaolist[0].code" :default-value="quhaolist[0].name + '+' + quhaolist[0].code"
size="small" size="small"
@change="getquhao" @change="getquhao"
option-label-prop="label"
style="width: 1rem;"
show-search
> >
<a-select-option <a-select-option
v-for="(i, j) in quhaolist" v-for="(i, j) in quhaolist"
:key="j" :key="j"
:value="i.code" :value="i.name + '+' + i.code"
:label="'+' + i.code"
> >
{{ i.name }}+{{ i.code }} {{ i.name }}+{{ i.code }}
</a-select-option> </a-select-option>
@ -740,6 +745,7 @@ export default defineComponent({
function getquhao(e?: any) { function getquhao(e?: any) {
console.log(e); console.log(e);
myquhao.value = e.toString(); myquhao.value = e.toString();
myquhao.value = myquhao.value.split("+")[1];
} }
// //
const updatePasswordVisible: Ref<boolean> = ref(false); const updatePasswordVisible: Ref<boolean> = ref(false);
@ -1036,6 +1042,7 @@ export default defineComponent({
.telbox { .telbox {
margin-left: 15px; margin-left: 15px;
font-size: 12px; font-size: 12px;
// width: 200px;
} }
.update-btn { .update-btn {
font-size: 11px; font-size: 11px;