任一存 1 vuosi sitten
vanhempi
commit
7d4856ac04

+ 2 - 1
src/App.vue

@@ -244,7 +244,8 @@ html, body {
 // 字体
 // 字体
 @font-face {
 @font-face {
   font-family: 'Source Han Sans CN';
   font-family: 'Source Han Sans CN';
-  src: url('@/assets/style/SourceHanSansCN-Regular.otf');
+  src: url('@/assets/style/SOURCEHANSANSCN-LIGHT.OTF');
+  // src: url('@/assets/style/SourceHanSansCN-Regular.otf');
 }
 }
 // @font-face {
 // @font-face {
 //   font-family: 'Source Han Serif CN-Bold';
 //   font-family: 'Source Han Serif CN-Bold';

BIN
src/assets/style/SOURCEHANSANSCN-LIGHT.OTF


+ 2 - 2
src/router/index.js

@@ -101,8 +101,8 @@ const router = createRouter({
 
 
 router.beforeEach((to, from) => {
 router.beforeEach((to, from) => {
   // 生产环境下强制每次都从首页进入
   // 生产环境下强制每次都从首页进入
-  if (process.env.NODE_ENV === 'production' && !from.name && to.name !== 'HomeView') {
-    return '/'
+  if (process.env.NODE_ENV !== 'development' && !from.name && to.name !== 'HomeView') {
+    return '/home'
   }
   }
 })
 })
 
 

+ 1 - 1
src/views/HomeView.vue

@@ -836,7 +836,7 @@ const iframeUrl = ref('')
         font-weight: 400;
         font-weight: 400;
         font-size: 14px;
         font-size: 14px;
         color: #589498;
         color: #589498;
-        line-height: 16px;
+        line-height: 20px;
         text-indent: 2em;
         text-indent: 2em;
         height: 91px;
         height: 91px;
         overflow: auto;
         overflow: auto;