hookehuyr

fix

<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-11-03 15:43:21
* @LastEditTime: 2022-11-03 18:08:41
* @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;
......