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,8 +189,7 @@ | ||
189 | <view class="{{ittms.items.is_show_class == true?'is_show_class':''}}"> | 189 | <view class="{{ittms.items.is_show_class == true?'is_show_class':''}}"> |
190 | <!-- 添加左边红色条 --> | 190 | <!-- 添加左边红色条 --> |
191 | <!-- <view style="{{ittms.items.is_show_class == true?'position: absolute;height: 52rpx;width: 6rpx;background-color: red;left: 0; margin-top: 24rpx;':''}}"></view> --> | 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 | <view class="tab-bar-item sort-name ellipsis-1">{{ittms.items.name}}</view> | 193 | <view class="tab-bar-item sort-name ellipsis-1">{{ittms.items.name}}</view> |
195 | </view> | 194 | </view> |
196 | </view> | 195 | </view> |
@@ -274,9 +273,9 @@ | @@ -274,9 +273,9 @@ | ||
274 | </block> | 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 | <view class="my-container"> | 279 | <view class="my-container"> |
281 | <view class="classify_name fs28 flex-space-between ai-center" data-pid="0" data-cid="{{cat_id}}" bindtap='select_more'> | 280 | <view class="classify_name fs28 flex-space-between ai-center" data-pid="0" data-cid="{{cat_id}}" bindtap='select_more'> |
282 | <view class="classify_title ellipsis-1">{{classify_name}}</view> | 281 | <view class="classify_title ellipsis-1">{{classify_name}}</view> |
@@ -513,7 +512,7 @@ | @@ -513,7 +512,7 @@ | ||
513 | 512 | ||
514 | <!-- 品类--> | 513 | <!-- 品类--> |
515 | <!-- <block wx:if="{{select_classify_on==0&&is_show_pl}}"> --> | 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 | <!-- <block wx:if="{{select_classify_on!=220&&select_classify_on!=223}}"> --> | 516 | <!-- <block wx:if="{{select_classify_on!=220&&select_classify_on!=223}}"> --> |
518 | <block wx:if="{{select_classify_on!=220&&select_classify_on!=223&&select_classify_on!=221}}"> | 517 | <block wx:if="{{select_classify_on!=220&&select_classify_on!=223&&select_classify_on!=221}}"> |
519 | <view style="width:100%;height:100%;position: relative;"> | 518 | <view style="width:100%;height:100%;position: relative;"> |