Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
swx_weapp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2022-10-28 18:02:04 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
32077bd8074a4bd034938ce7c6319882820e7522
32077bd8
1 parent
7656caad
新增跳转头像修改页面
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
src/pages/my/index.vue
src/pages/my/index.vue
View file @
32077bd
<!--
* @Date: 2022-09-21 14:51:44
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-10-2
6 15:52:42
* @LastEditTime: 2022-10-2
8 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>
...
...
Please
register
or
login
to post a comment