<!--pages/login/login.wxml-->
<view class="body" style="background-image: url({{imgPath}}/login-bg.png);">
    <view class="app-title">
        <image mode="aspectFit" src="{{imgPath}}/login-app-name.png" style="height: 63rpx;"></image>
    </view>
    <view class="login">
        <form bindsubmit="loginSys">
            <view class="login-row">
                <image class="login-phone" mode="heightFix" src="{{imgPath}}/login-phone.png"></image>
                <input type="number" class="login-input" name="phone" maxlength="11" placeholder="请输入手机号" placeholder-style="color:#fff" bindinput="setPhone" />
            </view>
            <view class="login-row" wx:if="{{!showPwd}}">
                <image class="login-phone" mode="heightFix" src="{{imgPath}}/login-verify.png"></image>
                <input type="number" class="login-input" name="code" maxlength="6" style="width: 50%;" placeholder="请输入验证码" placeholder-style="color:#fff" bindinput="setVcode" />
                <text class="send_btn" bindtap="getVerifyCode">{{sendText}}</text>
            </view>
            <view class="login-row" wx:if="{{showPwd}}">
                <image class="login-phone" mode="heightFix" src="{{imgPath}}/login-pwd.png"></image>
                <input type="text" password="true" class="login-input" name="password" maxlength="20" placeholder="请输入密码" placeholder-style="color:#fff" />
            </view>
            <view class="login-type">
                <view></view>
                <view bindtap="changeType">{{loginType}}</view>
            </view>
            <button class="login-btn" formType="submit" style="background-image: url({{imgPath}}/login-btn.png);">登录</button>
        </form>
    </view>
    <view class="line-row">
        <view class="line"></view>
        <text>快捷登录</text>
        <view class="line"></view>
    </view>
    <view class="fast-login">
        <button class="wxBtn" plain="true" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" style="background-image:url({{imgPath}}/loginn-wx.png)"></button>
    </view>

    <view class="app-bottom">大城细管·大城众管 ·大城智管</view>
</view>