canyin-project/ybcy/miniApp/yb_shd/my/storeset/spgl/dybqsz.wxml
2024-11-01 16:07:54 +08:00

1 line
3.3 KiB
Plaintext

<view class="pb130 data-v-d337926a"><mg-cell vue-id="3edd5ea1-1" cname="bt" ht="打印标签" htc="c3 wei f30" class="data-v-d337926a" bind:__l="__l"></mg-cell><mg-cell vue-id="3edd5ea1-2" isr="1" class="data-v-d337926a" bind:__l="__l" vue-slots="{{['bd']}}"><view class="f-y-c f30 c0 data-v-d337926a" slot="bd"><view class="f-1 data-v-d337926a">ID</view><view class="f-1 data-v-d337926a">排序</view><view class="f-1 data-v-d337926a" style="flex-grow:2;">名称</view><view class="f-1 t-r data-v-d337926a">状态</view><view class="f-1 t-r data-v-d337926a">操作</view></view></mg-cell><block wx:for="{{arr}}" wx:for-item="v" wx:for-index="i" wx:key="i"><mg-cell vue-id="{{'3edd5ea1-3-'+i}}" isr="1" last="{{i==arr.length-1}}" class="data-v-d337926a" bind:__l="__l" vue-slots="{{['bd']}}"><view class="f-y-c f30 c0 data-v-d337926a" slot="bd"><view class="f-1 wbba data-v-d337926a">{{v.id}}</view><view class="f-1 wbba data-v-d337926a">{{v.sort}}</view><view class="f-1 data-v-d337926a" style="flex-grow:2;">{{v.name}}</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-d337926a"></switch><text data-event-opts="{{[['tap',[['sc',['$0'],[[['arr','',i,'id']]]]]]]}}" class="iconfont iconsc ml20 f40 data-v-d337926a" bindtap="__e"></text><text data-event-opts="{{[['tap',[['bj',['$0'],[[['arr','',i,'id']]]]]]]}}" class="iconfont iconbj ml20 f40 data-v-d337926a" bindtap="__e"></text></view></mg-cell></block><view class="foot-btnc data-v-d337926a"><button data-event-opts="{{[['tap',[['tjdw',['$event']]]]]}}" class="foot-btn data-v-d337926a" style="{{'background:'+(fColor)+';'}}" bindtap="__e">+添加标签</button></view><mg-modal bind:input="__e" vue-id="3edd5ea1-4" vs="{{true}}" ismr="{{true}}" width="650rpx" z-index="{{3000}}" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" class="data-v-d337926a" bind:__l="__l" vue-slots="{{['default']}}"><view class="bs10 bf p-r data-v-d337926a"><text data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="ggx p-a iconfont iconcuo f50 c9 data-v-d337926a" bindtap="__e"></text><view class="p20 ggh f-c f32 data-v-d337926a"><view class="t-o-e t-c data-v-d337926a" style="width:80%;">{{(isxz?'新增':'保存')+"标签"}}</view></view><view class="ggb data-v-d337926a"><mg-input bind:input="__e" vue-id="{{('3edd5ea1-5')+','+('3edd5ea1-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-d337926a" bind:__l="__l"></mg-input><mg-input bind:input="__e" vue-id="{{('3edd5ea1-6')+','+('3edd5ea1-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-d337926a" bind:__l="__l"></mg-input></view><button class="foot-btn3 w33 data-v-d337926a" 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></view>