| 1 |
- <view data-event-opts="{{[['tap',[['globalClick',['$event']]]]]}}" class="app-content _div data-v-b1d5b390" bindtap="__e"><view class="list-wrap _div data-v-b1d5b390"><block wx:if="{{!$root.g0}}"><block class="data-v-b1d5b390"><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list _div data-v-b1d5b390"><view class="list-index _div data-v-b1d5b390">{{item.id}}</view><view class="list-det _div data-v-b1d5b390"><view class="app-size-28 app-color-0 _div data-v-b1d5b390">{{item.name||''}}</view><view class="list-operate _div data-v-b1d5b390"><view class="operate-det _div data-v-b1d5b390"><label class="_span data-v-b1d5b390">{{"序号:"+item.inTurn}}</label></view><text data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({item})}}" class="add-price data-v-b1d5b390" catchtap="__e">加价</text><text data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" data-event-params="{{({item})}}" class="add-price data-v-b1d5b390" catchtap="__e">排序</text><text data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" data-event-params="{{({item})}}" class="add-price data-v-b1d5b390" catchtap="__e">条码打印</text><view data-event-opts="{{[['tap',[['editItem',['$0'],[[['list.data','',index]]]]]]]}}" class="operate-icon _div data-v-b1d5b390" bindtap="__e"><view class="{{['iconfont _i data-v-b1d5b390',index==operateIndex?'iconbianji':'iconbianji']}}" style="font-size:38rpx;"></view></view></view></view></view></block><block wx:if="{{operateShow}}"><operate-module vue-id="28fe73a0-1" top="{{operateTop}}" right="{{30}}" btnData="{{btnData}}" data-event-opts="{{[['^clickFn',[['operateList']]]]}}" bind:clickFn="__e" class="data-v-b1d5b390" bind:__l="__l"></operate-module></block></block></block><block wx:else><block class="data-v-b1d5b390"><app-wrapper-empty vue-id="28fe73a0-2" title="暂无数据" is-empty="{{$root.g1}}" class="data-v-b1d5b390" bind:__l="__l"></app-wrapper-empty></block></block></view><view class="app-footer _div data-v-b1d5b390"><button data-event-opts="{{[['tap',[['addCategoryFn',['$event']]]]]}}" class="admin-button-com middle blue data-v-b1d5b390" bindtap="__e">添加分类</button></view><modal-module vue-id="28fe73a0-3" show="{{modifyModal}}" maskClosable="{{false}}" title="{{modifyTitle}}" padding="30upx 30upx" data-event-opts="{{[['^cancel',[['modalCancel']]],['^click',[['replaceModalClick']]]]}}" bind:cancel="__e" bind:click="__e" class="data-v-b1d5b390" bind:__l="__l" vue-slots="{{['content']}}"><view slot="content"><view class="app-modal-input-wrap modify-modal _div data-v-b1d5b390"><view class="inp-list-line _div data-v-b1d5b390"><view class="line-label _div data-v-b1d5b390">名称</view><view class="line-input _div data-v-b1d5b390"><input class="inp-input data-v-b1d5b390" type="text" adjust-position="{{false}}" placeholder="请填写" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['replaceForm']]]]]}}" value="{{replaceForm.name}}" bindinput="__e"/></view></view><view class="inp-list-line _div data-v-b1d5b390"><view class="line-label _div data-v-b1d5b390">顺序</view><view class="line-input _div data-v-b1d5b390"><input class="inp-input data-v-b1d5b390" type="number" adjust-position="{{false}}" placeholder="越大越靠前" data-event-opts="{{[['focus',[['e3',['$event']]]],['input',[['__set_model',['$0','inTurn','$event',[]],['replaceForm']]]]]}}" value="{{replaceForm.inTurn}}" bindfocus="__e" bindinput="__e"/></view></view></view></view></modal-module><modal-module vue-id="28fe73a0-4" show="{{delModal}}" maskClosable="{{false}}" content="确定删除?" color="#333" size="{{32}}" padding="30upx 30upx" data-event-opts="{{[['^cancel',[['modalCancel']]],['^click',[['delModalClick']]]]}}" bind:cancel="__e" bind:click="__e" class="data-v-b1d5b390" bind:__l="__l"></modal-module></view>
|