diff --git a/.env.example b/.env.example
index 9f7b1ba..5ae98bb 100644
--- a/.env.example
+++ b/.env.example
@@ -35,7 +35,15 @@ VITE_SITE_START = "2020-10-24"
# ICP 备案号
## 若不需要,请设为空即可
-VITE_SITE_ICP = "豫ICP备2022018134号-1"
+VITE_SITE_ICP = "皖ICP备2025078205号"
+# I公安网备案号
+## 若不需要,请设为空即可
+VITE_SITE_PSR = "皖公网安备34040002000514号"
+
+# 时间字体
+## 默认值为 'UnidreamLED' ,使用该字体无法实现等宽字体,(注意字体名引号)
+## 添加字体请在 .\public\font 添加字体文件
+VITE_TIME_FRONT = "'UnidreamLED'"
# 歌曲 API 地址
## 请参照 https://github.com/xizeyoupan/Meting-API#deno-deploy 进行 API 服务部署
diff --git a/src/components/Footer.vue b/src/components/Footer.vue
index 870f2c3..6a6589e 100644
--- a/src/components/Footer.vue
+++ b/src/components/Footer.vue
@@ -27,6 +27,13 @@
{{ siteIcp }}
+
+
+ &
+
+ {{ sitePsr }}
+
+
@@ -56,6 +63,8 @@ const startYear = ref(
import.meta.env.VITE_SITE_START.substring(0, 4) : null
);
const siteIcp = ref(import.meta.env.VITE_SITE_ICP);
+// 添加:公安备案
+const sitePsr = ref(import.meta.env.VITE_SITE_PSR);
const siteAuthor = ref(import.meta.env.VITE_SITE_AUTHOR);
const siteUrl = computed(() => {
const url = import.meta.env.VITE_SITE_URL;
diff --git a/src/views/Func/index.vue b/src/views/Func/index.vue
index 031dcfc..ccc2c71 100644
--- a/src/views/Func/index.vue
+++ b/src/views/Func/index.vue
@@ -49,6 +49,9 @@ const updateTimeData = () => {
currentTime.value = getCurrentTime();
};
+// 引入配置项
+const timefornt = ref(import.meta.env.VITE_TIME_FRONT);
+
onMounted(() => {
updateTimeData();
timeInterval.value = setInterval(updateTimeData, 1000);
@@ -125,7 +128,8 @@ onBeforeUnmount(() => {
margin-top: 10px;
font-size: 3.25rem;
letter-spacing: 2px;
- font-family: "UnidreamLED";
+ font-family: v-bind(timefornt);
+ font-variant-numeric: tabular-nums; // 强制数字等宽
}
@media (min-width: 1201px) and (max-width: 1280px) {
font-size: 1rem;