login.wxml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!--pages/Components/campusBinding/campusBinding.wxml-->
  2. <view class="main">
  3. <image lazy-load class="background" mode="aspectFill" src="../../images/login-bg.png"></image>
  4. <image lazy-load class="logo" mode="aspectFill" src="/images/login-logo.png"></image>
  5. <!-- <text class="name">艾克斯朗学生端</text> -->
  6. <button wx:if="{{isShow && isOpenId}}" class="button" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber"
  7. hidden="{{btnShow}}">
  8. 点击登陆
  9. </button>
  10. <text wx:if="{{isShow && isOpenId}}" class="login-tip">此小程序仅供艾克斯朗学员登录使用</text>
  11. <view wx:if="{{isShow && isOpenId}}" class="slogan-view">
  12. <view class="slogan-en">Be Excellent<text class="nbsp"></text>Better To Do</view>
  13. <view class="slogan-zn">艾克斯朗<text class="nbsp"></text>培养与众不同的你</view>
  14. <view class="agreement-view">
  15. 登录即表示同意<text class="agreement-text">《艾克斯朗平台相关协议》</text>
  16. </view>
  17. </view>
  18. <!-- <button wx:if="{{!isShow}}" class="button" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" hidden="{{btnShow}}">
  19. 登陆
  20. </button> -->
  21. <view wx:if="{{!isShow}}" class="login-view">
  22. <view class="userName-view">
  23. <view class="isTitle">账号:</view>
  24. <view>
  25. <input maxlength="11" bindinput="getName" />
  26. </view>
  27. </view>
  28. <view class="pwd-view">
  29. <view class="isTitle">密码:</view>
  30. <view>
  31. <input maxlength="6" type="password" bindinput="getPwd" />
  32. </view>
  33. </view>
  34. <view class="tip">本系统仅供已在艾克斯朗注册的学生使用</view>
  35. <view class="login-btn button" bindtap="testLogin">确定</view>
  36. </view>
  37. </view>