From 1eba515718ec0420b8e6f3353c12179539d4c8b1 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期一, 24 八月 2026 11:32:30 +0800
Subject: [PATCH] fix 修改页面

---
 src/preferences.ts    |    2 +-
 /dev/null             |    0 
 截图/img.png            |    0 
 public/logos/xgdl.svg |   15 +++++++++++++++
 company.config.ts     |    6 +++---
 public/logos/xgdl.png |   15 +++++++++++++++
 src/main.ts           |   19 ++++++-------------
 7 files changed, 40 insertions(+), 17 deletions(-)

diff --git a/company.config.ts b/company.config.ts
index 3ca35b2..7529eb8 100644
--- a/company.config.ts
+++ b/company.config.ts
@@ -18,9 +18,9 @@
  */
 export const companies: Record<string, CompanyConfig> = {
   TEST: {
-    name: '娴嬭瘯鍏徃',
-    logo: '/logos/TEST.png',
-    favicon: '/logos/TEST.ico',
+    name: '鏂伴珮鏁板瓧宸ュ巶鎺у埗涓績',
+    logo: '/logos/xgdl.svg',
+    favicon: '/logos/xgdl.svg',
     apiUrl: 'http://36.213.90.123:9501/admin-api',
   },
   JHHG: {
diff --git a/public/favicon.ico b/public/favicon.ico
deleted file mode 100644
index fcf9818..0000000
--- a/public/favicon.ico
+++ /dev/null
Binary files differ
diff --git a/public/logos/xgdl.png b/public/logos/xgdl.png
new file mode 100644
index 0000000..aa00329
--- /dev/null
+++ b/public/logos/xgdl.png
@@ -0,0 +1,15 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
+  <defs>
+    <linearGradient id="xgdl-bg" x1="0" y1="0" x2="1" y2="1">
+      <stop offset="0" stop-color="#0B3E9B"/>
+      <stop offset="1" stop-color="#0057D8"/>
+    </linearGradient>
+  </defs>
+  <!-- 娣辫摑娓愬彉鍦嗗窘绔狅細鐢靛姏涓撲笟鍩鸿皟 -->
+  <circle cx="32" cy="32" r="30" fill="url(#xgdl-bg)"/>
+  <circle cx="32" cy="32" r="30" fill="none" stroke="#13C2C2" stroke-width="1.5" stroke-opacity="0.55"/>
+  <!-- 鐧借壊闂數锛氱數鍔涚鍙� -->
+  <path d="M36 8 L17 35 L27 35 L23 56 L47 23 L35 23 Z" fill="#FFFFFF"/>
+  <!-- 鐢靛厜闈掕兘閲忓洖璺姬绾� -->
+  <path d="M10 46 A 30 30 0 0 0 18 54" fill="none" stroke="#13C2C2" stroke-width="3.5" stroke-linecap="round"/>
+</svg>
diff --git a/public/logos/xgdl.svg b/public/logos/xgdl.svg
new file mode 100644
index 0000000..aa00329
--- /dev/null
+++ b/public/logos/xgdl.svg
@@ -0,0 +1,15 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
+  <defs>
+    <linearGradient id="xgdl-bg" x1="0" y1="0" x2="1" y2="1">
+      <stop offset="0" stop-color="#0B3E9B"/>
+      <stop offset="1" stop-color="#0057D8"/>
+    </linearGradient>
+  </defs>
+  <!-- 娣辫摑娓愬彉鍦嗗窘绔狅細鐢靛姏涓撲笟鍩鸿皟 -->
+  <circle cx="32" cy="32" r="30" fill="url(#xgdl-bg)"/>
+  <circle cx="32" cy="32" r="30" fill="none" stroke="#13C2C2" stroke-width="1.5" stroke-opacity="0.55"/>
+  <!-- 鐧借壊闂數锛氱數鍔涚鍙� -->
+  <path d="M36 8 L17 35 L27 35 L23 56 L47 23 L35 23 Z" fill="#FFFFFF"/>
+  <!-- 鐢靛厜闈掕兘閲忓洖璺姬绾� -->
+  <path d="M10 46 A 30 30 0 0 0 18 54" fill="none" stroke="#13C2C2" stroke-width="3.5" stroke-linecap="round"/>
+</svg>
diff --git a/src/main.ts b/src/main.ts
index b692f75..2eb3d72 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -3,9 +3,7 @@
 
 import { overridesPreferences, preferencesExtension } from './preferences';
 
-declare const __APP_LOGO__: string;
 declare const __APP_FAVICON__: string;
-declare const __APP_NAME__: string;
 
 /**
  * 搴旂敤鍒濆鍖栧畬鎴愪箣鍚庡啀杩涜椤甸潰鍔犺浇娓叉煋
@@ -24,17 +22,12 @@
     overrides: overridesPreferences,
   });
 
-  // 寮哄埗瑕嗙洊鍏徃 logo 鍜� favicon锛岀粫杩� localStorage 缂撳瓨
-  if (__APP_LOGO__) {
-    preferencesManager.updatePreferences({ logo: { source: __APP_LOGO__ } });
-  }
-  // 寮哄埗瑕嗙洊鍏徃鍚嶇О锛岀粫杩� localStorage 缂撳瓨
-  if (__APP_NAME__) {
-    preferencesManager.updatePreferences({
-      app: { name: __APP_NAME__ },
-      copyright: { companyName: __APP_NAME__ },
-    });
-  }
+  // 寮哄埗瑕嗙洊鍏徃 logo 鍜屽悕绉帮紝閬垮厤鏃х紦瀛樻仮澶嶅巻鍙插搧鐗岄厤缃�
+  preferencesManager.updatePreferences({
+    app: { name: '鏂伴珮鐢靛姏鏅洪�犲钩鍙�' },
+    copyright: { companyName: '鏂伴珮鐢靛姏鏅洪�犲钩鍙�' },
+    logo: { source: '/logos/xgdl.svg' },
+  });
   if (__APP_FAVICON__) {
     const link = document.querySelector('link[rel="icon"]');
     if (link) {
diff --git a/src/preferences.ts b/src/preferences.ts
index 4da3a4e..9beffd0 100644
--- a/src/preferences.ts
+++ b/src/preferences.ts
@@ -36,7 +36,7 @@
     companySiteLink: '#',
   },
   logo: {
-    source: __APP_LOGO__ || undefined,
+    source: '/logos/xgdl.svg',
   },
   tabbar: {
     /** 鍒锋柊娴忚鍣ㄥ悗鍙繚鐣欏綋鍓嶉〉闈紝涓嶆寔涔呭寲鎵�鏈夋爣绛鹃〉 */
diff --git "a/\346\210\252\345\233\276/img.png" "b/\346\210\252\345\233\276/img.png"
new file mode 100644
index 0000000..f721ab5
--- /dev/null
+++ "b/\346\210\252\345\233\276/img.png"
Binary files differ

--
Gitblit v1.9.3