33 lines
1.6 KiB
Plaintext
33 lines
1.6 KiB
Plaintext
<!--packageI/warehouseFarm/warehouseFarmCreate/warehouseFarmCreate.wxml-->
|
|
<view id="warehouse-farm-createGift">
|
|
<view class="nav">
|
|
<view>赠送设置</view>
|
|
<view style="color: #ff464c;" catchtap="openPopup" data-tag="showInstructions" data-set="true">使用说明</view>
|
|
</view>
|
|
|
|
<view class="list-item">
|
|
<image class="good-img" src="{{stock.thumb}}" alt="" />
|
|
<view class="item-right">
|
|
<view class="title">{{ stock.title }}</view>
|
|
<view class="good-info">
|
|
<view class="stock">库存:{{ stock.nums }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="create-box">赠送数量<input type="number" bindinput='bindinput' placeholder="请输入数量,最多{{stock.nums || ''}}{{stock.sku || ''}}" value="{{num}}" />{{ stock.sku }}</view>
|
|
<view class="create-box" style="margin-top:10px;">分享人数<input type="number" bindinput='bindinputSnum' placeholder="请输入人数" value="{{share_num}}" />位</view>
|
|
<view class="share-box set-pc-style">
|
|
<van-button type="primary" disabled="{{!num}}" block color="#ff464c" catchtap="creatGift">创建分享</van-button>
|
|
</view>
|
|
|
|
<van-popup show="{{showInstructions}}" round position="bottom" custom-style="height: 80%" >
|
|
<view class="instructions-box">
|
|
<van-nav-bar title="使用说明" right-text="关闭" bind:click-right="openPopup" data-tag="showInstructions" data-set="{{false}}"/>
|
|
<view class="Instructions-content">
|
|
<mp-html content="{{explain}}" />
|
|
</view>
|
|
</view>
|
|
</van-popup>
|
|
</view>
|