diff --git a/view/js/index.js b/view/js/index.js index 9ab1fa9..48d2d55 100644 --- a/view/js/index.js +++ b/view/js/index.js @@ -337,19 +337,6 @@ $(document).ready(function () { } }); - $('.dropdown-toggle').click(function () { - const dropdownPanel = document.querySelector('.dropdown-panel'); - const icon = document.querySelector('.icon'); - // 切换面板的显示/隐藏 - if (dropdownPanel.style.display === 'block') { - dropdownPanel.style.display = 'none'; - icon.classList.remove('rotate'); // 移除旋转效果 - } else { - dropdownPanel.style.display = 'block'; - icon.classList.add('rotate'); // 添加旋转效果 - } - }) - // 点击页面其他区域关闭面板 document.addEventListener('click', (event) => { const dropdown = document.querySelector('.dropdown'); diff --git a/view/templates/include/footer.html b/view/templates/include/footer.html new file mode 100644 index 0000000..67a1db4 --- /dev/null +++ b/view/templates/include/footer.html @@ -0,0 +1,4 @@ +
+

Copyright ©2012-2025 .

+

All Rights Reserved 底部随便写的

+
\ No newline at end of file diff --git a/view/templates/include/header.html b/view/templates/include/header.html new file mode 100644 index 0000000..95a29f9 --- /dev/null +++ b/view/templates/include/header.html @@ -0,0 +1,31 @@ +
+ +
+ + +
+
+{literal} + +{/literal} \ No newline at end of file diff --git a/view/templates/index/user_list.html b/view/templates/index/user_list.html index 3614e25..d114313 100644 --- a/view/templates/index/user_list.html +++ b/view/templates/index/user_list.html @@ -55,21 +55,8 @@ {/literal}
-
- -
- - -
-
+ {include file="include/header.html"} +
@@ -115,27 +102,12 @@
审核员列表
{/if}
-
-

Copyright ©2012-2025 .

-

All Rights Reserved 底部随便写的

-
+ + {include file="include/footer.html"}
{literal} + {/literal} + +
+ + - - {literal} - - {/literal} - -
- - - -
-

Copyright ©2012-2025 .

-

All Rights Reserved 底部随便写的

-
+ {include file="include/footer.html"}