user.wxml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!-- 未登录 -->
  2. <view class="no_login" wx:if='{{status == 0}}'>
  3. <view class="title">欢迎来到湖南顽主杯实盘大赛</view>
  4. <view class='avatar'>
  5. <image src="../../images/logo.png"></image>
  6. </view>
  7. <view class="login">
  8. <!-- <input bindinput='inputchange' placeholder="请输入您的代码" value="{{usercode}}"></input> -->
  9. <button bindtap="login">登录</button>
  10. </view>
  11. <!-- <button class="contactus" open-type="contact">咨询</button> -->
  12. </view>
  13. <view class="no_login" wx:if='{{status == 1}}'>
  14. <view class="title">欢迎来到湖南顽主杯实盘大赛</view>
  15. <view class='avatar'>
  16. <image src="../../images/logo.png"></image>
  17. </view>
  18. <view class="login">
  19. <view><input type="number" placeholder-style="color:#999" bindinput='inputchange' placeholder="请输入手机号"></input></view>
  20. <view class="yzm">
  21. <input type="number" placeholder-style="color:#999" bindinput='codechange' placeholder="请输入验证码"></input>
  22. <view bindtap="getcode" wx:if="{{text=='获取验证码'}}">{{text}}</view>
  23. <view class="disabled" wx:else>{{text}}</view>
  24. </view>
  25. <button bindtap="login1">登录</button>
  26. </view>
  27. </view>
  28. <view class="no_login" wx:if='{{status == 2}}'>
  29. <view class="title" style="margin-bottom: 50rpx;">为了账号安全,请先绑定手机号</view>
  30. <view class="login">
  31. <view><input type="number" placeholder-style="color:#999" bindinput='inputchange' placeholder="请输入手机号"></input></view>
  32. <view class="yzm">
  33. <input type="number" placeholder-style="color:#999" bindinput='codechange' placeholder="请输入验证码"></input>
  34. <view bindtap="getcode" wx:if="{{text=='获取验证码'}}">{{text}}</view>
  35. <view class="disabled" wx:else>{{text}}</view>
  36. </view>
  37. <button bindtap="login2">绑定</button>
  38. </view>
  39. </view>
  40. <view class="no_login" wx:if='{{status == 3}}'>
  41. <view class="title">欢迎来到湖南顽主杯实盘大赛</view>
  42. <view class='avatar'>
  43. <image src="../../images/logo.png"></image>
  44. </view>
  45. <navigator url="../apply/apply?type=2"><image style="width: 24px;" mode="widthFix" src="../../images/bs.png"></image> 报名参赛(做选手)</navigator>
  46. <navigator wx:if="{{player_type==0}}" style="background: none;color:#D94B24;" url="../apply/apply?type=1"><image style="width: 24px;" mode="widthFix" src="../../images/yk.png"></image> 访问系统(不参赛)</navigator>
  47. <navigator style="background: none;color:#D94B24;" url="../message/message"><image style="width: 18px;" mode="widthFix" src="../../images/zx.png"></image> 咨询顽主</navigator>
  48. </view>