| 1 |
- <view class="content"><swiper class="swiper-box" style="{{'height:'+(maxheight)+';'}}" skip-hidden-item-layout="{{true}}" disable-touch="{{true}}" current="{{current}}"><swiper-item><scroll-view style="height:100%;" scroll-y="true"><view class="tip">最多可以添加3张商品图片</view><view class="banner-box"><block wx:for="{{imageList}}" wx:for-item="item" wx:for-index="index" wx:key="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<3}}"><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><view class="box-1"><view class="box-left">商品规格</view><u-radio-group bind:change="__e" bind:input="__e" vue-id="37c8bfac-1" 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-2-'+index)+','+('37c8bfac-1')}}" 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-3" 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',[['save']]]]}}" class="btn" bindtap="__e">提交审核</view></scroll-view></swiper-item></swiper></view>
|