user.wxml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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>