hookehuyr

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

1 <!-- 1 <!--
2 * @Date: 2022-09-19 14:11:06 2 * @Date: 2022-09-19 14:11:06
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2022-10-28 13:57:28 4 + * @LastEditTime: 2022-11-01 15:13:53
5 * @FilePath: /swx/src/pages/userManage/index.vue 5 * @FilePath: /swx/src/pages/userManage/index.vue
6 * @Description: 单个主办方管理页面 6 * @Description: 单个主办方管理页面
7 --> 7 -->
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
65 <view v-for="(item, index) in member_list" :key="index" class="list-item" style="position: relative;"> 65 <view v-for="(item, index) in member_list" :key="index" class="list-item" style="position: relative;">
66 <van-row> 66 <van-row>
67 <van-col span="6"> 67 <van-col span="6">
68 - <view @tap="goToUserInfo()" class="avatar" :style="{ backgroundImage: `url(${item.avatar ? item.avatar : 'http://gyzs.onwall.cn/tou%402x.png'})`, position: 'relative' }"></view> 68 + <view @tap="goToUserInfo(item.id)" class="avatar" :style="{ backgroundImage: `url(${item.avatar ? item.avatar : 'http://gyzs.onwall.cn/tou%402x.png'})`, position: 'relative' }"></view>
69 </van-col> 69 </van-col>
70 <van-col span="14"> 70 <van-col span="14">
71 <view class="content"> 71 <view class="content">
...@@ -122,9 +122,9 @@ const onPhoneClick = (number) => { ...@@ -122,9 +122,9 @@ const onPhoneClick = (number) => {
122 }) 122 })
123 } 123 }
124 124
125 -const goToUserInfo = () => { 125 +const goToUserInfo = (id) => {
126 Taro.navigateTo({ 126 Taro.navigateTo({
127 - url: '../userInfo/index' 127 + url: '../userInfo/index?member_id=' + id
128 }) 128 })
129 } 129 }
130 130
......