<!--packageD/auction/auctioneer-publish/publish_first/publish_first.wxml-->
<view class="content">
	<view class="item">
		<view class="title">拍品标题</view>
		<view class="input">
			<input type="text" placeholder="请输入拍品标题" bindinput="title" value="{{form.title}}"></input>
		</view>
	</view>
	<view class="item">
		<view class="title">拍品单位</view>
		<view class="input">
			<input type="text" placeholder="请输入拍品单位(如: 个/件/包)" bindinput="sku" value="{{form.sku}}"></input>
		</view>
	</view>
  <view class="item">
		<view class="title">拍品库存</view>
		<view class="input">
			<input type="text" placeholder="请输入拍品库存" bindinput="stock" value="{{form.stock}}"></input>
		</view>
	</view>
	<view class="items">
		<view class="title">拍品分类</view>
		<view class="fenlei" catchtap="xuanzefenl" wx:if="{{selectedOptions3.length <= 0}}">选择拍品分类</view>
		<view class="is_fenlei" catchtap="xuanzefenl" wx:else>
			{{sectionOptions[pickerValue[0]].label}}/{{sectionOptions[pickerValue[0]].children[pickerValue[1]].label}}/{{sectionOptions[pickerValue[0]].children[pickerValue[1]].childrens[pickerValue[0]].label}}
		</view>
	</view>
	<view class="items" style="border-bottom:none">
		<view class="title">拍品图片</view>
		<view style="display: flex;flex-wrap: wrap;">
			<view class="image_thumb" wx:if="{{form.thumb}}">
				<image src="{{form.thumb}}"></image>
				<view class="postabax">
					<van-icon name='close' color="red" catchtap="delIntu" id="0" catchtap="delThumb"></van-icon>
				</view>
			</view>
			<view class="image_one" catchtap="upLoad_1">
				<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/up_icon.png"></image>
			</view>
		</view>
	</view>
	<view class="items" style="border-bottom:none">
		<view class="title">其他图片</view>
		<view style="display: flex;flex-wrap: wrap;">
			<view class="image_thumb" wx:for='{{form.thumb_url}}' wx:key="index">
				<image src="{{item}}"></image>
				<view class="postabax">
					<van-icon name='close' color="red" catchtap="delIntu" id="{{index}}" catchtap="delthumb_url"></van-icon>
				</view>
			</view>
			<view class="image_one" catchtap="upLoad_2">
				<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/up_icon.png"></image>
			</view>
		</view>

	</view>
	<view class="items" style="border-bottom:none">
		<view class="title">拍品描述</view>
		<textarea placeholder="拍品描述" bindinput='remarkinp' value="{{form.describe}}" wx:if="{{!checkXy_show}}"></textarea>
	</view>
	<view class="items" style="border-bottom:none">
		<view class="title">拍品详情</view>
		<view style="display: flex;flex-wrap: wrap;">
			<view class="image_thumb" wx:if='{{form.content.length > 0}}'>
				<image src="{{form.content}}"></image>
				<view class="postabax">
					<van-icon name='close' color="red" catchtap="delIntu" id="{{index}}" catchtap="delcontent"></van-icon>
				</view>
			</view>
			<view class="image_one" catchtap="upLoad_3">
				<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/up_icon.png"></image>
			</view>
		</view>
	</view>
	<view class="items">
		<view class="title">拍品属性</view>
		<view style="display:flex;flex-wrap:wrap">
			<view class="shuxingAdd" wx:for="{{paramArr}}" wx:key="index">
				{{item.attrvalue}}:{{item.attrname}}
				<van-icon name="cross" style="margin-top: 10rpx;margin-right: 10rpx;" catchtap="delShuxing" data-ind="{{index}}"></van-icon>
			</view>
			<view class="shuxing" catchtap="tapSx">
				<van-icon name="plus" style="margin-top: 10rpx;margin-right: 10rpx;"></van-icon>
				添加属性
			</view>
		</view>
	</view>
</view>
<view class="bottom_btn">
	<view class="btn_left">
		<van-checkbox value="{{checkXy}}" checked-color="#f15353" shape="square" bind:change="Chooseinp"></van-checkbox>
		<text catchtap="onClicks">《竞拍服务协议》</text>
	</view>
	<view class="btn_right" catchtap="nextbox">下一步</view>
</view>





<!-- 申请协议 -->
<van-popup show="{{checkXy_show}}" custom-style="width:100%;height:100%;overflow:auto;" position="right" bind:close="onClose">
	<van-nav-bar title="竞拍服务协议" left-text="" right-text="" left-arrow bind:click-left="onClicksQ" />
	<view class="vip_main">
		<!-- <view class="title">申请协议：</view> -->
		<view class="vip">
			<view class="text">
				<view class="t1">
					<rich-text nodes="{{protocol}}"></rich-text>
				</view>
			</view>
		</view>
	</view>
</van-popup>

<!-- 属性弹窗 -->
<van-popup show='{{showphone}}' bind:click-overlay="isCoverLayer" class='two'>
	<view class="pop" style="width:500rpx">
		<view class="top">
			<input class="input" placeholder="属性名" type="text" bindinput="attrname" value="{{param_title}}"></input>
			<input class="input" placeholder="属性值" type="text" bindinput="attrvalue" value="{{param_value}}"></input>
		</view>
		<view class="bottom">
			<view style="border-right: #e2e2e2;text-align:center;" catchtap="calshow">取消</view>
			<view style="color: #ef3e3e;text-align:center;" catchtap="pushAttr">确定</view>
		</view>
	</view>
</van-popup>
<view class="dateBe {{addressShow}}">
	<view class="head">
		<view class="ll" bindtap="_closeDateLw">取消</view>
		<view class="rr" bindtap="resultAdd">确定</view>
	</view>
	<view class="main">
		<picker-view indicator-style="height: 50px;" style="width: 100%; height: 300px;" value="{{[pickerValue[0],pickerValue[1],pickerValue[2]]}}" bindchange="bindChange">
			<picker-view-column>
				<view wx:for="{{sectionOptions}}" wx:key="index" style="line-height: 50px">{{item.label}}</view>
			</picker-view-column>
			<picker-view-column>
				<view wx:for="{{sectionOptions[one].children}}" wx:key="index" style="line-height: 50px">{{item.label}}</view>
			</picker-view-column>
			<picker-view-column>
				<view wx:for="{{sectionOptions[one].children[two].childrens}}" wx:key="index" style="line-height: 50px">{{item.label}}</view>
			</picker-view-column>
		</picker-view>
	</view>

</view>