运维小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.wxml 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!-- pages/user/index.wxml -->
  2. <view class="setup">
  3. <view class="navigation-container" style="{{'height: ' + navStatusBarHeight +'px'}}">
  4. <!-- 空白来占位状态栏 -->
  5. <view style="{{'height: ' + statusBarHeight +'px'}}"></view>
  6. <!-- 自定义导航栏 -->
  7. <view class="navigation-bar" style="{{'height:' + navBarHeight +'px'}}">
  8. <view class="title">晟运能源</view>
  9. </view>
  10. </view>
  11. <!-- <view style="width: 100%; {{'height: ' + navStatusBarHeight +'px'}}"></view> -->
  12. <!--<view></view>-->
  13. <view class="log">
  14. <view class="log_title">
  15. <view>你好,</view>
  16. <view>欢迎使用晟运智慧运维</view>
  17. </view>
  18. <view><image class="log_image" src="https://esos-iot.bjdexn.cn/myminio/project/72505c1e81bf445dbeb773a18e47da7b.png" mode="aspectFill"/></view>
  19. </view>
  20. <view class="login_box">
  21. <view class="{{Loginswitch?'login_left':'login_right1'}}" data-value="{{true}}" bind:tap="onswitch">一键登录</view>
  22. <!-- <view class="{{!Loginswitch?'login_left':'login_right'}}" data-value="{{false}}">手机号登录</view> -->
  23. <view class="{{!Loginswitch?'login_left':'login_right'}}" data-value="{{false}}" bind:tap="onswitch">手机号登录</view>
  24. </view>
  25. <!-- <view class="login_box">
  26. <view class="login_right1">快捷登录</view>
  27. <view class="login_left">账户登录</view>
  28. </view> -->
  29. <view class="log_bottom">
  30. <view class="account_number" wx:if="{{!Loginswitch}}">
  31. <view wx:if="{{!Loginswitch}}">
  32. <view class="account">手机号</view>
  33. <view class="password">
  34. <image class="login_imgae1" src="https://esos-iot.bjdexn.cn/myminio/project/0458af22ef764cc386d77a76ee665917.png" mode=""/>
  35. <input class="weui-input" value="{{account}}" placeholder="请输入手机号" bindinput="bindKeyInput1"/></view>
  36. </view>
  37. </view>
  38. <view class="number" wx:if="{{!Loginswitch}}">
  39. <!-- <view class="account">邀请码</view>
  40. <view class="password">
  41. <image class="login_imgae1" src="https://esos-iot.bjdexn.cn/myminio/project/b38d8000822b44108beff300cb0c9f69.png" mode="aspectFit"/>
  42. <input class="weui-input" value="{{password}}" placeholder="请输入邀请码" bindinput="bindKeyInput2"/>
  43. </view> -->
  44. <!-- <view class="password">
  45. <image class="login_imgae1" src="https://esos-iot.bjdexn.cn/myminio/project/b38d8000822b44108beff300cb0c9f69.png" mode="aspectFit"/>
  46. <input class="weui-input" value="{{password}}" password="{{passwordtype}}" placeholder="请输入密码" bindinput="bindKeyInput2"/>
  47. <image class="login_imgae" src="https://esos-iot.bjdexn.cn/wx_images/password_1.png" wx:if="{{passwordtype}}" bind:tap="onpassword" mode=""/>
  48. <image class="login_imgae" src="https://esos-iot.bjdexn.cn/wx_images/password_2.png" wx:else bind:tap="onpassword" mode=""/>
  49. </view> -->
  50. </view>
  51. <view class="loginbotton">
  52. <!-- <button wx:if="{{!Loginswitch}}" class="button_button" open-type="getPhoneNumber" bindgetphonenumber="onGetPhoneNumber">手机号一键登录</button> -->
  53. <button wx:if="{{Loginswitch&&checked}}" class="button_button" color="#0F80DC" open-type="getPhoneNumber" bindgetphonenumber="onGetPhoneNumber">手机号一键登录</button>
  54. <button wx:if="{{!checked}}" class="button_button" color="#0F80DC" bind:tap="onstatus">手机号一键登录</button>
  55. <button wx:if="{{!Loginswitch}}" class="button_button" color="#0F80DC" bind:tap="onLogin">登录</button>
  56. <!-- <button wx:if="{{!Loginswitch}}" bindphoneoneclicklogin="onHandleLogin" open-type="phoneOneClickLogin">一键登录按钮</button> -->
  57. <view class="agreement">
  58. <t-radio t-class="t_box" value="{{checked}}" icon="dot" data-value="{{checked}}" bind:tap="checkboxChange"/>
  59. 我已阅读并同意<text class="agreement_color" data-name="服务协议" bind:tap="onprivacy">《服务协议》</text>和<text class="agreement_color" data-name="隐私政策" bind:tap="onprivacy">《隐私政策》</text> </view>
  60. </view>
  61. </view>
  62. </view>