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

1 line
13 KiB
Plaintext

<view class="f30 data-v-07da07cb"><nav-tab vue-id="31b7f7d3-1" cname="fixedtop" ifsize="30" color="#FDC547" xhxjb="linear-gradient(to right, #FBDE41, #FDC547)" tabs="{{tabs}}" value="{{aIdx}}" data-event-opts="{{[['^changeTab',[['changeTab']]],['^input',[['__set_model',['','aIdx','$event',[]]]]]]}}" bind:changeTab="__e" bind:input="__e" class="data-v-07da07cb" bind:__l="__l"></nav-tab><view class="sxmain data-v-07da07cb"><view hidden="{{!(aIdx==0)}}" class="data-v-07da07cb"><view class="xxtx f-y-c p13 cd00 cf7c data-v-07da07cb"><text class="iconfont iconxxtx cf7c mr20 f36 data-v-07da07cb"></text><text class="flex-1 f26 data-v-07da07cb">请仔细核对标题/规格等是否与价格对应,避免造成损失,如有错误请修改</text></view><mg-cell vue-id="31b7f7d3-2" cname="bt" ht="通用信息" htc="c3 f30 wei" class="data-v-07da07cb" bind:__l="__l"></mg-cell><view class="bf data-v-07da07cb"><mg-input bind:input="__e" vue-id="31b7f7d3-3" cname="p23" t="number" isr="1" ht="排序" htc="f30" pr="请输入排序" icn="f30 c3 t-r" value="{{params.sort}}" data-event-opts="{{[['^input',[['__set_model',['$0','sort','$event',[]],['params']]]]]}}" class="data-v-07da07cb" bind:__l="__l"></mg-input><mg-input vue-id="31b7f7d3-4" value="{{params.mslx}}" isr="1" ht="商品分类" htc="f30" pr="请选择" icn="f30 c3 t-r" dis="1" arrow="1" ftc="c3" data-event-opts="{{[['^tab',[['toggleTab',['mslx']]]]]}}" bind:tab="__e" class="data-v-07da07cb" bind:__l="__l"></mg-input><mg-input bind:input="__e" vue-id="31b7f7d3-5" isr="1" ht="商品名称" htc="f30" pr="请输入商品名称" icn="f30 c3 t-r" value="{{params.name}}" data-event-opts="{{[['^input',[['__set_model',['$0','name','$event',[]],['params']]]]]}}" class="data-v-07da07cb" bind:__l="__l"></mg-input><mg-ta bind:input="__e" vue-id="31b7f7d3-6" title="商品简介" th="100" max="50" value="{{params.body}}" data-event-opts="{{[['^input',[['__set_model',['$0','body','$event',[]],['params']]]]]}}" class="data-v-07da07cb" bind:__l="__l"></mg-ta><mg-cell vue-id="31b7f7d3-7" cname="p332" isr="1" class="data-v-07da07cb" bind:__l="__l" vue-slots="{{['default','bd']}}"><view slot="bd" class="data-v-07da07cb"><view class="c3 f30 data-v-07da07cb">商品主图</view><mg-photo vue-id="{{('31b7f7d3-8')+','+('31b7f7d3-7')}}" w="{{uploadArr[0].w}}" max="{{uploadArr[0].max}}" mark="{{uploadArr[0].mark}}" pkey="{{uploadArr[0].pkey}}" file-list="{{uploadArr[0].fileList}}" data-event-opts="{{[['^changeImg',[['changeImg']]]]}}" bind:changeImg="__e" class="data-v-07da07cb" bind:__l="__l"></mg-photo></view>></mg-cell><mg-cell vue-id="31b7f7d3-9" cname="p332" isr="1" class="data-v-07da07cb" bind:__l="__l" vue-slots="{{['bd']}}"><view slot="bd" class="data-v-07da07cb"><view class="c3 f30 data-v-07da07cb">商品图片</view><mg-photo vue-id="{{('31b7f7d3-10')+','+('31b7f7d3-9')}}" w="{{uploadArr[1].w}}" max="{{uploadArr[1].max}}" mark="{{uploadArr[1].mark}}" pkey="{{uploadArr[1].pkey}}" file-list="{{uploadArr[1].fileList}}" data-event-opts="{{[['^changeImg',[['changeImg']]]]}}" bind:changeImg="__e" class="data-v-07da07cb" bind:__l="__l"></mg-photo></view></mg-cell><mg-cell vue-id="31b7f7d3-11" hw="230" ht="最小购买量" htc="f30" isr="1" class="data-v-07da07cb" bind:__l="__l" vue-slots="{{['ft']}}"><number-box vue-id="{{('31b7f7d3-12')+','+('31b7f7d3-11')}}" slot="ft" min="{{1}}" value="{{params.minNum}}" max="{{120}}" data-event-opts="{{[['^change',[['bindChange',['$event','minNum']]]]]}}" bind:change="__e" class="data-v-07da07cb" bind:__l="__l"></number-box></mg-cell><mg-input vue-id="31b7f7d3-13" value="{{params.unit}}" isr="1" ht="商品单位" hw="200" htc="f30" pr="请选择" icn="f30 c3 t-r" dis="1" arrow="1" ftc="c3" data-event-opts="{{[['^tab',[['toggleTab',['spdw']]]]]}}" bind:tab="__e" class="data-v-07da07cb" bind:__l="__l"></mg-input></view><mg-cell vue-id="31b7f7d3-14" cname="bt" ht="规格信息" htc="c3 f30 wei" class="data-v-07da07cb" bind:__l="__l"></mg-cell><view class="bf data-v-07da07cb"><view class="hlb data-v-07da07cb"><view class="f-row p30 f28 data-v-07da07cb"><view class="f-1 f-c-c hlr data-v-07da07cb"><view class="data-v-07da07cb">价格<text class="cf7c f22 data-v-07da07cb">(元)</text></view><input class="mt10 t-c data-v-07da07cb" type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['$0','price','$event',[]],['params']]]]]}}" value="{{params.price}}" bindinput="__e"/></view><view class="f-1 f-c-c hlr data-v-07da07cb"><view class="data-v-07da07cb">包装费<text class="cf7c f22 data-v-07da07cb">(元)</text></view><input class="mt10 t-c data-v-07da07cb" type="digit" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['$0','boxMoney','$event',[]],['params']]]]]}}" value="{{params.boxMoney}}" bindinput="__e"/></view><view class="f-1 f-c-c data-v-07da07cb"><view class="data-v-07da07cb">库存<text class="cf7c f22 data-v-07da07cb">(件)</text></view><input class="mt10 t-c data-v-07da07cb" type="number" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['$0','stock','$event',[]],['params']]]]]}}" value="{{params.stock}}" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="f-1 f-c-c data-v-07da07cb" bindtap="__e"><view class="data-v-07da07cb">次日置满</view><text class="{{['iconfont mt20 data-v-07da07cb',params.fillType==1?'icondx':'icondxk']}}" style="{{'color:'+(params.fillType==1?fColor:'')+';'}}"></text></view></view></view><mg-cell vue-id="31b7f7d3-15" ht="售卖规格" htc="f30" isr="1" class="data-v-07da07cb" bind:__l="__l" vue-slots="{{['bd','ft']}}"><view hidden="{{!(params.spec.length)}}" class="f26 data-v-07da07cb" slot="bd">{{params.spec.length+"个规格"}}</view><view class="f-y-c cf7c data-v-07da07cb" slot="ft" data-event-opts="{{[['tap',[['go',[['o',['url','fbsp-gg?arr='+$root.g0]]]]]]]}}" bindtap="__e"><text class="iconfont iconbj mr10 cf7c f40 data-v-07da07cb"></text><text class="data-v-07da07cb">编辑</text></view></mg-cell><mg-cell vue-id="31b7f7d3-16" ht="售卖属性" htc="f30" isr="1" class="data-v-07da07cb" bind:__l="__l" vue-slots="{{['bd','ft']}}"><view hidden="{{!(params.attribute.length)}}" class="f26 data-v-07da07cb" slot="bd">{{params.attribute.length+'个属性'}}</view><view class="f-y-c cf7c data-v-07da07cb" slot="ft" data-event-opts="{{[['tap',[['go',[['o',['url','fbsp-sx?arr='+$root.g1]]]]]]]}}" bindtap="__e"><text class="iconfont iconbj mr10 cf7c f40 data-v-07da07cb"></text><text class="data-v-07da07cb">编辑</text></view></mg-cell><mg-cell vue-id="31b7f7d3-17" ht="售卖加料" htc="f30" isr="1" class="data-v-07da07cb" bind:__l="__l" vue-slots="{{['bd','ft']}}"><view hidden="{{!(params.feeding.length)}}" class="f26 data-v-07da07cb" slot="bd">{{params.feeding.length+"个加料"}}</view><view class="f-y-c cf7c data-v-07da07cb" slot="ft" data-event-opts="{{[['tap',[['go',[['o',['url','fbsp-jl?arr='+$root.g2]]]]]]]}}" bindtap="__e"><text class="iconfont iconbj mr10 cf7c f40 data-v-07da07cb"></text><text class="data-v-07da07cb">编辑</text></view></mg-cell></view><mg-cell vue-id="31b7f7d3-18" cname="bt" ht="其他信息" htc="c3 f30 wei" class="data-v-07da07cb" bind:__l="__l"></mg-cell><mg-cell vue-id="31b7f7d3-19" cname="p03" ht="售卖时间" htc="f30" isr="1" class="data-v-07da07cb" bind:__l="__l" vue-slots="{{['bd']}}"><view slot="bd" class="data-v-07da07cb"><mg-radio bind:input="__e" vue-id="{{('31b7f7d3-20')+','+('31b7f7d3-19')}}" rcname="f-x-e" arr="{{smsjArr}}" value="{{params.salesType}}" data-event-opts="{{[['^input',[['__set_model',['$0','salesType','$event',[]],['params']]]]]}}" class="data-v-07da07cb" bind:__l="__l"></mg-radio></view></mg-cell><view hidden="{{!(params.salesType==2)}}" class="p03 bf data-v-07da07cb"><mg-cell vue-id="31b7f7d3-21" isr="1" ht="选择时间段" class="data-v-07da07cb" bind:__l="__l" vue-slots="{{['bd']}}"><view class="f-y-c data-v-07da07cb" slot="bd"><view data-event-opts="{{[['tap',[['toggleTab',['timeStart']]]]]}}" class="f-1 t-c data-v-07da07cb" bindtap="__e">{{params.validity[0]||'开始日期'}}</view><view class="data-v-07da07cb">至</view><view data-event-opts="{{[['tap',[['toggleTab',['timeEnd']]]]]}}" class="f-1 t-c data-v-07da07cb" bindtap="__e">{{params.validity[1]||'结束日期'}}</view></view></mg-cell><mg-cell vue-id="31b7f7d3-22" cname="p03" ht=" " htc="f30" isr="1" class="data-v-07da07cb" bind:__l="__l" vue-slots="{{['bd']}}"><view slot="bd" class="data-v-07da07cb"><mg-checkbox bind:input="__e" vue-id="{{('31b7f7d3-23')+','+('31b7f7d3-22')}}" rcname="f-x-e" arr="{{weekArr}}" value="{{params.weekDay}}" data-event-opts="{{[['^input',[['__set_model',['$0','weekDay','$event',[]],['params']]]]]}}" class="data-v-07da07cb" bind:__l="__l"></mg-checkbox></view></mg-cell><mg-cell vue-id="31b7f7d3-24" cname="p03" ht="售卖时间段" htc="f30" isr="1" class="data-v-07da07cb" bind:__l="__l" vue-slots="{{['bd']}}"><view slot="bd" class="data-v-07da07cb"><mg-radio bind:input="__e" vue-id="{{('31b7f7d3-25')+','+('31b7f7d3-24')}}" rcname="f-x-e" arr="{{smsjArr2}}" value="{{params.weekSalesType}}" data-event-opts="{{[['^input',[['__set_model',['$0','weekSalesType','$event',[]],['params']]]]]}}" class="data-v-07da07cb" bind:__l="__l"></mg-radio></view></mg-cell><view hidden="{{!(params.weekSalesType==2)}}" class="data-v-07da07cb"><block wx:for="{{params.salesTimeStr}}" wx:for-item="v" wx:for-index="i" wx:key="i"><block class="data-v-07da07cb"><mg-cell vue-id="{{'31b7f7d3-26-'+i}}" isr="1" class="data-v-07da07cb" bind:__l="__l" vue-slots="{{['bd','ft']}}"><view class="f-y-c data-v-07da07cb" slot="bd"><view data-event-opts="{{[['tap',[['toggleTab',['time',['o',['v',v],['i',i],['t',1]]]]]]]}}" class="f-1 t-c data-v-07da07cb" bindtap="__e">{{(v.startTime||'起始时间')+''}}</view><view class="data-v-07da07cb">至</view><view data-event-opts="{{[['tap',[['toggleTab',['time',['o',['v',v],['i',i],['t',2]]]]]]]}}" class="f-1 t-c data-v-07da07cb" bindtap="__e">{{(v.endTime||'结束时间')+''}}</view></view><view style="{{'color:'+(fColor)+';'}}" slot="ft" ftc="f24" data-event-opts="{{[['tap',[['scsd',[i]]]]]}}" bindtap="__e" class="data-v-07da07cb">删除</view></mg-cell></block></block><mg-cell data-custom-hidden="{{!(params.salesTimeStr.length<3)}}" vue-id="31b7f7d3-27" isr="1" ft="+添加时段" color="{{fColor}}" data-event-opts="{{[['^tab',[['tjsd']]]]}}" bind:tab="__e" class="data-v-07da07cb" bind:__l="__l"></mg-cell></view></view><mg-input bind:input="__e" vue-id="31b7f7d3-28" formt="2" color="{{fColor}}" isr="1" ht="参与热销排行" hw="220" htc="c3 f30" value="{{params.hotsaleType}}" data-event-opts="{{[['^input',[['__set_model',['$0','hotsaleType','$event',[]],['params']]]]]}}" class="data-v-07da07cb" bind:__l="__l"></mg-input><mg-cell vue-id="31b7f7d3-29" cname="p03" ht="单点时不配送" hw="200" htc="f30" isr="1" class="data-v-07da07cb" bind:__l="__l" vue-slots="{{['bd']}}"><view slot="bd" class="data-v-07da07cb"><mg-radio bind:input="__e" vue-id="{{('31b7f7d3-30')+','+('31b7f7d3-29')}}" rcname="f-x-e" arr="{{ddbpsArr}}" value="{{params.aloneType}}" data-event-opts="{{[['^input',[['__set_model',['$0','aloneType','$event',[]],['params']]]]]}}" class="data-v-07da07cb" bind:__l="__l"></mg-radio></view></mg-cell><mg-editor vue-id="31b7f7d3-31" title="商品详情" dval="{{params.details}}" data-event-opts="{{[['^input',[['getEditor']]]]}}" bind:input="__e" class="data-v-07da07cb" bind:__l="__l"></mg-editor><view class="mt20 bf data-v-07da07cb"><view class="foot-btnc p-r data-v-07da07cb"><button class="foot-btn data-v-07da07cb" style="{{'background:'+(fColor)+';'}}" disabled="{{loading}}" data-event-opts="{{[['tap',[['save',['$event']]]]]}}" bindtap="__e">提交</button></view></view><block wx:if="{{spdwArr.length}}"><w-picker vue-id="31b7f7d3-32" mode="selector" selectList="{{spdwArr}}" data-ref="spdw" data-event-opts="{{[['^confirm',[['onConfirm',['$event','spdw']]]]]}}" bind:confirm="__e" class="data-v-07da07cb vue-ref" bind:__l="__l"></w-picker></block><block wx:if="{{mslxArr.length}}"><w-picker vue-id="31b7f7d3-33" mode="linkage" level="{{2}}" linkList="{{mslxArr}}" data-ref="mslx" data-event-opts="{{[['^confirm',[['onConfirm',['$event','mslx']]]]]}}" bind:confirm="__e" class="data-v-07da07cb vue-ref" bind:__l="__l"></w-picker></block><w-picker vue-id="31b7f7d3-34" mode="date" startYear="2019" defaultVal="{{dateDef1}}" endYear="2100" current="{{false}}" disabledAfter="{{false}}" data-ref="timeStart" data-event-opts="{{[['^confirm',[['onConfirm',['$event','timeStart']]]]]}}" bind:confirm="__e" class="data-v-07da07cb vue-ref" bind:__l="__l"></w-picker><w-picker vue-id="31b7f7d3-35" mode="date" startYear="2019" defaultVal="{{dateDef2}}" endYear="2100" current="{{false}}" disabledAfter="{{false}}" data-ref="timeEnd" data-event-opts="{{[['^confirm',[['onConfirm',['$event','timeEnd']]]]]}}" bind:confirm="__e" class="data-v-07da07cb vue-ref" bind:__l="__l"></w-picker><w-picker vue-id="31b7f7d3-36" mode="time" defaultVal="08:00:00" current="{{false}}" hasSecond="{{false}}" step="1" data-ref="time" data-event-opts="{{[['^confirm',[['onConfirm',['$event','time']]]]]}}" bind:confirm="__e" class="data-v-07da07cb vue-ref" bind:__l="__l"></w-picker></view></view><mg-load data-custom-hidden="{{!(showloading)}}" vue-id="31b7f7d3-37" type="2" class="data-v-07da07cb" bind:__l="__l"></mg-load></view>