1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>输入手势密码-创业帮</title>
- <meta name="keywords" content="输入手势密码-创业帮">
- <meta name="description" content="输入手势密码-创业帮">
- <meta content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,shrink-to-fit=no,user-scalable=no" name="viewport" viewport="cover">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
- <meta content="telephone=no" name="format-detection">
- <meta content="email=no" name="format-detection">
- <meta name="apple-mobile-web-app-title" content="输入手势密码-创业帮">
- <meta http-equiv="Cache-Control" content="no-siteapp">
- <link rel="stylesheet" href="./static/css/main.css">
- </head>
- <body class="gesture">
- <div id="app" v-cloak>
- <div class="df cm loginimg"><img :src="userimg" alt=""></div>
- <div id="goon" @click="goindex"></div>
- </div>
- <script src="./static/js/klm-vv.min.js"></script>
- <script src="./static/js/klm-axios-config.js"></script>
- <script src="./static/js/H5lock.js"> </script>
- <script>
- // 在 #app 标签下渲染一个组件
- let app = new Vue({
- el: '#app',
- data() {
- return {
- userimg:"./static/images/user-img-color@3x.png",
- timer:''
- }
- },
- mounted() {
- //- 初始化手势密码
- new H5lock({
- //- 单位:px
- //- 圆圈个数
- chooseType: 3,
- //- 连接线宽度
- linwidth: 2,
- //- 成功的颜色
- successcolor: '#2B84FF',
- //- 成功地背景色
- successbgcolor:'rgba(43, 132, 255, 0.1)',
- //- 失败地颜色
- wariningcolor:'#FF574D',
- //- 失败地背景色
- wariningbgcolor:'rgba(255, 87, 77, 0.1)',
- //- 初始化小圆点颜色
- initcolor:'#eee',
- //- 初始化小圆点大小 应该比滑动时小圆点小,不然会漏出来
- initr:12,
- //- 滑动时内部小圆点大小
- inr:12,
- //- 滑动时外部大圆点大小
- outr:29,
- //- 解锁半径
- range:29
- }).init();
- },
- methods: {
- goindex(){
- PublicLib.Goto({Url:'index'});
- }
- }
- });
- </script>
- </body>
- </html>
|