<!-- pages/user/index.wxml -->
<view class="setup">
  <view class="navigation-container" style="{{'height: ' + navStatusBarHeight +'px'}}">
  <!-- 空白来占位状态栏 -->
  <view style="{{'height: ' + statusBarHeight +'px'}}"></view>
  <!-- 自定义导航栏 -->
  <view class="navigation-bar" style="{{'height:' + navBarHeight +'px'}}">
    <view class="title">天宏汇通运维</view>
  </view>
</view>
<!-- <view style="width: 100%; {{'height: ' + navStatusBarHeight +'px'}}"></view> -->
<!--<view></view>-->
 <view class="log">
 <view class="log_title">
 <view>你好，</view>
 <view>欢迎使用天宏汇通运维</view>
 </view>
 <view><image class="log_image" src="https://esos-iot.com/myminio/project/72505c1e81bf445dbeb773a18e47da7b.png" mode="aspectFill"/></view>
 </view>
 <view class="login_box">
 <view class="{{Loginswitch?'login_left':'login_right1'}}" data-value="{{true}}" bind:tap="onswitch">一键登录</view>
 <!-- <view class="{{!Loginswitch?'login_left':'login_right'}}" data-value="{{false}}">手机号登录</view> -->
 <view class="{{!Loginswitch?'login_left':'login_right'}}" data-value="{{false}}" bind:tap="onswitch">手机号登录</view>

 </view>
 <!-- <view class="login_box">
  <view class="login_right1">快捷登录</view>
 <view class="login_left">账户登录</view>
 </view> -->
 <view class="log_bottom">

 <view class="account_number" wx:if="{{!Loginswitch}}">
 <view wx:if="{{!Loginswitch}}">
  <view class="account">手机号</view>
  <view class="password">
  <image class="login_imgae1" src="https://esos-iot.com/myminio/project/0458af22ef764cc386d77a76ee665917.png" mode=""/>
  <input class="weui-input"	value="{{account}}" placeholder="请输入手机号"  bindinput="bindKeyInput1"/></view>
 </view>

 </view>
 <view class="number" wx:if="{{!Loginswitch}}">
  <!-- <view class="account">邀请码</view>
  <view class="password"> 
    <image class="login_imgae1" src="https://esos-iot.com/myminio/project/b38d8000822b44108beff300cb0c9f69.png" mode="aspectFit"/>
  <input class="weui-input"	value="{{password}}" placeholder="请输入邀请码" bindinput="bindKeyInput2"/>
  </view> -->
  <!-- <view class="password"> 
    <image class="login_imgae1" src="https://esos-iot.com/myminio/project/b38d8000822b44108beff300cb0c9f69.png" mode="aspectFit"/>
  <input class="weui-input"	value="{{password}}" password="{{passwordtype}}" placeholder="请输入密码" bindinput="bindKeyInput2"/>
    <image class="login_imgae" src="https://esos-iot.com/wx_images/password_1.png" wx:if="{{passwordtype}}" bind:tap="onpassword" mode=""/>
    <image class="login_imgae" src="https://esos-iot.com/wx_images/password_2.png" wx:else bind:tap="onpassword" mode=""/>
  </view> -->
 </view>
 <view class="loginbotton">
  <!-- <button wx:if="{{!Loginswitch}}" class="button_button" open-type="getPhoneNumber" bindgetphonenumber="onGetPhoneNumber">手机号一键登录</button> -->
 <button wx:if="{{Loginswitch&&checked}}" class="button_button" color="#0F80DC" open-type="getPhoneNumber" bindgetphonenumber="onGetPhoneNumber">手机号一键登录</button>
 <button wx:if="{{Loginswitch&&!checked}}" class="button_button" color="#0F80DC" bind:tap="onstatus">手机号一键登录</button>
 <button wx:if="{{!Loginswitch}}" class="button_button" color="#0F80DC" bind:tap="onLogin">登录</button>
 <!-- <button wx:if="{{!Loginswitch}}" bindphoneoneclicklogin="onHandleLogin" open-type="phoneOneClickLogin">一键登录按钮</button> -->
 <view class="agreement">
  <!-- <t-radio t-class="t_box" value="{{checked}}" icon="dot" data-value="{{checked}}" bind:tap="checkboxChange"/> -->
  <t-radio-group bind:change="checkboxChange" allow-uncheck value="{{checked}}" options="{{ [{value: true, label: ''}]}}" />
 我已阅读并同意<text class="agreement_color" data-name="服务协议" bind:tap="onprivacy">《服务协议》</text>和<text class="agreement_color" data-name="隐私政策" bind:tap="onprivacy">《隐私政策》</text> </view>
 </view>
 
 </view>
</view>
