小宁博客
动态日历
统计近10个月的博主文章和评论数目
Loading...
分类雷达图
Loading...
发布统计图
Loading...
分类统计图
Loading...
标签统计图
Loading...
时光机
新
时光机
不要用战术上的勤劳,掩盖战略上的懒惰。
October 31st, 2020 at 07:54 am
你唯一应该超越的人,是昨天的自己。
August 28th, 2020 at 10:00 am
不要担心黑夜悠长,保持平静安宁可以睡的更久。
August 18th, 2020 at 09:31 am
登录
注册
用户名
密码
登录
登录中...
用户名
邮箱
注册
注册中...
文章
时光机
二维码生成页面
首页
二维码生成页面
分享到:
生成
打赏
赞赏作者
支付宝
微信
赞
如果觉得我的文章对你有用,请随意赞赏
1 条评论
Loading...
shop
August 11th, 2021 at 07:15 pm
支持一个!我在支持一下
回复
发表评论
取消回复
使用cookie技术保留您的个人信息以便您下次快速评论,继续评论表示您已同意该条款
评论
*
私密评论
名称
*
🎲
邮箱
*
地址
发表评论
提交中...
二维码生成页面
孙肖宁
•
2018 年 12 月 04 日
<script src="http://libs.baidu.com/jquery/1.8.3/jquery.min.js"></script> <script type="text/javascript" src="http://cdn.staticfile.org/jquery.qrcode/1.0/jquery.qrcode.min.js"></script> <input type="text" id="con"> <button id="btn">生成</button> <div id="code"></div> <script> $("#btn").click(function () { $("#code").empty(); $('#code').qrcode( toUtf8($("#con").val())); }); function toUtf8(str) { var out, i, len, c; out = ""; len = str.length; for(i = 0; i < len; i++) { c = str.charCodeAt(i); if ((c >= 0x0001) && (c <= 0x007F)) { out += str.charAt(i); } else if (c > 0x07FF) { out += String.fromCharCode(0xE0 | ((c >> 12) & 0x0F)); out += String.fromCharCode(0x80 | ((c >> 6) & 0x3F)); out += String.fromCharCode(0x80 | ((c >> 0) & 0x3F)); } else { out += String.fromCharCode(0xC0 | ((c >> 6) & 0x1F)); out += String.fromCharCode(0x80 | ((c >> 0) & 0x3F)); } } return out; } </script>
文章目录
}catch (e){ handsome_util.settingError("外观设置————开发者设置——自定义js"); console.error(e); }
1 条评论
支持一个!我在支持一下