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 18:10:15 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b762822a8c46a776a48eb811bb2872b64ca621ff
b762822a
1 parent
0068b94a
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/pages/myFollowUser/index.vue
src/pages/myFollowUser/index.vue
View file @
b762822
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-11-03 1
5:43:2
1
* @LastEditTime: 2022-11-03 1
8:08:4
1
* @FilePath: /swx/src/pages/myFollowUser/index.vue
* @Description: 陪伴的用户页面
-->
...
...
@@ -61,7 +61,7 @@
<view class="list-wrapper" style="margin: 1rem;">
<view id="navbar-page" style="background-color: white; border-radius: 0.65rem; padding: 1rem;overflow: auto; margin-bottom: 1px;">
<view style="display: inline-block; margin-right: 1rem; line-height: 60rpx;">
<view @tap="toggleColum('activity')" :class="[activated === 1 ? 'bg-gradient' : 'inactivate']" style="font-size: 1rem;">全部
义工
</view>
<view @tap="toggleColum('activity')" :class="[activated === 1 ? 'bg-gradient' : 'inactivate']" style="font-size: 1rem;">全部
用户
</view>
</view>
<view style="display: inline-block; line-height: 60rpx; position: relative;">
<view @tap="toggleColum('join')" :class="[activated === 2 ? 'bg-gradient' : 'inactivate']">待陪伴</view>
...
...
@@ -279,7 +279,7 @@ export default {
this.show_host_popup = false;
},
toggleColum (type) {
if (type === 'activity') { // 全部
义工
if (type === 'activity') { // 全部
用户
this.activated = 1;
} else { // 待陪伴
this.activated = 2;
...
...
Please
register
or
login
to post a comment