<view class="app-content _div data-v-870f47cc"><view class="list-wrap _div data-v-870f47cc"><block wx:if="{{!$root.g0}}"><block class="data-v-870f47cc"><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list _div data-v-870f47cc"><view class="list-index _div data-v-870f47cc">{{item.inTurn}}</view><view class="list-img _div data-v-870f47cc"><image src="{{item.img}}" alt="分类图" mode="center" class="_img data-v-870f47cc"></image></view><view class="list-det _div data-v-870f47cc"><view class="app-size-28 app-color-0 _div data-v-870f47cc">{{item.categoryName||'暂无'}}</view><view class="_div data-v-870f47cc">{{item.description||'暂无'}}</view><view class="list-operate _div data-v-870f47cc"><view class="operate-det _div data-v-870f47cc"><label class="_span data-v-870f47cc">{{"商品数: "+item.goodsNum}}</label><label class="_span data-v-870f47cc">{{"销量: "+item.sold}}</label><label style="{{'color:'+(item.status==1?'#049E2C':'#ff6900')+';'}}" class="_span data-v-870f47cc">{{item.status==1?'启用':'禁用'}}</label></view><view data-event-opts="{{[['tap',[['operateFn',['$0',index],[[['list.data','',index]]]]]]]}}" class="operate-icon-wrap _div data-v-870f47cc" bindtap="__e"><view class="operate-icon _div data-v-870f47cc"><view class="{{['iconfont _i data-v-870f47cc',index==operateIndex?'iconcaozuojihuo':'iconcaozuo']}}" style="font-size:38rpx;"></view></view></view></view></view></view></block><block wx:if="{{operateShow}}"><operate-module vue-id="181c8b06-1" top="{{operateTop}}" right="{{30}}" btnData="{{btnData}}" data-event-opts="{{[['^clickFn',[['operateList']]]]}}" bind:clickFn="__e" class="data-v-870f47cc" bind:__l="__l"></operate-module></block></block></block><block wx:else><block class="data-v-870f47cc"><app-wrapper-empty vue-id="181c8b06-2" title="暂无数据" is-empty="{{$root.g1}}" class="data-v-870f47cc" bind:__l="__l"></app-wrapper-empty></block></block></view><view class="app-footer _div data-v-870f47cc"><button data-event-opts="{{[['tap',[['addCategoryFn',['$event']]]]]}}" class="admin-button-com middle blue data-v-870f47cc" bindtap="__e">添加分类</button></view><modal-module vue-id="181c8b06-3" show="{{modifyModal}}" maskClosable="{{false}}" width="92%" title="{{modifyTitle}}" padding="30rpx 30rpx" data-event-opts="{{[['^cancel',[['modalCancel']]],['^click',[['modifyModalClick']]]]}}" bind:cancel="__e" bind:click="__e" class="data-v-870f47cc" bind:__l="__l" vue-slots="{{['content']}}"><view slot="content"><view class="app-modal-input-wrap modify-modal _div data-v-870f47cc"><view class="inp-list-line _div data-v-870f47cc"><view class="line-label _div data-v-870f47cc">分类名称</view><view class="line-input _div data-v-870f47cc"><input class="inp-input data-v-870f47cc" type="text" adjust-position="{{false}}" placeholder="请填写分类名称" data-event-opts="{{[['input',[['__set_model',['$0','categoryName','$event',[]],['modifyForm']]]]]}}" value="{{modifyForm.categoryName}}" bindinput="__e"/></view></view><view class="inp-list-line _div data-v-870f47cc"><view class="line-label _div data-v-870f47cc">图片</view><view class="line-input flex-strat _div data-v-870f47cc"><app-uploader vue-id="{{('181c8b06-4')+','+('181c8b06-3')}}" multiple="{{false}}" imgList="{{modifyForm.img}}" data-ref="appUploader" data-event-opts="{{[['^updateImgList',[['__set_sync',['$0','img','$event'],['modifyForm']]]],['^updateImgList',[['__set_sync',['$0','img','$event'],['modifyForm']]]]]}}" bind:updateImgList="__e" class="data-v-870f47cc vue-ref" bind:__l="__l"></app-uploader></view></view><view class="prompt-text _div data-v-870f47cc">建议尺寸 500X500</view><view class="inp-list-line _div data-v-870f47cc"><view class="line-label _div data-v-870f47cc">排序</view><view class="line-input _div data-v-870f47cc"><input class="inp-input data-v-870f47cc" type="text" adjust-position="{{false}}" placeholder="默认排序最新在前面" data-event-opts="{{[['input',[['__set_model',['$0','inTurn','$event',[]],['modifyForm']]]]]}}" value="{{modifyForm.inTurn}}" bindinput="__e"/></view></view><view class="inp-list-line switch-wrap _div data-v-870f47cc"><view class="line-label _div data-v-870f47cc">启用状态</view><view class="line-input flex-strat _div data-v-870f47cc"><switch checked="{{modifyForm.status=='0'?false:true}}" data-event-opts="{{[['change',[['switchChangeFn',['$event']]]]]}}" bindchange="__e" class="data-v-870f47cc"></switch></view></view></view></view></modal-module><modal-module vue-id="181c8b06-5" show="{{delModal}}" maskClosable="{{false}}" content="确定删除该分类吗？" color="#333" size="{{32}}" padding="30rpx 30rpx" data-event-opts="{{[['^cancel',[['modalCancel']]],['^click',[['delModalClick']]]]}}" bind:cancel="__e" bind:click="__e" class="data-v-870f47cc" bind:__l="__l"></modal-module></view>