瀏覽代碼

添加字体

aaa 2 年之前
父節點
當前提交
539c6f1b80
共有 2 個文件被更改,包括 12 次插入5 次删除
  1. 二進制
      src/assets/fontFamily/ST.ttf
  2. 12 5
      src/styles/common.scss

二進制
src/assets/fontFamily/ST.ttf


+ 12 - 5
src/styles/common.scss

@@ -174,9 +174,16 @@ body {
 }
 
 /*引入字体-仿宋*/
+// @font-face {
+//   font-family: 'fangSong-FZFSJW';
+//   src: url('../assets/fontFamily/FZFSJW.TTF');
+//   font-weight: normal;
+//   font-style: normal;
+// }
+/*引入字体-宋体*/
 @font-face {
-  font-family: 'fangSong-FZFSJW';
-  src: url('../assets/fontFamily/FZFSJW.TTF');
-  font-weight: normal;
-  font-style: normal;
-}
+    font-family: 'fangSong-FZFSJW';
+    src: url('../assets/fontFamily/ST.ttf');
+    font-weight: normal;
+    font-style: normal;
+  }