fix jquery bugs

This commit is contained in:
=
2022-02-06 15:39:57 +08:00
parent f352336da0
commit 07d8763a77
22 changed files with 99 additions and 117 deletions

View File

@@ -42,6 +42,13 @@
<?php /** 环境检测 */ if ($config['checkEnv']) require_once APP_ROOT . '/application/check.php'; ?>
<script>
// 导航状态
$('.nav-pills').find('a').each(function() {
if (this.href == document.location.href) {
$(this).parent().addClass('active'); // this.className = 'active';
}
});
// js 获取当前网址二维码
var qrcode = new QRCode(document.getElementById("qrcode"), {
text: window.location.href,