hookehuyr

新增跳转头像修改页面

<!--
* @Date: 2022-09-21 14:51:44
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-10-26 15:52:42
* @LastEditTime: 2022-10-28 18:01:09
* @FilePath: /swx/src/pages/my/index.vue
* @Description: 我的页面
-->
......@@ -11,7 +11,7 @@
<view style="height: 4rem; padding: 1rem;">
<van-row>
<van-col span="18">
<view style="position: relative;">
<view @tap="editUser" style="position: relative;">
<van-image :round="true" width="4rem" height="4rem" :src="avatar" />
<view style="display: inline-block; position: absolute; top: 30%; left: 30%;">
<text style="font-size: 1.15rem;">{{ nickname }}</text>
......@@ -131,6 +131,13 @@ const myProject = () => {
url: '../projectManage/index'
})
}
// 修改头像
const editUser = () => {
Taro.navigateTo({
url: '../apxUserInfo/index'
})
}
</script>
<script>
......