H5端个人信息修改
This commit is contained in:
parent
cce48e5297
commit
1f39478730
@ -7,10 +7,10 @@
|
|||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="昵称" right-icon="arrow-right">
|
<u-form-item label="昵称" right-icon="arrow-right">
|
||||||
<u-input :placeholder="userInfo.username"
|
<u-input :placeholder="userInfo.username"
|
||||||
:disabled="true" input-align="right" />
|
input-align="right" :disabled="true" />
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="性别" right-icon="arrow-right">
|
<u-form-item label="性别" right-icon="arrow-right">
|
||||||
<u-input @click="showGender = true" :placeholder="userInfo.gender" :disabled="true"
|
<u-input @click="openGender" :placeholder="userInfo.gender"
|
||||||
input-align="right" />
|
input-align="right" />
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="个性签名" right-icon="arrow-right">
|
<u-form-item label="个性签名" right-icon="arrow-right">
|
||||||
@ -57,6 +57,9 @@
|
|||||||
this.getUserInfo();
|
this.getUserInfo();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
openGender(){
|
||||||
|
this.showGender = true
|
||||||
|
},
|
||||||
// 修改性别
|
// 修改性别
|
||||||
saveGender(index) {
|
saveGender(index) {
|
||||||
let gender = index[0].value;
|
let gender = index[0].value;
|
||||||
|
Loading…
Reference in New Issue
Block a user