1 line
4.1 KiB
Plaintext
1 line
4.1 KiB
Plaintext
![]() |
<view class="pb130 data-v-14edfefc"><view class="p3 data-v-14edfefc"><block wx:for="{{arr}}" wx:for-item="v" wx:for-index="i" wx:key="i"><mg-cell vue-id="{{'431a8536-1-'+i}}" cname="23 mb30 bs20" last="1" class="data-v-14edfefc" bind:__l="__l" vue-slots="{{['bd','ft']}}"><view class="mr30 data-v-14edfefc" slot="bd"><view class="f30 data-v-14edfefc">{{v.name}}<text class="f24 c9 ml20 data-v-14edfefc">{{"(排序:"+v.sort+")"}}<block wx:if="{{v.alias}}"><text class="ml20 data-v-14edfefc">{{"别名:"+v.alias}}</text></block></text></view></view><view class="f-y-c data-v-14edfefc" slot="ft"><switch checked="{{v.display==1}}" color="{{fColor}}" data-event-opts="{{[['change',[['flkg',['$0','$event'],[[['arr','',i]]]]]]]}}" bindchange="__e" class="data-v-14edfefc"></switch><view data-event-opts="{{[['tap',[['sz',['$0'],[[['arr','',i]]]]]]]}}" class="b-df bs10 p-5-20 f26 c3 ml20 data-v-14edfefc" bindtap="__e">设置</view></view></mg-cell></block></view><view class="foot-btnc mt30 data-v-14edfefc"><button class="foot-btn2 data-v-14edfefc" style="{{'background:'+(tColor)+';'}}" loading="{{loading}}" disabled="{{loading}}" hover-class="btnhc" data-event-opts="{{[['tap',[['xjfl',['$event']]]]]}}" bindtap="__e">新增规格</button></view><mg-as vue-id="431a8536-2" list="{{list}}" value="{{show}}" data-event-opts="{{[['^con',[['asdj']]],['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:con="__e" bind:input="__e" class="data-v-14edfefc" bind:__l="__l"></mg-as><mg-modal bind:input="__e" vue-id="431a8536-3" vs="{{true}}" ismr="{{true}}" width="650rpx" z-index="{{3000}}" value="{{showtc}}" data-event-opts="{{[['^input',[['__set_model',['','showtc','$event',[]]]]]]}}" class="data-v-14edfefc" bind:__l="__l" vue-slots="{{['default']}}"><view class="bs10 bf p-r data-v-14edfefc"><text data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="ggx p-a iconfont iconcuo f50 c9 data-v-14edfefc" bindtap="__e"></text><view class="p20 ggh f-c f32 data-v-14edfefc"><view class="t-o-e t-c data-v-14edfefc" style="width:80%;">{{(isxz?'新增':'保存')+"规格"}}</view></view><view class="ggb data-v-14edfefc"><mg-input bind:input="__e" vue-id="{{('431a8536-4')+','+('431a8536-3')}}" 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-14edfefc" bind:__l="__l"></mg-input><mg-input bind:input="__e" vue-id="{{('431a8536-5')+','+('431a8536-3')}}" 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-14edfefc" bind:__l="__l"></mg-input></view><button class="foot-btn3 w33 data-v-14edfefc" style="{{'margin:30rpx auto;'+('background:'+(tColor)+';')}}" disabled="{{loading}}" loading="{{loading}}" hover-class="btnhc" data-event-opts="{{[['tap',[['save',['$event']]]]]}}" bindtap="__e">确定</button></view></mg-modal><mg-modal bind:input="__e" vue-id="431a8536-6" vs="{{true}}" ismr="{{true}}" width="600rpx" z-index="{{999}}" value="{{showtc2}}" data-event-opts="{{[['^input',[['__set_model',['','showtc2','$event',[]]]]]]}}" class="data-v-14edfefc" bind:__l="__l" vue-slots="{{['default']}}"><view class="bs10 bf p-r data-v-14edfefc"><text data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="ggx p-a iconfont iconcuo f50 c9 data-v-14edfefc" bindtap="__e"></text><view class="p20 ggh f-c f32 data-v-14edfefc"><view class="t-o-e t-c data-v-14edfefc" style="width:80%;">新增规格值</view></view><mg-input bind:input="__e" vue-id="{{('431a8536-7')+','+('431a8536-6')}}" cname="p23" t="number" isr="1" ht="规格值" htc="f30" pr="请输入" icn="f30" value="{{xzsxz}}" data-event-opts="{{[['^input',[['__set_model',['','xzsxz','$event',[]]]]]]}}" class="data-v-14edfefc" bind:__l="__l"></mg-input><button class="foot-btn3 w33 data-v-14edfefc" style="{{'margin:30rpx auto;'+('background:'+(tColor)+';')}}" disabled="{{loading2}}" loading="{{loading2}}"
|