hookehuyr

🐞 fix(用户资料): 用户ID传值问题修复

<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-10-28 13:57:28
* @LastEditTime: 2022-11-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
})
}
......