任一存 2 年之前
父節點
當前提交
7bc23d3446
共有 4 個文件被更改,包括 10 次插入2 次删除
  1. 9 2
      src/App.vue
  2. 二進制
      src/assets/style/Adobe Heiti Std.otf
  3. 二進制
      src/assets/style/DFLiShuW7.ttf
  4. 1 0
      src/views/HomeWeb.vue

+ 9 - 2
src/App.vue

@@ -1,6 +1,6 @@
 <template>
   <div id="app">
-    <router-view/>
+    <router-view />
   </div>
 </template>
 
@@ -18,5 +18,12 @@ html,body{
   width: 100%;
   height: 100%;
 }
-
+@font-face {
+  font-family: 'DFLiShuW7';
+  src: url('@/assets/style/DFLiShuW7.ttf');
+}
+@font-face {
+  font-family: 'Adobe Heiti Std';
+  src: url('@/assets/style/Adobe Heiti Std.otf');
+}
 </style>

二進制
src/assets/style/Adobe Heiti Std.otf


二進制
src/assets/style/DFLiShuW7.ttf


+ 1 - 0
src/views/HomeWeb.vue

@@ -325,6 +325,7 @@ export default {
       width: 362px;
       font-size: 16px;
       line-height: 26px;
+      font-family: Adobe Heiti Std;
       > p {
         margin-bottom: 10px;
         position: relative;