C端小程序
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

index.wxml 1.2 KiB

1 rok temu
1 rok temu
1 rok temu
1 rok temu
1234567891011121314151617181920212223
  1. <navbar back home text="微信授权手机号"></navbar>
  2. <view class="login-body">
  3. <view class="login-logo">
  4. <image src="{{mallImgUrl}}" mode="widthFix"></image>
  5. </view>
  6. <view class="title">
  7. <text>Hi , 请登录~</text>
  8. <text>登录后可以更好的体验我们哦~</text>
  9. </view>
  10. <view class="login-btn">
  11. <button open-type="getPhoneNumber" hover-class='active' wx:if="{{canIUse && isPhone}}" class="login-btn-login" bindgetphonenumber="getPhoneNumber">微信手机号一键登录</button>
  12. <button hover-class='active' wx:if="{{canIUse && !isPhone}}" class="login-btn-login" bindtap="getPhoneNumber">微信手机号一键登录</button>
  13. <view wx:if="{{!canIUse}}">请升级微信版本</view>
  14. <button hover-class='active' class="login-btn-login backHome" bindtap="backHome">取消</button>
  15. </view>
  16. <view class="protocol">
  17. <image wx:if="{{isPhone}}" src="../../assets/images/confirm.png" bindtap="changePhoneStatus" />
  18. <image wx:if="{{!isPhone}}" src="../../assets/images/waitingConfirm.png" bindtap="changePhoneStatus" />
  19. 我已阅读并同意<text class="text" bindtap="goCheckProtocol">《用户协议与隐私政策》</text>
  20. </view>
  21. </view>