功能(小程序):同步用户体验流程到小程序
This commit is contained in:
@@ -25,13 +25,26 @@
|
||||
<scroll-view class="category-scroll" scroll-x enable-flex show-scrollbar="false">
|
||||
<view class="category-list">
|
||||
<view
|
||||
wx:for="{{categories}}"
|
||||
wx:key="*this"
|
||||
class="category-item {{selectedCategory === item ? 'active' : ''}}"
|
||||
data-category="{{item}}"
|
||||
class="category-item {{selectedCategory === '全部' ? 'active' : ''}}"
|
||||
data-category="全部"
|
||||
data-tag-id=""
|
||||
bindtap="handleSelectCategory"
|
||||
>
|
||||
{{item}}
|
||||
全部
|
||||
</view>
|
||||
<view wx:for="{{filterGroups}}" wx:for-item="group" wx:key="groupName" class="filter-group">
|
||||
<view class="filter-group-title">{{group.groupName}}</view>
|
||||
<view
|
||||
wx:for="{{group.tags}}"
|
||||
wx:for-item="tag"
|
||||
wx:key="id"
|
||||
class="category-item {{selectedTagId === tag.idText ? 'active' : ''}}"
|
||||
data-category="{{tag.displayName || tag.tagName}}"
|
||||
data-tag-id="{{tag.idText}}"
|
||||
bindtap="handleSelectCategory"
|
||||
>
|
||||
{{tag.displayName || tag.tagName}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
Reference in New Issue
Block a user