real_name.wxml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <view class="box" style="padding-bottom:{{state3==3 && index ==2 && cardList.length>2 ? '200rpx' : '0rpx'}};height:auto;">
  2. <view class="top">
  3. <!-- 步骤 -->
  4. <view class=" flexCC {{state1==1?'active2':''}}">
  5. <image src="http://resource.weilaigo.l4j.cn/success1.png"></image>
  6. <text style="color:#18D5B9;">手机验证</text>
  7. </view>
  8. <text class="text {{state2==2?'active1':''}}"></text>
  9. <view class="flexCC {{state2==2?'active2':''}}">
  10. <image src="http://resource.weilaigo.l4j.cn/success1.png" wx:if="{{state3==3}}"></image>
  11. <image src="{{state2==2?'http://resource.weilaigo.l4j.cn/loading1.png':'http://resource.weilaigo.l4j.cn/xiaobanma/time.png'}}" wx:else></image>
  12. <text>实名认证</text>
  13. </view>
  14. <text class="text text1 {{state3==3?'active1':''}}"></text>
  15. <view class="flexCC {{state3==3?'active2':''}}">
  16. <image src="{{state3==3?'http://resource.weilaigo.l4j.cn/success1.png':'http://resource.weilaigo.l4j.cn/circular.png'}}"></image>
  17. <text>缴纳押金</text>
  18. </view>
  19. <text class="text text2 {{state4==4?'active1':''}}"></text>
  20. <view class="flexCC {{state4==4?'active2':''}}">
  21. <image src="{{state4==4?'http://resource.weilaigo.l4j.cn/loading1.png':'http://resource.weilaigo.l4j.cn/circular.png'}}"></image>
  22. <text>完成</text>
  23. </view>
  24. </view>
  25. <view class="block"></view>
  26. <!-- 实名认证 -->
  27. <view wx:if="{{state2==2 && index==1}}">
  28. <view class="realName">
  29. <view class="hint">
  30. <view class="title">实名认证</view>
  31. <text style="color:#f00;margin-right:5rpx;">*</text>
  32. <text>根据我国法律规定,我们仅为年龄16至65周岁的用户提供未来GO电车服务</text>
  33. </view>
  34. <view class="inp">
  35. <view class="title">真实姓名</view>
  36. <input placeholder="请输入您的真实姓名" placeholder-class="place" bindblur="ckName" value="{{nameVal}}" bindinput="name" bindconfirm="namefirm"></input>
  37. <view class="title">身份证号</view>
  38. <input placeholder="请输入您的身份证号" placeholder-class="place" bindblur="ckCard" value="{{cardVal}}" bindinput="input" bindconfirm="valuefirm" type="idcard"></input>
  39. </view>
  40. <view class="btn">
  41. <view class="button flexC" bindtap="submit">提交申请</view>
  42. <view bindtap="privacy">提交即表示已阅读并同意《个人隐私条约政策》</view>
  43. </view>
  44. <view class="service" bindtap="phone">
  45. <image src="http://resource.weilaigo.l4j.cn/service.png"></image>
  46. <text>人工认证</text>
  47. </view>
  48. </view>
  49. </view>
  50. <!-- 选取手机验证方式 -->
  51. <view class="shortcut" wx:if="{{state1==1 && index==0 && index1 == 0 }}">
  52. <view class="btn obtain">
  53. <button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">一键获取手机号</button>
  54. <view bindtap="manual">手动输入手机号</view>
  55. </view>
  56. </view>
  57. <!-- 手机验证码验证 -->
  58. <view wx:if="{{state1==1 && index==0 && index1 == 1 }}">
  59. <view class="phone">
  60. <view class="put1">
  61. <input placeholder="请输入您的手机号" placeholder-class="place1" bindblur="ckPhone" value="{{phoneVal}}" disabled="{{phoneDisabele}}" type="number" bindinput="ckPhone"></input>
  62. </view>
  63. <view class="put2">
  64. <input placeholder="请输入验证码" placeholder-class="place1" bindblur="ckSms" value="{{smsVal}}" bindinput="ckSms" bindconfirm="ckSms" type="number"></input>
  65. <text bindtap="{{code == '获取验证码' ? 'getCode' : ''}}" disabled="{{codeDisable}}">{{code}}</text>
  66. </view>
  67. </view>
  68. <view class="phone_check flexC" bindtap="verify">
  69. <text>立即验证</text>
  70. </view>
  71. <button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" class="phone_check flexC">一键获取手机号</button>
  72. </view>
  73. <!-- 缴纳押金 -->
  74. <view wx:if="{{state3==3 && index ==2}}">
  75. <view class="deposit">
  76. <view class="content">
  77. <view class="title1" style="margin:28rpx 0 28rpx 0;">押金充值</view>
  78. <view class="info {{depShow?'activeBg':'normalBg'}}" bindtap="cut">
  79. <view class="money">
  80. <view>用车押金(元)</view>
  81. <view class="sum">{{money}}</view>
  82. <view style="font-size:24rpx; opacity: .8;">押金可随时退还(快速到账)</view>
  83. </view>
  84. <view class="state">{{statusIndex==0 || state.deposit_type == 2?'未缴纳':statusIndex==1&& state.deposit_type == 1?'已缴纳':''}}</view>
  85. </view>
  86. <view class="avoid" wx:if="{{cardList!=''}}">
  87. <text class="right" wx:if="{{state.deposit_type==2}}">{{state.deposit_expire_time}}</text>
  88. <text bindtap="explain">购买免押金卡</text>
  89. <image src="http://resource.weilaigo.l4j.cn/weilai/issue.png" bindtap="explain"></image>
  90. <view>免押金卡不可退</view>
  91. </view>
  92. <view class="avoidCard" wx:if="{{cardList!=''}}">
  93. <view class="detail flexCC {{curShow==item.id?'active':'normal'}}" bindtap="cut" wx:key="index" wx:for="{{cardList}}" data-id="{{item.id}}">
  94. <view>
  95. <text class="money1">¥</text>
  96. <text>
  97. <text wx:if="{{item.price != item.discounted_price}}" class="discount_price"> {{item.discounted_price}}</text>
  98. <text wx:if="{{item.price != item.discounted_price}}"> / </text>
  99. <text class="{{item.price != item.discounted_price ? 'price' : 'discount_price'}}"> {{item.price}} </text>
  100. </text>
  101. </view>
  102. <!-- <view class="date">当前骑行天数剩余<text style="font-weight:blod;">{{}}</text>天</view> -->
  103. <view class="date">免押金<text style="font-weight:blod;padding:0rpx 4rpx;font-size:36rpx;">{{item.effective_days}}</text>天</view>
  104. </view>
  105. </view>
  106. <view class="payBtn" wx:if="{{statusIndex == 0 || state.deposit_type!=1}}">
  107. <view wx:if="{{setting.is_deposit==0}}" class="pay flexC" bindtap="backPage">返回首页</view>
  108. <view wx:else class="pay flexC" bindtap="{{depoSuce==true ? 'depoSuce' : ''}}">立即支付</view>
  109. <view class="order" bindtap="agreement">
  110. <text>支付即表示已阅读并同意</text>
  111. <text style="color:#03D6B7;">《法律充值条约政策》</text>
  112. </view>
  113. </view>
  114. </view>
  115. </view>
  116. </view>
  117. <!-- 认证成功 -->
  118. <view class="success flexCC" wx:if="{{state4==4 && index == 3}}">
  119. <image src="http://resource.weilaigo.l4j.cn/success2.png"></image>
  120. <view>认证成功!</view>
  121. <view class="button flexC" bindtap="backPage">返回首页({{count}}s)</view>
  122. </view>
  123. </view>