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-11-01 15:14:59 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6010affef709d53bf2f8dbf0398e137cacb845c1
6010affe
1 parent
80a2120b
🐞 fix(用户资料): 用户ID传值问题修复
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/pages/userManage/index.vue
src/pages/userManage/index.vue
View file @
6010aff
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-1
0-28 13:57:28
* @LastEditTime: 2022-1
1-01 15:13:53
* @FilePath: /swx/src/pages/userManage/index.vue
* @Description: 单个主办方管理页面
-->
...
...
@@ -65,7 +65,7 @@
<view v-for="(item, index) in member_list" :key="index" class="list-item" style="position: relative;">
<van-row>
<van-col span="6">
<view @tap="goToUserInfo()" class="avatar" :style="{ backgroundImage: `url(${item.avatar ? item.avatar : 'http://gyzs.onwall.cn/tou%402x.png'})`, position: 'relative' }"></view>
<view @tap="goToUserInfo(
item.id
)" class="avatar" :style="{ backgroundImage: `url(${item.avatar ? item.avatar : 'http://gyzs.onwall.cn/tou%402x.png'})`, position: 'relative' }"></view>
</van-col>
<van-col span="14">
<view class="content">
...
...
@@ -122,9 +122,9 @@ const onPhoneClick = (number) => {
})
}
const goToUserInfo = () => {
const goToUserInfo = (
id
) => {
Taro.navigateTo({
url: '../userInfo/index
'
url: '../userInfo/index
?member_id=' + id
})
}
...
...
Please
register
or
login
to post a comment