2023-01-14 00:29:14 +08:00
|
|
|
|
{{extend defaultLayout}}
|
|
|
|
|
{{block 'css'}}
|
|
|
|
|
<style>
|
|
|
|
|
.container {
|
|
|
|
|
width: 600px !important;
|
|
|
|
|
font-size: 1.125rem;
|
|
|
|
|
/* 全局字体大小 */
|
|
|
|
|
background-color: rgb(243, 242, 241);
|
|
|
|
|
padding: 20px 0 10px 0 !important;
|
|
|
|
|
}
|
2023-01-14 11:08:36 +08:00
|
|
|
|
.topTitle table{
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
2023-01-14 12:55:17 +08:00
|
|
|
|
.txt{
|
|
|
|
|
text-align: center;
|
|
|
|
|
color: red;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
padding: 0 10px;
|
|
|
|
|
}
|
2023-01-14 00:29:14 +08:00
|
|
|
|
</style>
|
|
|
|
|
{{/block}}
|
|
|
|
|
{{block 'main'}}
|
2023-01-14 11:08:36 +08:00
|
|
|
|
<div class="topTitle" style="margin: 0 auth;">
|
2023-01-14 00:29:14 +08:00
|
|
|
|
|
2023-01-14 12:55:17 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div class="txt">
|
|
|
|
|
免责声明:请勿随意扫码,谁触发谁扫码,bot仅提供功能。<br/>如果恶意抢码导致账号出问题的请自行承担后果
|
2023-01-14 00:29:14 +08:00
|
|
|
|
</div>
|
|
|
|
|
<script src="{{_res_path}}/qrCode/js/jquery-1.10.2.min.js"></script>
|
|
|
|
|
<script src="{{_res_path}}/qrCode/js/jquery.qrcode.min.js"></script>
|
|
|
|
|
<script>
|
|
|
|
|
var config = {
|
2023-01-14 11:08:36 +08:00
|
|
|
|
width:500,//值是number类型, 表示的单位是px 必须传递
|
|
|
|
|
height:500,//值是number类型, 表示的单位是px 必须传递
|
2023-01-14 00:29:14 +08:00
|
|
|
|
text:"{{url}}".replace(/#38;/g,''),//text就表示二维码中存储的数据 必须传递
|
|
|
|
|
correctLevel:2,//取值为0|1|2|3 表示二维码的纠错级别0:L/1:M/2:Q/3:H ,默认0 可选参数
|
|
|
|
|
render:"table"//取值:table/canvas , 默认table 可选参数
|
|
|
|
|
};
|
|
|
|
|
$(".topTitle").qrcode(config);
|
|
|
|
|
</script>
|
|
|
|
|
{{/block}}
|