Commit 656350035f768d9e6b696dc593ae70c2aa95a632

Authored by 后端研发-苏泰源
1 parent b8cbf558

分类页品牌栏字母索引异常修改

pages/goods/categoryList/categoryList.wxml
@@ -81,7 +81,7 @@ @@ -81,7 +81,7 @@
81 </block> 81 </block>
82 </scroll-view> 82 </scroll-view>
83 83
84 - <view class="nav box box-tb" catchtouchmove="touchmove" catchtouchend="touchend" > 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}}" wx:for="{{letters}}"
86 class="flex box box-align-center box-pack-center letter"> 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 ? 'letter-actived' : ''}}">{{item}}</text>
pages/goods/categoryList/categoryList.wxss
@@ -130,6 +130,10 @@ line-height: 50rpx; @@ -130,6 +130,10 @@ line-height: 50rpx;
130 font-family: Arial, Helvetica, sans-serif; 130 font-family: Arial, Helvetica, sans-serif;
131 z-index: 99999999999; 131 z-index: 99999999999;
132 } 132 }
  133 +.nav.my-nav {
  134 + display: inline;
  135 + overflow: visible;
  136 +}
133 .letter { 137 .letter {
134 width: 35.6rpx; 138 width: 35.6rpx;
135 height: 35.6rpx; 139 height: 35.6rpx;