<!--pages/append/append.wxml--> <!-- title --> <view class="title"> <!-- 标题 --> <view style="float: left; font-weight: 700; font-size: 45rpx; margin-top: 10rpx;">发布商品</view> <!-- 存草稿--缓存 --> <!-- <view style="float: left; margin-left: 300rpx; margin-top: 20rpx;">存草稿</view> --> <!-- 发布 --> <view style="float: right;" bind:tap="upData"> <van-button round type="info">发布</van-button> </view> <van-toast id="van-toast"/> </view> <!-- 商品描述模块 --> <view class="discribe"> <view> <textarea placeholder="标题" style="width: 690rpx; height: 100rpx;" bindinput="titleInput"/> </view> <view class="textLine"> <!-- <input type="text" placeholder="描述一下商品..."/> --> <textarea placeholder="描述一下商品..." style="width: 690rpx;" bindinput="describeInput"/> </view> <!-- 选择图片 --> <view class="upLoad"> <!-- <van-image fit="cover" width="100" height="100" src="{{goodsURL}}" bindtap="chooseImage" style="float: left;"/> --> <van-uploader file-list="{{ fileImg }}" bind:after-read="afterRead" max-count="3" deletable="{{true}}"/> </view> </view> <!-- 商品导航栏 --> <view class="navigation"> <view class="nav nav_price"> <text style="float: left; font-weight: 600;">价格</text> <view style="float: left; margin-left: 540rpx; margin-top: -50rpx; position: relative;"> <input type="number" placeholder="¥0.00" bindinput="numInput"/> </view> </view> <view class="nav"> <text style="float: left; font-weight: 600; margin-top: 8rpx;">交易地点</text> <view style="float: left; margin-left: 310rpx; margin-top: -50rpx; margin-right: -70rpx; position: relative;"> <input type="text" maxlength="20" bindinput="adressInput"/> </view> </view> <view class="nav"> <text style="float: left; font-weight: 600; margin-top: 8rpx;">分类选择</text> <van-icon name="arrow" style="float: right; margin-top: 20rpx;" bind:tap="popChange"/> <van-popup show="{{ popShow }}" position="bottom" custom-style="height: 50%;overflow:hidden"> <van-picker value-key="{{valueKeyName}}" id="picker" show-toolbar title="{{label}}" columns="{{ columns }}" bind:cancel="onCancel" bind:confirm="onConfirm" /> </van-popup> <view style="float: right; margin-top: 10rpx; margin-right: 10rpx;">{{valueKeyName}}</view> </view> </view>