businessApply.wxml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. bind:input="setFormValue"></input>
  54. </view>
  55. </view>
  56. <view class="form-item">
  57. <label>
  58. <text>个人二维码</text>
  59. </label>
  60. <view class="value">
  61. <view
  62. class="van-uploader-wrap">
  63. <van-uploader
  64. file-list="{{ form.user_code_url }}"
  65. max-count="{{1}}"
  66. multiple="{{false}}"
  67. accept="image"
  68. data-formkey="user_code_url"
  69. bind:click-preview="uploadImg"
  70. bind:after-read="afterRead"
  71. bind:delete="delete"/>
  72. </view>
  73. </view>
  74. </view>
  75. <view class="form-item">
  76. <label>
  77. <text>微信号</text>
  78. </label>
  79. <view class="value">
  80. <input
  81. value="{{form.user_wechat_code}}"
  82. placeholder="请输入微信号"
  83. placeholder-class="placeholder"
  84. data-formkey="user_wechat_code"
  85. bind:input="setFormValue"></input>
  86. </view>
  87. </view>
  88. <view class="form-item">
  89. <label>
  90. <text>店铺名称</text>
  91. </label>
  92. <view class="value">
  93. <input
  94. value="{{form.shop_name}}"
  95. placeholder="请输入店铺名称"
  96. placeholder-class="placeholder"
  97. data-formkey="shop_name"
  98. bind:input="setFormValue"></input>
  99. </view>
  100. </view>
  101. <view class="form-item">
  102. <label>
  103. <text>店铺图片</text>
  104. </label>
  105. <view class="value">
  106. <view
  107. class="van-uploader-wrap">
  108. <van-uploader
  109. file-list="{{ form.shop_img_url }}"
  110. max-count="{{1}}"
  111. multiple="{{false}}"
  112. accept="image"
  113. data-formkey="shop_img_url"
  114. bind:click-preview="uploadImg"
  115. bind:after-read="afterRead"
  116. bind:delete="delete"/>
  117. </view>
  118. </view>
  119. </view>
  120. <view
  121. class="form-item"
  122. data-formkey="shop_address"
  123. data-lat="{{form.shop_address.latitude}}"
  124. data-lon="{{form.shop_address.longitude}}"
  125. bind:tap="handleChooseLocation">
  126. <label>
  127. <text>详细地址</text>
  128. </label>
  129. <view class="value">
  130. <view
  131. class="shop-address"
  132. wx:if="{{form.shop_address.address_name}}">{{form.shop_address.address_name}}{{form.shop_address.name}}
  133. </view>
  134. <view
  135. class="shop-address"
  136. style="color: rgba(198, 202, 219, 1);"
  137. wx:else>请输入详细地址
  138. </view>
  139. </view>
  140. </view>
  141. <view class="form-item" style="padding-left: 0; border-bottom: none;">
  142. <label>
  143. <text>备注</text>
  144. </label>
  145. <view class="value">
  146. <textarea
  147. value="{{form.shop_remark}}"
  148. placeholder="请输入备注"
  149. placeholder-class="placeholder"
  150. maxlength="{{200}}"
  151. auto-height="{{true}}"
  152. data-formkey="shop_remark"
  153. bind:input="setFormValue"></textarea>
  154. <view class="words-limit">{{form.shop_remark.length}}/200</view>
  155. </view>
  156. </view>
  157. <view class="explain">*政府后台会审核村民信息是否真实,通过后就可发布</view>
  158. <button
  159. type="primary"
  160. disabled="{{booLock}}"
  161. bind:tap="onSubmit">成为农户
  162. </button>
  163. </view>