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-03 17:07:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4af90184e94b10d6e7b6dfefb4aac377b5374ab4
4af90184
1 parent
d7360da7
fix 修复我的点击问题
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
src/components/activity-bar.vue
src/components/navbar.vue
src/components/activity-bar.vue
View file @
4af9018
<!--
* @Date: 2022-09-26 16:10:35
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-11-03 16:
19:2
6
* @LastEditTime: 2022-11-03 16:
43:5
6
* @FilePath: /swx/src/components/activity-bar.vue
* @Description: 活动详情页底部导航栏
-->
...
...
@@ -40,6 +40,7 @@
<view class="list" @tap="goTo('list')">报名列表</view>
</view>
<view v-if="userType === 'player'" class="staff-join">
<view class="button" @tap="goTo('volunteer')">义工报名</view>
<view class="button" @tap="goTo('join')">活动报名</view>
</view>
<view v-if="userType === 'volunteer_only'" class="staff-not-join">
...
...
src/components/navbar.vue
View file @
4af9018
<!--
* @Date: 2022-09-21 11:59:20
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-11-0
2 17:01:4
8
* @LastEditTime: 2022-11-0
3 17:05:2
8
* @FilePath: /swx/src/components/navbar.vue
* @Description: 底部导航栏
-->
...
...
@@ -47,7 +47,7 @@ const goTo = (page) => {
})
}
} else { // 我的页面调用
if (page === 'm
e
') {
if (page === 'm
y
') {
return;
} else {
wx.redirectTo({
...
...
Please
register
or
login
to post a comment