<app-layout vue-id="29c4cf4c-1" class="data-v-01ae1b7a" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{list.length>0}}"><view class="dir-left-wrap cat-list data-v-01ae1b7a"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="value"><view class="cross-center dir-left-nowrap cat-item data-v-01ae1b7a" style="{{'color:'+(color)+';'+('background-color:'+(mch_id==0?'#ECF0FF':'#FFECEC')+';')}}"><view class="data-v-01ae1b7a">{{item.label}}</view><view data-event-opts="{{[['tap',[['delCat',[index]]]]]}}" class="close cross-center main-center data-v-01ae1b7a" bindtap="__e"><image src="{{mch_id==0?'./../image/cat-close.png':'./../image/mch-cat-close.png'}}" class="data-v-01ae1b7a"></image></view></view></block></view></block><block wx:if="{{mch_id||mch_id==0}}"><view data-event-opts="{{[['tap',[['add',['$event']]]]]}}" class="add-cat data-v-01ae1b7a" bindtap="__e"><view class="add-cat-btn main-center data-v-01ae1b7a" style="{{'border-color:'+(color)+';'+('color:'+(color)+';')}}"><image src="{{mch_id==0?'./../image/add.png':'./../image/mch-add.png'}}" class="data-v-01ae1b7a"></image><view class="data-v-01ae1b7a">添加分类</view></view></view></block><view class="{{['data-v-01ae1b7a','add main-between',''+(iphone_x?'iphone_x':'')]}}"><block wx:if="{{!(type=='mall'&&mch_id>0)}}"><view data-event-opts="{{[['tap',[['settingCat',['$event']]]]]}}" class="add-btn data-v-01ae1b7a" style="{{'border-color:'+(color)+';'+('color:'+(color)+';')}}" bindtap="__e">分类管理</view></block><view data-event-opts="{{[['tap',[['save',['$event']]]]]}}" class="{{['save-btn','data-v-01ae1b7a',(type=='mall'&&mch_id>0)?'all':'']}}" style="{{'background-color:'+(color)+';'}}" bindtap="__e">保存</view></view><block wx:if="{{dialog}}"><view class="dialog data-v-01ae1b7a"><view class="picker-list data-v-01ae1b7a"><view class="main-between picker-header data-v-01ae1b7a" style="{{'color:'+(color)+';'}}"><view data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" bindtap="__e" class="data-v-01ae1b7a">取消</view><view data-event-opts="{{[['tap',[['toAdd',['$event']]]]]}}" bindtap="__e" class="data-v-01ae1b7a">新增</view></view><picker-view indicator-style="height: 34px;" data-event-opts="{{[['change',[['bindChange',['$event']]]]]}}" bindchange="__e" class="data-v-01ae1b7a"><picker-view-column class="data-v-01ae1b7a"><block wx:for="{{cat}}" wx:for-item="item" wx:for-index="idx" wx:key="value"><view class="picker-view t-omit data-v-01ae1b7a" style="{{'color:'+(index_1==idx?color:index_1==idx+1||index_1==idx-1?'#999999':index_1==idx+2||index_1==idx-2?'#cdcdcd':'')+';'}}">{{''+item.label+''}}</view></block></picker-view-column><picker-view-column class="data-v-01ae1b7a"><block wx:for="{{sec_list}}" wx:for-item="item" wx:for-index="idx" wx:key="value"><view class="picker-view t-omit data-v-01ae1b7a" style="{{'color:'+(index_2==idx?color:index_2==idx+1||index_2==idx-1?'#999999':index_2==idx+2||index_2==idx-2?'#cdcdcd':'')+';'}}">{{''+item.label+''}}</view></block></picker-view-column><picker-view-column class="data-v-01ae1b7a"><block wx:for="{{third_list}}" wx:for-item="item" wx:for-index="idx" wx:key="value"><view class="picker-view t-omit data-v-01ae1b7a" style="{{'color:'+(index_3==idx?color:index_3==idx+1||index_3==idx-1?'#999999':index_3==idx+2||index_3==idx-2?'#cdcdcd':'')+';'}}">{{''+item.label+''}}</view></block></picker-view-column></picker-view></view></view></block></app-layout>