You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1 lines
2.5 KiB

<view class="page1 data-v-e071899c"><view style="width:100%;position:fixed;top:0;z-index:99;" class="data-v-e071899c"><view style="background:#fff;padding-top:20rpx;display:flex;" class="data-v-e071899c"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" style="width:100%;text-align:center;height:80rpx;margin:20rpx;background:#60F3FF;line-height:80rpx;border-radius:10px;color:#fff;" bindtap="__e" class="data-v-e071899c"> 新增分类 </view></view></view><view style="margin-top:160rpx;" class="data-v-e071899c"><view class="data-v-e071899c"><block wx:for="{{categoryList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="*this"><view data-event-opts="{{[['tap',[['clickList',['$0'],[[['categoryList','',__i0__]]]]]]]}}" class="list-1 data-v-e071899c" style="height:100rpx;line-height:100rpx;display:flex;" bindtap="__e"><view class="name-tel data-v-e071899c" style="width:63%;"><text style="line-height:75rpx;" class="data-v-e071899c">{{item.categoryName}}</text></view><view style="display:flex;width:37%;" class="data-v-e071899c"><view data-event-opts="{{[['tap',[['delCateName',['$0'],[[['categoryList','',__i0__]]]]]]]}}" class="name-edit data-v-e071899c" style="margin-right:20rpx;" catchtap="__e"> 删除 </view><view data-event-opts="{{[['tap',[['editCateName',['$0'],[[['categoryList','',__i0__]]]]]]]}}" class="name-edit data-v-e071899c" catchtap="__e"> 编辑 </view></view></view></block></view></view><uni-popup vue-id="6920ac14-1" background-color="#fff" is-mask-click="{{true}}" data-ref="getaPopup" class="data-v-e071899c vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="type-popup data-v-e071899c" style="margin-bottom:0;border-radius:0;"><view style="height:80rpx;font-size:36rpx;font-weight:bold;line-height:80rpx;text-align:center;" class="data-v-e071899c">{{''+(categoryId!=''?'编辑分类':'新增分类')+''}}</view><view style="color:#333;width:90%;margin:0 auto 20rpx;" class="data-v-e071899c"><uni-easyinput bind:input="__e" vue-id="{{('6920ac14-2')+','+('6920ac14-1')}}" placeholder="请输入分类名" value="{{categoryName}}" data-event-opts="{{[['^input',[['__set_model',['','categoryName','$event',[]]]]]]}}" class="data-v-e071899c" bind:__l="__l"></uni-easyinput></view><view data-event-opts="{{[['tap',[['goAddClass',['$event']]]]]}}" style="width:100%;height:70rpx;line-height:70rpx;text-align:center;border-radius:0;background:linear-gradient(90deg, #60F3FF, #088FEB);color:#fff;" bindtap="__e" class="data-v-e071899c"><view class="data-v-e071899c">确认</view></view></view></uni-popup></view>