| | |
| | | <view class="business-card-list"> |
| | | <!-- 筛选区域 --> |
| | | <view class="filter-section"> |
| | | <view class="filter-item" :class="{ active: sortType === 'latest' }" @tap="changeSort('latest')"> |
| | | <view class="filter-item" :class="{ active: sortType === '' }" @tap="changeSort('latest')"> |
| | | <text>最新</text> |
| | | </view> |
| | | <view class="filter-item" :class="{ active: showIndustryFilter }" @tap="toggleIndustryFilter"> |
| | |
| | | |
| | | // 切换排序 |
| | | changeSort(sortType) { |
| | | if(this.sortType=='latest'){ |
| | | this.sortType = '' |
| | | }else{ |
| | | |
| | | this.sortType = sortType; |
| | | } |
| | | |
| | | this.loadCardList(true); |
| | | }, |
| | | |