application.wxml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <!--pages/form/application/application.wxml 申请4-->
  2. <navBar></navBar>
  3. <van-notify id="van-notify" />
  4. <view class="application">
  5. <view class="headTitle">
  6. 我要申请专利
  7. </view>
  8. <scroll-view scroll-y class="form">
  9. <wux-form
  10. id="wux-form"
  11. layout="none"
  12. validateMessages="{{ validateMessages }}"
  13. bind:change="onValuesChange"
  14. >
  15. <wux-field name="applicationType" initialValue="{{''}}" rules="{{ [{ required: true } ] }}">
  16. <my-form-item labelWidth="{{labelWidth}}" required custom-class="form_label">
  17. <view slot="label" >
  18. 申请类型
  19. </view>
  20. <van-dropdown-menu custom-class="form_dropdown">
  21. <van-dropdown-item value="{{ form.appType }}" options="{{ typeOptions }}" data-label="appType" bind:change="changeVanDropdownnValue"/>
  22. </van-dropdown-menu>
  23. </my-form-item>
  24. </wux-field>
  25. <wux-field name="appCountry" initialValue="{{''}}" rules="{{ [{ required: true,message:'申请国家为必填' } ] }}">
  26. <my-form-item labelWidth="{{labelWidth}}" required custom-class="form_label">
  27. <view slot="label" >
  28. 申请国家
  29. </view>
  30. <wux-input placeholder="请输入国家名称" />
  31. </my-form-item>
  32. </wux-field>
  33. <wux-field name="industry" initialValue="{{''}}" rules="{{ [{ required: true,message:'所属行业为必填' } ] }}">
  34. <my-form-item labelWidth="{{labelWidth}}" required custom-class="form_label">
  35. <view slot="label" >
  36. 所属行业
  37. </view>
  38. <wux-input placeholder="请输入所属行业" />
  39. </my-form-item>
  40. </wux-field>
  41. <wux-field name="techType" initialValue="{{''}}" rules="{{ [{ required: false } ] }}">
  42. <my-form-item labelWidth="{{labelWidth}}" custom-class="form_label">
  43. <view slot="label" >
  44. 技术类型
  45. </view>
  46. <wux-input placeholder="请输入技术类型" />
  47. </my-form-item>
  48. </wux-field>
  49. <wux-field name="appAbroad" initialValue="{{''}}">
  50. <my-form-item labelWidth="{{labelWidth}}" custom-class="form_label">
  51. <view slot="label" >
  52. 是否海外申请
  53. </view>
  54. <van-radio-group value="{{ form.appAbroad }}" bind:change="onChange" >
  55. <view class="form_radio">
  56. <van-radio name="{{true}}">是</van-radio>
  57. <van-radio name="{{false}}">否</van-radio>
  58. </view>
  59. </van-radio-group>
  60. </my-form-item>
  61. </wux-field>
  62. <wux-field name="appApostille" initialValue="{{''}}">
  63. <my-form-item labelWidth="{{labelWidth}}" custom-class="form_label">
  64. <view slot="label" >
  65. 一同申请海牙认证
  66. </view>
  67. <van-radio-group value="{{ form.appApostille }}" bind:change="onChange1" >
  68. <view class="form_radio">
  69. <van-radio name="{{true}}">是</van-radio>
  70. <van-radio name="{{false}}">否</van-radio>
  71. </view>
  72. </van-radio-group>
  73. </my-form-item>
  74. </wux-field>
  75. <wux-field name="contactPhone" initialValue="{{''}}" rules="{{ [{ required: true },{validator:'checkPhone'} ] }}">
  76. <my-form-item labelWidth="{{labelWidth}}" required custom-class="form_label">
  77. <view slot="label" >
  78. 联系电话
  79. </view>
  80. <wux-input maxlength="11" placeholder="请输入手机号" />
  81. </my-form-item>
  82. </wux-field>
  83. <wux-field name="contactPerson" initialValue="{{''}}">
  84. <my-form-item labelWidth="{{labelWidth}}" custom-class="form_label">
  85. <view slot="label" >
  86. 联系人
  87. </view>
  88. <wux-input maxlength="11" placeholder="请输入联系人" />
  89. </my-form-item>
  90. </wux-field>
  91. </wux-form>
  92. <view class="label">
  93. 附图(非必填)
  94. </view>
  95. <view class="upload" bind:tap="uploadFile">
  96. <text class="iconfont myIconshangchuan"></text>
  97. </view>
  98. <view class="label">
  99. 备注
  100. </view>
  101. <view class="value">
  102. <wux-textarea value="{{ form.description }}" bind:change="changRemark"/>
  103. </view>
  104. <view class="foot">
  105. <view></view>
  106. <view class="foot_label">
  107. 一键查新
  108. </view>
  109. <view>
  110. <view class="foot_btn" bind:tap="submit">
  111. 提交工单
  112. </view>
  113. <view class="foot_label2">
  114. 预估费用:1.5W
  115. </view>
  116. </view>
  117. </view>
  118. </scroll-view>
  119. </view>