添加notice功能

This commit is contained in:
2026-05-01 08:25:29 +08:00
Unverified
parent 3185abfef4
commit bad707fce1
16 changed files with 799 additions and 6 deletions
+2
View File
@@ -8,6 +8,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Orbitron:wght@500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="../css/tech-query.css">
<link rel="stylesheet" href="../css/notice-banner.css">
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2"></script>
</head>
<body>
@@ -132,5 +133,6 @@
document.addEventListener('DOMContentLoaded', loadTicketDetail);
</script>
<script src="https://cdn.jsdmirror.cn/gh/bishshi/wechat-detect@main/wechat-detect.js"></script>
<script src="../js/notice-banner.js"></script>
</body>
</html>
+2
View File
@@ -8,6 +8,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Orbitron:wght@500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="../css/tech-query.css">
<link rel="stylesheet" href="../css/notice-banner.css">
<script src="https://cdn.jsdmirror.cn/gh/bishshi/wechat-detect@main/wechat-detect.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2"></script>
<script src="https://unpkg.com/html5-qrcode"></script>
@@ -223,5 +224,6 @@
document.getElementById('searchBtn').addEventListener('click', handleSearch);
initializeSearchTermFromUrl();
</script>
<script src="../js/notice-banner.js"></script>
</body>
</html>
+4 -1
View File
@@ -4,6 +4,8 @@
<meta charset="UTF-8">
<title>打印单据</title>
<link rel="stylesheet" href="../css/notice-banner.css">
<style>
body {
font-family: Arial, "Microsoft YaHei";
@@ -171,5 +173,6 @@ async function load() {
load();
</script>
<script src="https://cdn.jsdmirror.cn/gh/bishshi/wechat-detect@main/wechat-detect.js"></script>
<script src="../js/notice-banner.js"></script>
</body>
</html>
</html>