| 1 |
- <view class="content"><swiper style="height:100vh;" disable-touch="{{true}}" current="{{current}}"><swiper-item><scroll-view style="height:100vh;" scroll-y="true"><view class="tip">最多可以添加5张商品图片</view><view class="banner-box"><block wx:for="{{imageList}}" wx:for-item="item" wx:for-index="index"><view class="banner"><view class="banner-main"><image src="{{item}}" mode></image></view><image class="cha" src="../../static/img/cha.png" mode data-event-opts="{{[['tap',[['delImg',[index]]]]]}}" catchtap="__e"></image></view></block><block wx:if="{{$root.g0<5}}"><view data-event-opts="{{[['tap',[['navCroper',[400,400,'banner']]]]]}}" class="banner" bindtap="__e"><image src="../../static/img/addP.png" mode></image></view></block></view><view class="main"><view class="box-1"><view class="box-left">商品名称<text class="imp">*</text>:</view><input class="list-input" type="text" placeholder="请填写商品名称" value="{{name}}" data-event-opts="{{[['input',[['__set_model',['','name','$event',[]]]]]]}}" bindinput="__e"/></view><view class="box-1"><view class="box-left">商品编码<text class="imp">*</text>:</view><input class="list-input" type="text" placeholder="请填写商品编码" value="{{bianma}}" data-event-opts="{{[['input',[['__set_model',['','bianma','$event',[]]]]]]}}" bindinput="__e"/></view><classify vue-id="37c8bfac-1" list="{{classify}}" choose="{{chooseClass}}" data-event-opts="{{[['^chooseClasswc',[['chooseClasswc']]]]}}" bind:chooseClasswc="__e" bind:__l="__l"></classify><view class="box-1"><view class="box-left">运费模板</view><picker class="list-input" range="{{yfarray}}" range-key="name" data-event-opts="{{[['change',[['bindYf',['$event']]]]]}}" bindchange="__e"><text>{{yf.name}}</text></picker></view><view class="box-1"><view class="box-left">商品规格</view><u-radio-group bind:change="__e" bind:input="__e" vue-id="37c8bfac-2" value="{{isdanname}}" data-event-opts="{{[['^change',[['radioGroupChange']]],['^input',[['__set_model',['','isdanname','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-radio vue-id="{{('37c8bfac-3-'+index)+','+('37c8bfac-2')}}" name="{{item}}" bind:__l="__l" vue-slots="{{['default']}}">{{''+item+''}}</u-radio></block></u-radio-group></view><block wx:if="{{isdan===1}}"><arrts class="vue-ref" vue-id="37c8bfac-4" value="{{values}}" item="{{item}}" baseURL="{{baseURL}}" data-ref="attr" data-event-opts="{{[['^getarrts',[['getarrts']]]]}}" bind:getarrts="__e" bind:__l="__l"></arrts></block><block wx:if="{{isdan===0}}"><view class="box-1"><view class="box-left">商品规格图片<text class="imp">*</text>:</view><view data-event-opts="{{[['tap',[['navCroper',[400,400,'guige']]]]]}}" class="box-image" bindtap="__e"><block wx:if="{{guige}}"><image src="{{guige}}" mode></image></block><block wx:else><image src="../../static/img/addP.png" mode></image></block></view></view></block><block wx:if="{{isdan===0}}"><view class="box-1"><view class="box-left">商品售价<text class="imp">*</text>:</view><input class="list-input" type="text" placeholder="请填写商品售价" value="{{price}}" data-event-opts="{{[['input',[['__set_model',['','price','$event',[]]]]]]}}" bindinput="__e"/></view></block><block wx:if="{{isdan===0}}"><view class="box-1"><view class="box-left">商品成本价<text class="imp">*</text>:</view><input class="list-input" type="text" placeholder="请填写商品成本价" value="{{o_price}}" data-event-opts="{{[['input',[['__set_model',['','o_price','$event',[]]]]]]}}" bindinput="__e"/></view></block><block wx:if="{{isdan===0}}"><view class="box-1"><view class="box-left">商品原价<text class="imp">*</text>:</view><input class="list-input" type="text" placeholder="请填写商品原价" value="{{y_price}}" data-event-opts="{{[['input',[['__set_model',['','y_price','$event',[]]]]]]}}" bindinput="__e"/></view></block><block wx:if="{{isdan===0}}"><view class="box-1"><view class="box-left">佣金计算值<text class="imp">*</text>:</view><input class="list-input" type="text" placeholder="请填写佣金计算值" value="{{breakprice}}" data-event-opts="{{[['input',[['__set_model',['','breakprice','$event',[]]]]]]}}" bindinput="__e"/></view></block><block wx:if="{{isdan===0}}"><view class="box-1"><view class="box-left">库存<text class="imp">*</text>:</view><input class="list-input" type="text" placeholder="请填写库存" value="{{stock}}" data-event-opts="{{[['input',[['__set_model',['','stock','$event',[]]]]]]}}" bindinput="__e"/></view></block><block wx:if="{{isdan===0}}"><view class="box-1"><view class="box-left">编码<text class="imp">*</text>:</view><input class="list-input" type="text" placeholder="请填写编码" value="{{bian}}" data-event-opts="{{[['input',[['__set_model',['','bian','$event',[]]]]]]}}" bindinput="__e"/></view></block></view><view data-event-opts="{{[['tap',[['next']]]]}}" class="btn" bindtap="__e">下一页</view></scroll-view></swiper-item><swiper-item><scroll-view style="height:100vh;padding-bottom:20rpx;" scroll-y="true"><view class="bjq"><block wx:if="{{isshow==1}}"><jin-edit class="vue-ref" vue-id="37c8bfac-5" placeholder="请输入文章内容" uploadFileUrl="/api/upload/image" header="{{$root.a0}}" showImgSize="{{true}}" html="{{content}}" height="50vh" data-ref="set" data-event-opts="{{[['^editOk',[['editOk']]]]}}" bind:editOk="__e" bind:__l="__l"></jin-edit></block></view><view data-event-opts="{{[['tap',[['before']]]]}}" class="btn1" bindtap="__e">上一页</view><view data-event-opts="{{[['tap',[['save']]]]}}" class="btn" bindtap="__e">提交审核</view></scroll-view></swiper-item></swiper></view>
|