<view><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="flex padding justify-between"><view class="flex align-center"><view class="text-bold text-xl">{{index+1+"."}}</view><view class="margin-left-xs">{{item.classifyName}}</view></view><view class="flex align-center"><view data-event-opts="{{[['tap',[['addtype',[2,'$0'],[[['list','',index]]]]]]]}}" class="btn margin-right-sm" bindtap="__e">修改</view><view data-event-opts="{{[['tap',[['bindupdata',['$0'],[[['list','',index]]]]]]]}}" class="btn" bindtap="__e">删除</view></view></view></block><block wx:if="{{$root.g0==0}}"><empty vue-id="59f255dc-1" content="暂无数据" bind:__l="__l"></empty></block><view data-event-opts="{{[['tap',[['addtype',[1]]]]]}}" class="addguige text-bold" bindtap="__e">添加</view><u-popup bind:input="__e" vue-id="59f255dc-2" mode="center" border-radius="14" width="500rpx" height="400rpx" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view><view class="padding" style="margin-bottom:20rpx;"><view>商品分类</view><view class="flex align-center" style="margin-top:15rpx;"><label style="margin-right:10rpx;">分类名称</label><u-input bind:input="__e" vue-id="{{('59f255dc-3')+','+('59f255dc-2')}}" placeholder="请填写分类名称" clearable="false" value="{{typeName}}" data-event-opts="{{[['^input',[['__set_model',['','typeName','$event',[]]]]]]}}" bind:__l="__l"></u-input></view><view class="flex align-center" style="margin-top:15rpx;"><label style="margin-right:10rpx;">分类排序</label><u-number-box bind:input="__e" vue-id="{{('59f255dc-4')+','+('59f255dc-2')}}" placeholder="请填写分类排序" value="{{sort}}" data-event-opts="{{[['^input',[['__set_model',['','sort','$event',[]]]]]]}}" bind:__l="__l"></u-number-box></view></view><view data-event-opts="{{[['tap',[['bindAdd']]]]}}" class="addguiges" bindtap="__e">确定</view></view></u-popup></view>