Commit fb4cb7f88b2bbd2893b5071b57fb7ef1f177151f
1 parent
46854137
分类修改
Showing
1 changed file
with
5 additions
and
6 deletions
pages/goods/categoryList/categoryList.wxml
| ... | ... | @@ -189,8 +189,7 @@ | 
| 189 | 189 | <view class="{{ittms.items.is_show_class == true?'is_show_class':''}}"> | 
| 190 | 190 | <!-- 添加左边红色条 --> | 
| 191 | 191 | <!-- <view style="{{ittms.items.is_show_class == true?'position: absolute;height: 52rpx;width: 6rpx;background-color: red;left: 0; margin-top: 24rpx;':''}}"></view> --> | 
| 192 | - <view bindtap="click_classify" data-arr="{{ittms.array}}" data-cid="{{ittms.items.id}}" data-pid="0" class="{{select_classify_on==index?'select_classify width80':''}} fs30 t-c {{select_classify_on==index&&ittms.items.name.length==2?'':''}} {{select_classify_on==index&&ittms.items.name.length==3?'':''}}"data-index="{{index}}"data-name="{{ittms.items.mobile_name}}"> | |
| 193 | - | |
| 192 | + <view bindtap="click_classify" data-arr="{{ittms.array}}" data-cid="{{ittms.items.id}}" data-pid="0" class="{{select_classify_on==index?'select_classify width80':''}} fs30 t-c {{select_classify_on==index&&ittms.items.name.length==2?'':''}} {{select_classify_on==index&&ittms.items.name.length==3?'':''}}" data-index="{{index}}" data-name="{{ittms.items.mobile_name}}"> | |
| 194 | 193 | <view class="tab-bar-item sort-name ellipsis-1">{{ittms.items.name}}</view> | 
| 195 | 194 | </view> | 
| 196 | 195 | </view> | 
| ... | ... | @@ -274,9 +273,9 @@ | 
| 274 | 273 | </block> | 
| 275 | 274 | |
| 276 | 275 | <!-- 品类--> | 
| 277 | - <block wx:if="{{is_show_pl&&select_classify_on == 0}}"> | |
| 278 | - <!-- <block wx:if="{{select_classify_on!=221&&select_classify_on!=220&&select_classify_on!=223&&is_level_three!=1}}"> --> | |
| 279 | - <block wx:if="{{select_classify_on == 0&&is_level_three!=1}}"> | |
| 276 | + <block wx:if="{{is_show_pl&&select_classify_on!=221&&select_classify_on!=220&&select_classify_on!=223}}"> | |
| 277 | + <block wx:if="{{select_classify_on!=221&&select_classify_on!=220&&select_classify_on!=223&&is_level_three!=1}}"> | |
| 278 | + <!-- <block wx:if="{{select_classify_on == 0&&is_level_three!=1}}"> --> | |
| 280 | 279 | <view class="my-container"> | 
| 281 | 280 | <view class="classify_name fs28 flex-space-between ai-center" data-pid="0" data-cid="{{cat_id}}" bindtap='select_more'> | 
| 282 | 281 | <view class="classify_title ellipsis-1">{{classify_name}}</view> | 
| ... | ... | @@ -513,7 +512,7 @@ | 
| 513 | 512 | |
| 514 | 513 | <!-- 品类--> | 
| 515 | 514 | <!-- <block wx:if="{{select_classify_on==0&&is_show_pl}}"> --> | 
| 516 | - <block wx:if="{{is_show_pl}}"> | |
| 515 | + <block wx:if="{{is_show_pl&&select_classify_on!=220&&select_classify_on!=223&&select_classify_on!=221}}"> | |
| 517 | 516 | <!-- <block wx:if="{{select_classify_on!=220&&select_classify_on!=223}}"> --> | 
| 518 | 517 | <block wx:if="{{select_classify_on!=220&&select_classify_on!=223&&select_classify_on!=221}}"> | 
| 519 | 518 | <view style="width:100%;height:100%;position: relative;"> | ... | ... | 
