<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta name="format-detection" content="telephone=no"/>
    <title></title>
    <link rel="stylesheet" type="text/css" href="../../lib/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="./login.css">
    <style type="text/css">
        [v-cloak]{
            display: none;
        }
    </style>
    <script type="text/javascript" src="../../lib/js/p.js"></script>
    <script type="text/javascript" src="../../lib/js/UIOT.js"></script>
</head>
<body ontouchstart="">

    <div id="app" v-cloak>
        <div class="header">
            <p>{{ $t('title.login') }}</p>
        </div>
        <div class="content"> 
            <div class="inputBox">
               
                <u-text :init-param="componentsConfig.telInput.initParam" :text="numberTel"
                v-on:u-text-change="onTelChange(arguments[0])"></u-text>
                <u-text :init-param="componentsConfig.passwordInput.initParam" :text="textPassword"
                v-on:u-text-change="onPasswordChange(arguments[0])"></u-text>
                <p class="errorTip" v-if="textErrorTip">{{ textErrorTip }}</p>
            </div>
            <u-button :init-param="componentsConfig.loginButton.initParam" v-on:u-button-tap="onLoginButtonTap"></u-button>
            <p class="link">
                <v-touch tag="span" v-on:tap="onRegisterTap">{{ $t('login.register') }}</v-touch>
                <v-touch tag="span" v-on:tap="onForgetPasswordTap">{{ $t('login.forgetPassword') }}</v-touch>                
            </p>
        </div>   
        <u-dialog ref="udialog" :init-param="componentsConfig.dialog.initParam"></u-dialog>
        <u-loading ref="uloading" :init-param="componentsConfig.loading.initParam"></u-loading>
    </div>

    <script type="text/javascript" src="./login.js" defer async></script>
    
</body>
</html>