Commit 203eefa9d5ea53c38141a9d6687858762cd8fccc
1 parent
709f058a
分类页 品牌 字母索引修改
Showing
1 changed file
with
2 additions
and
2 deletions
pages/goods/categoryList/categoryList.wxml
... | ... | @@ -82,9 +82,9 @@ |
82 | 82 | </scroll-view> |
83 | 83 | |
84 | 84 | <view class="nav box box-tb my-nav" catchtouchmove="touchmove" catchtouchend="touchend" > |
85 | - <view bindtap="tabLetter" data-index="{{item}}" wx:for="{{letters}}" | |
85 | + <view bindtap="tabLetter" data-index="{{item.zm}}" wx:for="{{groups}}" | |
86 | 86 | class="flex box box-align-center box-pack-center letter"> |
87 | - <text class="letter-text {{selected == item ? 'letter-actived' : ''}}">{{item}}</text> | |
87 | + <text class="letter-text {{selected == item.zm ? 'letter-actived' : ''}}" wx:if="{{item.zm}}">{{item.zm}}</text> | |
88 | 88 | </view> |
89 | 89 | </view> |
90 | 90 | </swiper-item> | ... | ... |