|
@@ -4,7 +4,7 @@
|
|
<view class="user flex">
|
|
<view class="user flex">
|
|
<image :src="userInfo.head?userInfo.head:'../../static/imgs/mySet/head.png'" mode="widthFix" class="img"
|
|
<image :src="userInfo.head?userInfo.head:'../../static/imgs/mySet/head.png'" mode="widthFix" class="img"
|
|
@click="editHead"></image>
|
|
@click="editHead"></image>
|
|
- <view class="name">
|
|
|
|
|
|
+ <view @click="editNickName" class="name">
|
|
{{userInfo.nickname}}
|
|
{{userInfo.nickname}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -95,11 +95,6 @@
|
|
type: "contactCustomer",
|
|
type: "contactCustomer",
|
|
src: '../../static/imgs/mySet/kf.png'
|
|
src: '../../static/imgs/mySet/kf.png'
|
|
},
|
|
},
|
|
- {
|
|
|
|
- name: "修改昵称",
|
|
|
|
- type: 'editNickName',
|
|
|
|
- src: '../../static/imgs/mySet/set.png'
|
|
|
|
- },
|
|
|
|
{
|
|
{
|
|
name: "设置",
|
|
name: "设置",
|
|
type: 'set',
|
|
type: 'set',
|
|
@@ -183,6 +178,12 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ editNickName(){
|
|
|
|
+ let _url = '/pages/mySet/editNickName'
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: _url
|
|
|
|
+ })
|
|
|
|
+ },
|
|
editHead() {
|
|
editHead() {
|
|
uni.chooseImage({
|
|
uni.chooseImage({
|
|
count: 1,
|
|
count: 1,
|