register.wxml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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">住址<text>*</text></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' error='{{errTips.faddress}}' bind:focus='inputFocus' bind:blur='inputBlur' data-name="faddress" input-class="input-class" placeholder="请填写所在住址" border="{{ false }}" />
  69. </view>
  70. </view>
  71. <!-- 入会渠道 -->
  72. <view class="input_text_title">入会渠道<text>*</text></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' error='{{errTips.fchannel}}' bind:focus='inputFocus' bind:blur='inputBlur' 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. <van-action-sheet show="{{ popups }}" bind:close="showPop">
  86. <My_Checkbox title="经营类目" bind:saleprodChange="saleprodChange" dataList="{{dataList}}" isRequest='{{false}}'></My_Checkbox><!-- saleprodclass="{{saleprodclass}}" -->
  87. <view style="height: 34rpx;"></view>
  88. </van-action-sheet>
  89. </block>
  90. <!-- 信息 -->
  91. <block wx:if="{{pageType==1}}">
  92. <view style="width: 100vw; height:100vh; background: #fff;padding-top: 70rpx;">
  93. <view class="introduce">感谢您登记参观2022海宁家纺采购节专业买家日。请凭下方二维码在展馆入口处扫码进场。</view>
  94. <view class="card">
  95. <view class="title">{{msg.fname}}</view>
  96. <view class="firm">{{msg.fcompname}}</view>
  97. </view>
  98. <view class="notarize">确认码</view>
  99. <view class="qr-code-URL">
  100. <image src="{{qrcodeURL}}" mode="aspectFit"></image>
  101. </view>
  102. <view class="userID">{{msg.tactivitysignupid}}</view>
  103. </view>
  104. </block>
  105. <!-- 问卷调查 -->
  106. <block wx:if="{{pageType==2}}">
  107. <view style="height: 20rpx; width: 100vw;"></view>
  108. <view class="surveys-box" wx:for="{{surveysList}}" wx:key="index">
  109. <view class="surveys-img">
  110. <image src="/static/Surveys.png"></image>
  111. </view>
  112. <view class="surveys-content">
  113. <van-radio-group value="{{ radio }}" data-name="{{item.title}}" data-index="{{index}}" bind:change="radioChange">
  114. <view class="radio">
  115. <view class="surveys-content-title">
  116. {{index+1}}.{{item.title}}<text>(只能单选)</text>
  117. </view>
  118. <van-radio wx:for="{{item.arr}}" wx:for-item="items" wx:for-index="indexs" icon-size='22rpx' custom-class='radio-custom-class' wx:key="item.arr" checked-color='#55C3D0' name="{{items}}" label-class="radio-label-class">{{items}}</van-radio>
  119. </view>
  120. </van-radio-group>
  121. </view>
  122. </view>
  123. </block>
  124. <!-- 背景图片 -->
  125. <block wx:if="{{pageType!=1}}">
  126. <My_Background></My_Background>
  127. </block>
  128. <!-- 提交按钮 -->
  129. <view class="input_text_but" wx:if="{{pageType!=1}}">
  130. <van-button custom-class='login-custom-class' data-name="{{pageType}}" data-text="{{butText}}" bindtap="submitData" size='large' round color="linear-gradient(180deg, #83E0E9 0%, #4CBECF 100%)">
  131. {{butText}}
  132. </van-button>
  133. </view>
  134. <view class="model" wx:if="{{myShowModel}}">
  135. <view class="role-selector">
  136. <view class="title">
  137. 请选择账号
  138. </view>
  139. <scroll-view class="scroll-view" scroll-y>
  140. <view class="user_text_box {{userIndex==index?'pitch-on':''}}" data-item="{{item}}" data-index='{{index}}' bindtap="userSelect" wx:for="{{account_list}}">
  141. <image wx:if="{{item.attinfos[0].fobsurl}}" class="input_text_img" src="{{item.attinfos[0].fobsurl}}" mode="aspectFill"></image>
  142. <image wx:else class="input_text_img" src="/static/tacitly-approve/MRuserImg.png" mode="aspectFill"></image>
  143. <view class="text_box">
  144. <view class="user_name u-line-1">
  145. {{item.fname}}
  146. <!-- <view class="u-line-1"></view>
  147. <view class="u-line-1">{{item.fname}}</view> -->
  148. </view>
  149. <view class="user_identity u-line-1">
  150. {{item.frole}}
  151. </view>
  152. </view>
  153. </view>
  154. </scroll-view>
  155. </view>
  156. </view>