<!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="../../../../view/doorlockUsers/doorlockUser.css">
    <style type="text/css">
        [v-cloak]{
            display: none;
        }
    </style>
    <script type="text/javascript" src="../../../../lib/js/start.js"></script>
    <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">
            <v-touch tag="span" class="header-left icon" v-on:tap="onBackTap">&#xe611;</v-touch>
            <p>{{ $t('title.inviteBind') }}</p>
        </div>
        <div class="content"> 
        	<p class="invite-usertip">{{ $t('inviteBind.userTip') }}</p>
            <ul class="inviteBind">
                <li class="qrcode">
                	<canvas ref="qrcode"></canvas>
                    <p v-show="qrCodeDisabled">
                        <span>{{ $t('inviteBind.qrcodeExpireTip') }}</span>
                    </p>                    
                </li>
                <li class="tip">{{ $t('inviteBind.tip') }}<v-touch tag="span" v-on:tap="onQRcodeButtonTap">{{ $t('inviteBind.buttonText') }}</v-touch></li>
                <li class="title">{{ $t('inviteBind.title') }}</li>                
                <li><span>&#xe6c1;</span>{{ $t('inviteBind.cont1') }}</li>
                <li><span>&#xe6c0;</span>{{ $t('inviteBind.cont2') }}</li>
                <li class="noBorder"><span>&#xe6c2;</span>{{ $t('inviteBind.cont3') }}</li>
            </ul>
            <!--<u-button :init-param="componentsConfig.qrcodeButton.initParam" v-on:u-button-tap="onQRcodeButtonTap"></u-button>-->
        </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="./inviteBind.js" defer async></script>
    
</body>
</html>