businessApply.wxml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <view class="wrapper">
  2. <view class="form-item">
  3. <label>
  4. <text>姓名</text>
  5. </label>
  6. <view class="value">
  7. <input
  8. value="{{form.user_name}}"
  9. placeholder="请输入姓名"
  10. placeholder-class="placeholder"
  11. data-formkey="user_name"
  12. bind:input="setFormValue"></input>
  13. </view>
  14. </view>
  15. <view class="form-item">
  16. <label>
  17. <text>身份证</text>
  18. </label>
  19. <view class="value">
  20. <input
  21. value="{{form.user_card}}"
  22. placeholder="请输入身份证号码"
  23. placeholder-class="placeholder"
  24. data-formkey="user_card"
  25. bind:input="setFormValue"></input>
  26. </view>
  27. </view>
  28. <view class="form-item">
  29. <label>
  30. <text>手机号</text>
  31. </label>
  32. <view class="value">
  33. <input
  34. type="number"
  35. maxlength="11"
  36. value="{{form.shop_phone}}"
  37. placeholder="请输入手机号"
  38. placeholder-class="placeholder"
  39. data-formkey="shop_phone"
  40. bind:input="setFormValue"></input>
  41. </view>
  42. </view>
  43. <view class="form-item">
  44. <label>
  45. <text>村信息</text>
  46. </label>
  47. <view class="value">
  48. <input
  49. value="{{form.country_msg}}"
  50. placeholder="请选择村信息"
  51. placeholder-class="placeholder"
  52. data-formkey="country_msg"
  53. disabled="{{true}}"
  54. bind:tap="showCountryMsg"></input>
  55. </view>
  56. </view>
  57. <view class="form-item">
  58. <label>
  59. <text>个人二维码</text>
  60. </label>
  61. <view class="value">
  62. <view
  63. class="van-uploader-wrap">
  64. <van-uploader
  65. file-list="{{ form.user_code_url }}"
  66. max-count="{{1}}"
  67. multiple="{{false}}"
  68. accept="image"
  69. data-formkey="user_code_url"
  70. bind:click-preview="uploadImg"
  71. bind:after-read="afterRead"
  72. bind:delete="delete"/>
  73. </view>
  74. </view>
  75. </view>
  76. <view class="form-item">
  77. <label>
  78. <text>微信号</text>
  79. </label>
  80. <view class="value">
  81. <input
  82. value="{{form.user_wechat_code}}"
  83. placeholder="请输入微信号"
  84. placeholder-class="placeholder"
  85. data-formkey="user_wechat_code"
  86. bind:input="setFormValue"></input>
  87. </view>
  88. </view>
  89. <view class="form-item">
  90. <label>
  91. <text>店铺名称</text>
  92. </label>
  93. <view class="value">
  94. <input
  95. value="{{form.shop_name}}"
  96. placeholder="请输入店铺名称"
  97. placeholder-class="placeholder"
  98. data-formkey="shop_name"
  99. bind:input="setFormValue"></input>
  100. </view>
  101. </view>
  102. <view class="form-item">
  103. <label>
  104. <text>店铺图片</text>
  105. </label>
  106. <view class="value">
  107. <view
  108. class="van-uploader-wrap">
  109. <van-uploader
  110. file-list="{{ form.shop_img_url }}"
  111. max-count="{{1}}"
  112. multiple="{{false}}"
  113. accept="image"
  114. data-formkey="shop_img_url"
  115. bind:click-preview="uploadImg"
  116. bind:after-read="afterRead"
  117. bind:delete="delete"/>
  118. </view>
  119. </view>
  120. </view>
  121. <view
  122. class="form-item"
  123. data-formkey="shop_address"
  124. data-lat="{{form.shop_address.latitude}}"
  125. data-lon="{{form.shop_address.longitude}}"
  126. bind:tap="handleChooseLocation">
  127. <label>
  128. <text>详细地址</text>
  129. </label>
  130. <view class="value">
  131. <view
  132. class="shop-address"
  133. wx:if="{{form.shop_address.address_name}}">{{form.shop_address.address_name}}{{form.shop_address.name}}
  134. </view>
  135. <view
  136. class="shop-address"
  137. style="color: rgba(198, 202, 219, 1);"
  138. wx:else>请输入详细地址
  139. </view>
  140. </view>
  141. </view>
  142. <view class="form-item" style="padding-left: 0; border-bottom: none;">
  143. <label>
  144. <text>备注</text>
  145. </label>
  146. <view class="value">
  147. <textarea
  148. value="{{form.shop_remark}}"
  149. placeholder="请输入备注"
  150. placeholder-class="placeholder"
  151. maxlength="{{200}}"
  152. auto-height="{{true}}"
  153. data-formkey="shop_remark"
  154. bind:input="setFormValue"></textarea>
  155. <view class="words-limit">{{form.shop_remark.length}}/200</view>
  156. </view>
  157. </view>
  158. <view class="explain">*政府后台会审核村民信息是否真实,通过后就可发布</view>
  159. <button
  160. type="primary"
  161. disabled="{{booLock}}"
  162. bind:tap="onSubmit">成为农户
  163. </button>
  164. </view>
  165. <!--弹窗:村信息选择-->
  166. <van-popup
  167. show="{{ booCountryMsg }}"
  168. close-on-click-overlay="{{false}}"
  169. round
  170. position="bottom"
  171. bind:click-overlay="hideCountryMsg">
  172. <van-picker
  173. id="picker-country-msg"
  174. columns="{{ countryMsgList }}"
  175. show-toolbar
  176. default-index="{{ countryMsgInDefaultIndex }}"
  177. bind:cancel="hideCountryMsg"
  178. bind:confirm="confirmCountryMsg"/>
  179. </van-popup>