From d600bbc25fb2e306d92cffafe2d7aa601daa536b Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期五, 12 十二月 2025 11:02:30 +0800
Subject: [PATCH] #AI
---
src/main/webapp/views/index.html | 68 +--------------------------------
1 files changed, 3 insertions(+), 65 deletions(-)
diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index e9ea1c7..86a8ab5 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -146,71 +146,6 @@
<!-- 鍙充笅瑙扴VG鍔ㄧ敾 -->
<div id="ai-assistant-btn" style="position: fixed; bottom: 40px; right: 20px; z-index: 9999; cursor: pointer;">
- <svg
- width="48"
- height="48"
- viewBox="0 0 64 64"
- xmlns="http://www.w3.org/2000/svg">
-
- <!-- 閫忔槑鑳屾櫙锛氫笉鐢讳换浣曞簳鑹插嵆鍙� -->
-
- <!-- 涓�鐐规煍鍜屽彂鍏夋晥鏋� -->
- <defs>
- <filter id="glow" x="-50%" y="-50%" width="200%" height="200%">
- <feGaussianBlur stdDeviation="2.5" result="blur"/>
- <feMerge>
- <feMergeNode in="blur"/>
- <feMergeNode in="SourceGraphic"/>
- </feMerge>
- </filter>
-
- <style>
- /* 鏁翠釜鍥炬爣鏃嬭浆鍔ㄧ敾 */
- .spinner {
- animation: spin 2.8s linear infinite;
- transform-origin: 50% 50%;
- }
-
- @keyframes spin {
- from { transform: rotate(0deg); }
- to { transform: rotate(360deg); }
- }
- </style>
- </defs>
-
- <!-- 鏃嬭浆缁� -->
- <g class="spinner" filter="url(#glow)">
- <!-- 姣忎竴鏉″僵鑹层�屽皬寮潯銆� -->
- <!-- 鍙互閫氳繃璋冩暣 rx/ry銆亀idth/height 鏉ユ敼绮楃粏鍜屽集搴� -->
- <!-- 1. 绱壊 -->
- <rect x="30" y="10" width="6" height="14" rx="3" ry="3" fill="#8b5cf6" />
-
- <!-- 2. 绮夎壊锛堥『鏃堕拡鏃嬭浆60掳锛� -->
- <g transform="rotate(60 32 32)">
- <rect x="30" y="10" width="6" height="14" rx="3" ry="3" fill="#f472b6" />
- </g>
-
- <!-- 3. 姗欒壊 -->
- <g transform="rotate(120 32 32)">
- <rect x="30" y="10" width="6" height="14" rx="3" ry="3" fill="#fb923c" />
- </g>
-
- <!-- 4. 閲戦粍 -->
- <g transform="rotate(180 32 32)">
- <rect x="30" y="10" width="6" height="14" rx="3" ry="3" fill="#fbbf24" />
- </g>
-
- <!-- 5. 闈掕壊 -->
- <g transform="rotate(240 32 32)">
- <rect x="30" y="10" width="6" height="14" rx="3" ry="3" fill="#22d3ee" />
- </g>
-
- <!-- 6. 钃濊壊 -->
- <g transform="rotate(300 32 32)">
- <rect x="30" y="10" width="6" height="14" rx="3" ry="3" fill="#3b82f6" />
- </g>
- </g>
- </svg>
</div>
<script type="text/javascript" src="../static/js/jquery/jquery-3.3.1.min.js"></script>
@@ -220,6 +155,9 @@
<script>
console.log('%c 涓壃绔嬪簱骞冲彴 %c 1.0.0','background-color:rgb(53,73,94);color: #fff;border-radius:2px 0 0 2px;padding:2px 4px;','background-color:rgb(25,190,107);color: #fff;border-radius:0 2px 2px 0;padding:2px 4px;font: 9pt "Apercu Regular", Georgia, "Times New Roman", Times, serif;');
$(function () {
+ // 娉ㄥ叆AI鍔╂墜鍥炬爣
+ $('#ai-assistant-btn').html(getAiIconHtml(60, 60));
+
if ("" === localStorage.getItem('token')) {
top.location.href = baseUrl + "/login";
}
--
Gitblit v1.9.1