1 line
3.2 KiB
Plaintext
1 line
3.2 KiB
Plaintext
![]() |
<view class="pb130 data-v-6673f6c6"><view class="p23 f-y-c data-v-6673f6c6"><view data-event-opts="{{[['tap',[['tjgg',['$event']]]]]}}" class="ggi f-c jggz cf7c f26 data-v-6673f6c6" style="{{'color:'+(fColor)+';'+('border-color:'+(fColor)+';')}}" bindtap="__e">+添加规格</view><view class="c9 f24 ml20 data-v-6673f6c6">注意:最多只能添加10个规格</view></view><view class="f26 data-v-6673f6c6"><block wx:for="{{spec}}" wx:for-item="v" wx:for-index="i" wx:key="i"><view class="f-raw bf mb30 data-v-6673f6c6"><view class="p3 hlr w70 f-row data-v-6673f6c6"><view class="f-c-c f-1 data-v-6673f6c6"><view class="data-v-6673f6c6">规格名称</view><input class="mt10 t-c data-v-6673f6c6" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['$0','specName','$event',[]],[[['spec','',i]]]]]]]}}" value="{{v.specName}}" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['xggg',[i]]]]]}}" class="f-y-c data-v-6673f6c6" bindtap="__e"><text class="iconfont iconbj f40 data-v-6673f6c6" style="{{'color:'+(fColor)+';'}}"></text></view></view><view data-event-opts="{{[['tap',[['scgg',[i]]]]]}}" class="p30 f-c data-v-6673f6c6" style="{{'width:30%;'+('color:'+(fColor)+';')}}" bindtap="__e"><view class="data-v-6673f6c6">删除</view></view><view class="p30 f-c-c hlr w25 data-v-6673f6c6"><view class="data-v-6673f6c6">价格<text class="cf7c f22 data-v-6673f6c6">(元)</text></view><input class="mt10 t-c data-v-6673f6c6" type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['$0','price','$event',[]],[[['spec','',i]]]]]]]}}" value="{{v.price}}" bindinput="__e"/></view><view class="p30 f-c-c hlr w25 data-v-6673f6c6"><view class="data-v-6673f6c6">包装费<text class="cf7c f22 data-v-6673f6c6">(元)</text></view><input class="mt10 t-c data-v-6673f6c6" type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['$0','boxMoney','$event',[]],[[['spec','',i]]]]]]]}}" value="{{v.boxMoney}}" bindinput="__e"/></view><view class="p30 f-c-c w25 data-v-6673f6c6"><view class="data-v-6673f6c6">库存<text class="cf7c f22 data-v-6673f6c6">(件)</text></view><input class="mt10 t-c data-v-6673f6c6" type="number" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['$0','stock','$event',[]],[[['spec','',i]]]]]]]}}" value="{{v.stock}}" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['changeFillType',['$0'],[[['spec','',i]]]]]]]}}" class="p30 f-c-c data-v-6673f6c6" bindtap="__e"><view class="data-v-6673f6c6">次日置满</view><text class="{{['iconfont mt20 data-v-6673f6c6',v.fillType==1?'icondx':'icondxk']}}" style="{{'color:'+(v.fillType==1?fColor:'')+';'}}"></text></view></view></block></view><view class="foot-btnc data-v-6673f6c6"><button class="foot-btn2 data-v-6673f6c6" style="{{'background:'+(fColor)+';'}}" loading="{{loading}}" disabled="{{loading}}" hover-class="btnhc" data-event-opts="{{[['tap',[['qdgg',['$event']]]]]}}" bindtap="__e">确定</button></view><mg-tcxz vue-id="0e4f5188-1" show="{{show}}" dval="{{radiov}}" arr="{{ggarr}}" color="{{fColor}}" data-event-opts="{{[['^updateShow',[['__set_sync',['$0','show','$event'],['']]]],['^confirm',[['rconfirm']]]]}}" bind:updateShow="__e" bind:confirm="__e" class="data-v-6673f6c6" bind:__l="__l"></mg-tcxz></view>
|