加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 5.52 KB
一键复制 编辑 原始数据 按行查看 历史
封尘的小号 提交于 2018-03-31 19:31 . v1.2
<!doctype html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="description" content="自动九宫格锁屏js">
<meta name="keywords" content="九宫格,锁屏,html,js">
<meta http-equiv="Cache-Control" content="max-age=7200" />
<title>自动九宫格锁屏demo</title>
</head>
<body>
<center>MY NAME IS LOVEFC<br /><br />
<a href="./login.html" target="_blank">登录页面</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a href="./uppwd.html" target="_blank">更新密码</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a href="http://lovefc.cn" target="_blank">作者博客</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br /><br />
<a href="https://gitee.com/lovefc/fcode" target="_blank">更新-码云</a> &nbsp; &nbsp; <a href="https://github.com/lovefc/fcode" target="_blank">更新-GITHUB</a> &nbsp; &nbsp;
</center>
<script src="./src/jquery.min.js"></script>
<!--这是是锁屏要引入的js,需要放在jquery的后面-->
<script src="./src/fcode.min.js"></script>
<script type="text/javascript">
fcode.bgColor = '#a1afc9'; //背景颜色
fcode.fontColor = '#FFF'; //圆环颜色
fcode.lineColor = "#FFF"; //连线的颜色
//fcode.lineErrorColor = "#00a254";//连线错误颜色
//fcode.lineSuceessColor = "#cc1c21";//连线正确颜色
fcode.Time = 10; //锁屏的时间,单位s
fcode.bgImage = 'https://t1.picb.cc/uploads/2018/03/31/2iJAI6.jpg'; //设置背景图片,优先于背景颜色
//定义九宫格解锁上方的html内容
fcode.customHtml = '<div style="margin-top:80px;"><img src="data:image/jpg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD//gA8Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2NjIpLCBxdWFsaXR5ID0gMTAwCv/bAEMAAQEBAQE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vh/rK0h1DUHFv7aNx0J1MVTSiq23D74YQOSJVT13gnoupNgtgV8l09OiJEaROjIS2F324qqDVZGsUORJ5uhAANj0vSgHQCNkWotdJxRFVz08AIwwLBGXuvsMHEsHgbohVhtuiOI1LUGw+oX11rPUwLJx42m/9vbf1g4JBNTSfNOvW3LWJ0NY0DAmzcWWmmdGzQUfSEBWZYlEoDUIwVCrrPRgxuGA1ocOzVwmSO1DHFa2OuDumcTJsVm8WijEooEwQEkgkLu+TP4hPRhXrSI8CyTYDvA0ZhaNuMRNFtlRi7uJwSgwIdsQiC4hiAlVRIJNeIcWNUIXaibY6KBNV0Kji6cgpPwEkFIEAVI0lDHhzN7s7b9CaAwlAkTAGIAIACCEDYDTok1m3rKCs2ii6N/MZWcqlRk1rGqeJVuJSVAqKAAWyUkfCnFxkRKpKqSVbZ4uLZVXVZVsr0uf/2Q==" style="width:70px;height:70px;border-radius:100px"><br /><br /></div>';
//fcode.Start('123');
//md5 加密
fcode.Start('cc70e9369e9f87a660812e08d76a828e'); //密码是1235789,也就是Z字形
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化