hookehuyr

fix 修复我的点击问题

1 <!-- 1 <!--
2 * @Date: 2022-09-26 16:10:35 2 * @Date: 2022-09-26 16:10:35
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2022-11-03 16:19:26 4 + * @LastEditTime: 2022-11-03 16:43:56
5 * @FilePath: /swx/src/components/activity-bar.vue 5 * @FilePath: /swx/src/components/activity-bar.vue
6 * @Description: 活动详情页底部导航栏 6 * @Description: 活动详情页底部导航栏
7 --> 7 -->
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
40 <view class="list" @tap="goTo('list')">报名列表</view> 40 <view class="list" @tap="goTo('list')">报名列表</view>
41 </view> 41 </view>
42 <view v-if="userType === 'player'" class="staff-join"> 42 <view v-if="userType === 'player'" class="staff-join">
43 + <view class="button" @tap="goTo('volunteer')">义工报名</view>
43 <view class="button" @tap="goTo('join')">活动报名</view> 44 <view class="button" @tap="goTo('join')">活动报名</view>
44 </view> 45 </view>
45 <view v-if="userType === 'volunteer_only'" class="staff-not-join"> 46 <view v-if="userType === 'volunteer_only'" class="staff-not-join">
......
1 <!-- 1 <!--
2 * @Date: 2022-09-21 11:59:20 2 * @Date: 2022-09-21 11:59:20
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2022-11-02 17:01:48 4 + * @LastEditTime: 2022-11-03 17:05:28
5 * @FilePath: /swx/src/components/navbar.vue 5 * @FilePath: /swx/src/components/navbar.vue
6 * @Description: 底部导航栏 6 * @Description: 底部导航栏
7 --> 7 -->
...@@ -47,7 +47,7 @@ const goTo = (page) => { ...@@ -47,7 +47,7 @@ const goTo = (page) => {
47 }) 47 })
48 } 48 }
49 } else { // 我的页面调用 49 } else { // 我的页面调用
50 - if (page === 'me') { 50 + if (page === 'my') {
51 return; 51 return;
52 } else { 52 } else {
53 wx.redirectTo({ 53 wx.redirectTo({
......