canyin-project/ybcy/miniApp/yb_shd/my/storeset/spgl/spbqsz.wxml

1 line
4.1 KiB
Plaintext
Raw Normal View History

2024-11-01 16:07:54 +08:00
<view class="pb130 data-v-314e2be5"><mg-cell vue-id="61aeddd9-1" cname="bt" ht="商品标签" htc="c3 wei f30" class="data-v-314e2be5" bind:__l="__l"></mg-cell><mg-cell vue-id="61aeddd9-2" isr="1" class="data-v-314e2be5" bind:__l="__l" vue-slots="{{['bd']}}"><view class="f-y-c f30 c0 data-v-314e2be5" slot="bd"><view class="f-1 data-v-314e2be5">ID</view><view class="f-1 data-v-314e2be5">排序</view><view class="f-1 data-v-314e2be5" style="flex-grow:2;">名称</view><view class="f-1 t-r data-v-314e2be5">状态</view><view class="f-1 t-r data-v-314e2be5">操作</view></view></mg-cell><block wx:for="{{arr}}" wx:for-item="v" wx:for-index="i" wx:key="i"><mg-cell vue-id="{{'61aeddd9-3-'+i}}" isr="1" last="{{i==arr.length-1}}" class="data-v-314e2be5" bind:__l="__l" vue-slots="{{['bd']}}"><view class="f-y-c f30 c0 data-v-314e2be5" slot="bd"><view class="f-1 wbba data-v-314e2be5">{{v.id}}</view><view class="f-1 wbba data-v-314e2be5">{{v.sort}}</view><view class="f-1 f-y-c f-w data-v-314e2be5" style="flex-grow:2;"><view class="data-v-314e2be5">{{v.name}}</view><view class="ysk bs10 ml10 data-v-314e2be5" style="{{'background:'+(v.color)+';'}}"></view></view><switch style="transform:scale(0.82);" color="{{fColor}}" checked="{{v.display==1}}" data-event-opts="{{[['change',[['switchChange',['$event','$0'],[[['arr','',i,'id']]]]]]]}}" bindchange="__e" class="data-v-314e2be5"></switch><text data-event-opts="{{[['tap',[['sc',['$0'],[[['arr','',i,'id']]]]]]]}}" class="iconfont iconsc ml20 f40 data-v-314e2be5" bindtap="__e"></text><text data-event-opts="{{[['tap',[['bj',['$0'],[[['arr','',i,'id']]]]]]]}}" class="iconfont iconbj ml20 f40 data-v-314e2be5" bindtap="__e"></text></view></mg-cell></block><view class="foot-btnc data-v-314e2be5"><button data-event-opts="{{[['tap',[['tjdw',['$event']]]]]}}" class="foot-btn data-v-314e2be5" style="{{'background:'+(fColor)+';'}}" bindtap="__e">+添加标签</button></view><mg-modal bind:input="__e" vue-id="61aeddd9-4" vs="{{true}}" ismr="{{true}}" width="650rpx" z-index="{{3000}}" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" class="data-v-314e2be5" bind:__l="__l" vue-slots="{{['default']}}"><view class="bs10 bf p-r data-v-314e2be5"><text data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="ggx p-a iconfont iconcuo f50 c9 data-v-314e2be5" bindtap="__e"></text><view class="p20 ggh f-c f32 data-v-314e2be5"><view class="t-o-e t-c data-v-314e2be5" style="width:80%;">{{(isxz?'新增':'保存')+"标签"}}</view></view><view class="ggb data-v-314e2be5"><mg-input bind:input="__e" vue-id="{{('61aeddd9-5')+','+('61aeddd9-4')}}" cname="p23" t="number" isr="1" ht="排序" htc="f30" pr="请输入排序" icn="f30" value="{{params.sort}}" data-event-opts="{{[['^input',[['__set_model',['$0','sort','$event',[]],['params']]]]]}}" class="data-v-314e2be5" bind:__l="__l"></mg-input><mg-input bind:input="__e" vue-id="{{('61aeddd9-6')+','+('61aeddd9-4')}}" cname="p23" isr="1" ht="标签名称" htc="f30" pr="请输入标签名称" icn="f30" value="{{params.name}}" data-event-opts="{{[['^input',[['__set_model',['$0','name','$event',[]],['params']]]]]}}" class="data-v-314e2be5" bind:__l="__l"></mg-input><mg-cell vue-id="{{('61aeddd9-7')+','+('61aeddd9-4')}}" cname="p23" isr="1" ht="标签颜色" htc="f30" arrow="1" data-event-opts="{{[['^tab',[['open']]]]}}" bind:tab="__e" class="data-v-314e2be5" bind:__l="__l" vue-slots="{{['bd']}}"><view class="f-y-c data-v-314e2be5" slot="bd"><view class="bs10 mr10 data-v-314e2be5" style="{{'width:46rpx;height:46rpx;'+('background:'+(params.color)+';')}}"></view><view class="data-v-314e2be5">{{params.color}}</view></view></mg-cell></view><button class="foot-btn3 w33 data-v-314e2be5" style="{{'margin:30rpx auto;'+('background:'+(fColor)+';')}}" disabled="{{loading}}" loading="{{loading}}" hover-class="btnhc" data-event-opts="{{[['tap',[['save',['$event']]]]]}}" bindtap="__e">确定</button></view></mg-modal><t-color-picker vue-id="61aeddd9-8" color="{{color}}" data-ref="colorPicker" data-event-opts="{{[['^confirm',[['confirm']]]]}}" bin