<view class="wrapper">
  <view class="width-690">
    <form bind:submit="onSubmit">
      <view class="photo">
        <label>
          <text>商品主图</text>
          <text>(0/1)</text>
        </label>
        <view class="value">
          <view
            class="van-uploader-wrap">
            <van-uploader
              file-list="{{ form.photo }}"
              multiple="{{false}}"
              max-count="1"
              accept="image"
              data-formkey="photo"
              bind:after-read="afterRead"
              bind:delete="delete"/>
          </view>
        </view>
      </view>
      <view class="swiper-photo">
        <label>
          <text>商品轮播图</text>
          <text>(1/5)</text>
        </label>
        <view class="value">
          <view
            class="van-uploader-wrap">
            <van-uploader
              file-list="{{ form.photo }}"
              multiple="{{false}}"
              max-count="1"
              accept="image"
              data-formkey="photo"
              bind:after-read="afterRead"
              bind:delete="delete"/>
          </view>
        </view>
      </view>
      <view class="swiper-photo">
        <label>
          <text>商品详情图</text>
          <text>(1/5)</text>
        </label>
        <view class="value">
          <view
            class="van-uploader-wrap">
            <van-uploader
              file-list="{{ form.photo }}"
              multiple="{{false}}"
              max-count="1"
              accept="image"
              data-formkey="photo"
              bind:after-read="afterRead"
              bind:delete="delete"/>
          </view>
        </view>
        <view class="tip">请上传尺寸为375*375像素图片</view>
      </view>
      <view class="name">
        <label>
          <text>标题</text>
        </label>
        <view class="value">
          <input
            value=""
            placeholder="输入商品标题"
            placeholder-class="placeholder"></input>
        </view>
      </view>
      <view class="describe">
        <view class="value">
          <textarea
            value=""
            placeholder="请输入商品简介"
            placeholder-class="placeholder"
            maxlength="{{200}}"
            auto-height="{{true}}"></textarea>
        </view>
        <view class="words-limit">0/200</view>
      </view>
      <view class="type">
        <label>
          <text>商品分类</text>
        </label>
        <view class="value placeholder">请选择商品分类</view>
        <image class="arrow" src=""></image>
      </view>
      <view class="name">
        <label>
          <text>商品品牌</text>
        </label>
        <view class="value">
          <input
            value=""
            placeholder="输入商品品牌"
            placeholder-class="placeholder"></input>
        </view>
      </view>
      <view class="name">
        <label>
          <text>商品规格</text>
        </label>
        <view class="value">
          <input
            value=""
            placeholder="输入商品规格"
            placeholder-class="placeholder"></input>
        </view>
      </view>
      <view class="type">
        <label>
          <text>单 位</text>
        </label>
        <view class="value placeholder">请选择商品单位</view>
        <image class="arrow" src=""></image>
      </view>
      <view class="name">
        <label>
          <text>商品货号</text>
        </label>
        <view class="value">
          <input
            value=""
            placeholder="输入商品货号"
            placeholder-class="placeholder"></input>
        </view>
      </view>
      <!-- 编 辑: edit 发 布: send-->
      <button
        class="btn-submit edit"
        type="primary"
        form-type="submit">编 辑
      </button>
    </form>
  </view>
</view>
