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