register.wxml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <block wx:if="{{pageType==0}}">
  2. <!-- LOGO -->
  3. <view class="login_logo">
  4. <image src="../../static/logo.png" mode="aspectFill"></image>
  5. </view>
  6. <!-- 商户认证 -->
  7. <My_RectangularFrame title="参展入会">
  8. <view class="form_box firm">
  9. <!-- 品牌名 -->
  10. <view class="input_text_title">姓名<text>*</text></view>
  11. <view class="input_text_box box_mar_bot">
  12. <view class="input_text_input marLeft">
  13. <van-field value="{{ fname }}" bind:input='eliminate' data-name="fname" bind:focus='inputFocus' bind:blur='inputBlur' input-class="input-class" placeholder="请填写姓名" border="{{ false }}" error='{{errTips.fname}}' />
  14. </view>
  15. </view>
  16. <!-- 身份证 -->
  17. <view class="input_text_title">身份证<text>*</text></view>
  18. <view class="input_text_box box_mar_bot">
  19. <view class="input_text_input marLeft">
  20. <van-field value="{{ fidcard }}" bind:input='eliminate' type='idcard' data-name="fidcard" bind:focus='inputFocus' bind:blur='inputBlur' input-class="input-class" placeholder="请填写姓名身份证" error='{{errTips.fidcard}}' border="{{ false }}" />
  21. </view>
  22. </view>
  23. <!-- 手机号 -->
  24. <view class="input_text_title">手机号<text>*</text></view>
  25. <view class="input_text_box box_mar_bot">
  26. <view class="input_text_input marLeft">
  27. <van-field model:value="{{ fphonenumber }}" data-name="fphonenumber" bind:focus='inputFocus' bind:blur='inputBlur' type='number' input-class="input-class" error='{{errTips.fphonenumber}}' placeholder="请输入手机号" border="{{ false }}" />
  28. </view>
  29. </view>
  30. <block wx:if="{{isNoToken}}">
  31. <!-- 验证码 -->
  32. <view class="input_text_title">验证码<text>*</text></view>
  33. <view class="input_text_box box_mar_bot">
  34. <view class="input_text_input marLeft" style="display: flex;">
  35. <van-field model:value="{{ password }}" data-name="password" type='number' input-class="input-class password-css" bind:focus='inputFocus' bind:blur='inputBlur' error='{{errTips.password}}' placeholder="请输入验证码" border="{{ false }}" />
  36. <view class="get-password" bindtap="getVerifyCode">
  37. <text></text>
  38. <view>{{countDownTime=='30'?'发送验证码':countDownTime+'s'}}</view>
  39. </view>
  40. </view>
  41. </view>
  42. </block>
  43. <!-- 公司 -->
  44. <view class="input_text_title">公司名<text>*</text></view>
  45. <view class="input_text_box box_mar_bot">
  46. <view class="input_text_input marLeft">
  47. <van-field value="{{ fcompname }}" bind:input='eliminate' error='{{errTips.fcompname}}' bind:focus='inputFocus' bind:blur='inputBlur' data-name="fcompname" input-class="input-class" placeholder="请填写公司名" border="{{ false }}" />
  48. </view>
  49. </view>
  50. <!-- 职位 -->
  51. <view class="input_text_title">职位<text>*</text></view>
  52. <view class="input_text_box box_mar_bot">
  53. <view class="input_text_input marLeft">
  54. <van-field model:value="{{ frole }}" bind:input='eliminate' error='{{errTips.frole}}' data-name="frole" bind:focus='inputFocus' bind:blur='inputBlur' input-class="input-class" placeholder="请输入职位" border="{{ false }}" />
  55. </view>
  56. </view>
  57. <!-- 行业 -->
  58. <view class="input_text_title">行业<text>*</text></view>
  59. <view class="input_text_box box_mar_bot">
  60. <view class="input_text_input marLeft">
  61. <van-field model:value="{{ findustry }}" bind:input='eliminate' error='{{errTips.findustry}}' bind:focus='inputFocus' bind:blur='inputBlur' data-name="findustry" input-class="input-class" placeholder="请输入行业" border="{{ false }}" />
  62. </view>
  63. </view>
  64. <!-- 住址 -->
  65. <view class="input_text_title">住址</view>
  66. <view class="input_text_box box_mar_bot">
  67. <view class="input_text_input marLeft">
  68. <van-field value="{{ faddress }}" bind:input='eliminate' data-name="faddress" input-class="input-class" placeholder="请输入住址" border="{{ false }}" />
  69. </view>
  70. </view>
  71. <!-- 入会渠道 -->
  72. <view class="input_text_title">入会渠道</view>
  73. <view class="input_text_box box_mar_bot">
  74. <view class="input_text_input marLeft">
  75. <van-field value="{{ fchannel }}" bind:input='eliminate' data-name="fchannel" input-class="input-class" placeholder="请输入入会渠道" border="{{ false }}" />
  76. </view>
  77. </view>
  78. </view>
  79. <view class="rules">
  80. <van-checkbox checked-color='#4CBECF' icon-size="12px" label-class='rules-text' value="{{ rulesChecked }}" bind:change="rulesOnChange" />
  81. <view class="view" bindtap="viewRules">《<text>阅读用户隐私协议</text>》</view>
  82. </view>
  83. </My_RectangularFrame>
  84. <!-- 提交按钮 -->
  85. <view class="input_text_but">
  86. <van-button custom-class='login-custom-class' data-name="{{pageType}}" bindtap="submitData" size='large' round color="linear-gradient(180deg, #83E0E9 0%, #4CBECF 100%)">
  87. 立即报名
  88. </van-button>
  89. </view>
  90. <!-- 背景图片 -->
  91. <My_Background></My_Background>
  92. <!-- 弹出层 -->
  93. <van-action-sheet show="{{ popups }}" bind:close="showPop">
  94. <My_Checkbox title="经营类目" bind:saleprodChange="saleprodChange" dataList="{{dataList}}" isRequest='{{false}}'></My_Checkbox><!-- saleprodclass="{{saleprodclass}}" -->
  95. <view style="height: 34rpx;"></view>
  96. </van-action-sheet>
  97. </block>
  98. <block wx:if="{{pageType==1}}">
  99. <!-- tabs -->
  100. <My_NavTabs tabsList="{{tabsList}}" leftJustifying='true' bindsetIndex="setIndex"></My_NavTabs>
  101. <My_TwoDimensionalCode title="我的身份码" codeName="{{'ID:'+msg.tactivitysignupid}}" tactivitysignupid='{{msg.tactivitysignupid}}'></My_TwoDimensionalCode>
  102. </block>
  103. <view class="model" wx:if="{{myShowModel}}">
  104. <view class="role-selector">
  105. <view class="title">
  106. 请选择账号
  107. </view>
  108. <scroll-view class="scroll-view" scroll-y>
  109. <view class="user_text_box {{userIndex==index?'pitch-on':''}}" data-item="{{item}}" data-index='{{index}}' bindtap="userSelect" wx:for="{{account_list}}">
  110. <image wx:if="{{item.attinfos[0].fobsurl}}" class="input_text_img" src="{{item.attinfos[0].fobsurl}}" mode="aspectFill"></image>
  111. <image wx:else class="input_text_img" src="/static/tacitly-approve/MRuserImg.png" mode="aspectFill"></image>
  112. <view class="text_box">
  113. <view class="user_name u-line-1">
  114. {{item.fname}}
  115. <!-- <view class="u-line-1"></view>
  116. <view class="u-line-1">{{item.fname}}</view> -->
  117. </view>
  118. <view class="user_identity u-line-1">
  119. {{item.frole}}
  120. </view>
  121. </view>
  122. </view>
  123. </scroll-view>
  124. </view>
  125. </view>