<!--pages/form/rightsProtection/rightsProtection.wxml 维权-->
<navBar></navBar>
<van-notify id="van-notify" />
<view class="appeal">
  <view class="headTitle">
    知识产权维权
  </view>
  <scroll-view scroll-y class="form">
    <wux-form
      id="wux-form"
      layout="none"
      validateMessages="{{ validateMessages }}"
      bind:change="onValuesChange"
    >
      <wux-field name="ADIN" initialValue="{{''}}" rules="{{ [{ required: true } ] }}">
        <my-form-item labelWidth="{{labelWidth}}" custom-class="form_label">
          <view slot="label" >
            <van-dropdown-menu custom-class="form_dropdown1">
              <van-dropdown-item value="{{ form.type }}" options="{{ countrys }}" />
            </van-dropdown-menu>
          </view>
          <wux-input  placeholder="请输入投诉方ADIN号" />
        </my-form-item>
      </wux-field>
      <wux-field name="infringementType" initialValue="{{''}}" rules="{{ [{ required: true } ] }}">
        <my-form-item labelWidth="{{labelWidth}}" custom-class="form_label">
          <view slot="label" >
            侵权类型
          </view>
          <van-dropdown-menu custom-class="form_dropdown">
            <van-dropdown-item value="{{ form.infringementType }}" options="{{ typeOptions }}" />
          </van-dropdown-menu>
        </my-form-item>
      </wux-field>
      <wux-field name="infringementClassify" initialValue="{{''}}" rules="{{ [{ required: true } ] }}">
        <my-form-item labelWidth="{{labelWidth}}" custom-class="form_label">
          <view slot="label" >
            侵权分类
          </view>
          <van-dropdown-menu custom-class="form_dropdown">
            <van-dropdown-item value="{{ form.infringementClassify }}" options="{{ typeOptions2 }}" />
          </van-dropdown-menu>
        </my-form-item>
      </wux-field>
      <wux-field name="havePatentNo" initialValue="{{''}}">
        <my-form-item labelWidth="{{labelWidth}}" custom-class="form_label">
          <view slot="label" >
            是否拥有专利号
          </view>
          <van-radio-group value="{{ form.havePatentNo }}" bind:change="onChange2" >
            <view class="form_radio">
              <van-radio name="{{1}}">是</van-radio>
              <van-radio name="{{2}}">否</van-radio>
            </view>
          </van-radio-group>
        </my-form-item>
      </wux-field>
      <wux-field name="patentNo" initialValue="{{''}}" >
        <my-form-item labelWidth="{{labelWidth}}" custom-class="form_label">
          <view slot="label" >
            专利号
          </view>
          <wux-input maxlength="11" placeholder="请输入您的专利号" />
        </my-form-item>
      </wux-field>


      <wux-field name="question" initialValue="{{''}}">
        <view class="label">
          哪一项最能描述您的问题？
        </view>
        <view>
          <van-radio-group value="{{ form.havePatentNo }}" bind:change="onChange2" >
              <van-radio name="{{1}}">商品详细页上使用了未经授权的图片</van-radio>
              <van-radio name="{{2}}">实际商品或其包装包含非盗版的未授权的内容</van-radio>
              <van-radio name="{{3}}">商品详情页面上使用了未经授权的文本</van-radio>
              <van-radio name="{{4}}">商品或其包装为盗版（全盘复制受版权保护的商品）</van-radio>
          </van-radio-group>
        </view>
      </wux-field>
      <wux-field name="url" initialValue="{{''}}" rules="{{ [{ required: true },{type:'url'} ] }}">
        <my-form-item labelWidth="{{labelWidth}}" custom-class="form_label">
          <view slot="label" >
            侵权店铺的链接
          </view>
          <wux-input maxlength="11" placeholder="请输入侵权店铺的链接" />
        </my-form-item>
      </wux-field>

      <wux-field name="phone" initialValue="{{''}}" rules="{{ [{ required: true },{validator:'checkPhone'} ] }}">
        <my-form-item labelWidth="{{labelWidth}}" custom-class="form_label">
          <view slot="label" >
            联系电话
          </view>
          <wux-input maxlength="11" placeholder="请输入手机号" />
        </my-form-item>
      </wux-field>
      <wux-field name="person" initialValue="{{''}}">
        <my-form-item labelWidth="{{labelWidth}}" custom-class="form_label">
          <view slot="label" >
            联系人
          </view>
          <wux-input maxlength="11" placeholder="请输入联系人" />
        </my-form-item>
      </wux-field>
    </wux-form>
    <view class="label">
      请提供更多信息，以便于我们了解您的问题
    </view>
    <view class="value">
      <wux-textarea value="{{ form.value }}" placeholder="请输入版权作品的链接或者注册编号" bind:change="changRemark"/>
    </view>
    <view class="foot" bind:tap="submit">
      提交
    </view>
  </scroll-view>
</view>