apply.wxml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <view class="container" wx:if="{{ isData }}">
  2. <!-- 头部背景图 -->
  3. <view class="dealer-bg">
  4. <image mode="widthFix" src="{{ background }}"></image>
  5. </view>
  6. <!-- 填写申请信息 -->
  7. <block wx:if="{{ !is_applying }}">
  8. <view class="dis-flex flex-dir-column flex-y-center">
  9. <view class="widget-form b-f m-top20 dis-flex flex-dir-column">
  10. <view class="form-title f-30">{{ words.apply.words.title.value }}</view>
  11. <view class="form-box dis-flex flex-dir-column">
  12. <form bindsubmit="onFormSubmit" report-submit="true">
  13. <view class="form-field dis-flex flex-y-center">
  14. <view class="field-label">邀请人</view>
  15. <view class="field-input">
  16. <text>{{ referee_name }}(请核对)</text>
  17. </view>
  18. </view>
  19. <view class="form-field dis-flex flex-y-center">
  20. <view class="field-label">姓名</view>
  21. <view class="field-input flex-box">
  22. <input name="name" placeholder="请输入真实姓名" value="{{name}}"></input>
  23. </view>
  24. </view>
  25. <view class="form-field dis-flex flex-y-center">
  26. <view class="field-label">手机号</view>
  27. <view class="field-input flex-box">
  28. <input name="mobile" placeholder="请输入手机号" value="{{mobile}}"></input>
  29. </view>
  30. </view>
  31. <!-- 申请协议 -->
  32. <view class="form-license dis-flex flex-x-center flex-y-center">
  33. <view class="license-radio dis-flex flex-y-center" catchtap="toggleSetRead">
  34. <text class="license-icon {{ is_read ? 'c-violet' : 'col-bb' }} f-38 iconfont icon-radio"></text>
  35. <text class="f-28 col-80">我已阅读并了解</text>
  36. </view>
  37. <text catchtap="toggleApplyLicense" class="f-28 c-violet">【{{ words.apply.words.license.value }}】</text>
  38. </view>
  39. <!-- 立即申请 -->
  40. <view class="form-submit dis-flex flex-x-center">
  41. <button formType="submit" disabled="{{ disabled }}">{{ words.apply.words.submit.value }}</button>
  42. </view>
  43. </form>
  44. </view>
  45. </view>
  46. </view>
  47. <zan-dialog id="zan-base-dialog"></zan-dialog>
  48. </block>
  49. <!-- 等待审核 -->
  50. <view wx:if="{{ is_applying }}" class="dealer-boot dis-flex flex-dir-column flex-y-center">
  51. <view class="boot__msg f-30 dis-flex flex-dir-column flex-y-center">
  52. <text class="msg__icon iconfont icon-shenhezhong"></text>
  53. <text class="msg__content m-top20 f-29 col-80">{{ words.apply.words.wait_audit.value }}</text>
  54. </view>
  55. <!-- 去商城逛逛 -->
  56. <view class="boot__submit form-submit dis-flex flex-x-center">
  57. <form bindsubmit="navigationToIndex" report-submit="true">
  58. <button formType="submit">{{ words.apply.words.goto_mall.value }}</button>
  59. </form>
  60. </view>
  61. <!-- 订阅消息通知 -->
  62. <view class="boot__submsg" catchtap="onSubMsg">
  63. <text class="iconfont icon-iconxx"></text>
  64. <text class="f-29">点击订阅消息通知</text>
  65. </view>
  66. </view>
  67. </view>