菲鸽 пре 2 година
родитељ
комит
a883d015c7
3 измењених фајлова са 10 додато и 1 уклоњено
  1. 1 1
      src/pages-sub/demo/index.vue
  2. BIN
      src/style/PangMenZhengDaoBiaoTiTi-1.ttf
  3. 9 0
      src/style/index.scss

+ 1 - 1
src/pages-sub/demo/index.vue

@@ -8,7 +8,7 @@
   <view class="text-center">
   <view class="text-center">
     <view class="m-8"> http://localhost:9000/#/pages-sub/demo/index </view>
     <view class="m-8"> http://localhost:9000/#/pages-sub/demo/index </view>
     <view class="text-green-500"> 分包页面demo </view>
     <view class="text-green-500"> 分包页面demo </view>
-    <view class="test">test global css</view>
+    <view class="test titi">test global css</view>
     <view class="text-green-500 text-xl mt-10">uvui 引入演示</view>
     <view class="text-green-500 text-xl mt-10">uvui 引入演示</view>
     <view class="center my-10">
     <view class="center my-10">
       <uv-icon name="photo" class="text-center m-auto"></uv-icon>
       <uv-icon name="photo" class="text-center m-auto"></uv-icon>

BIN
src/style/PangMenZhengDaoBiaoTiTi-1.ttf


+ 9 - 0
src/style/index.scss

@@ -2,3 +2,12 @@
   margin-top: 4px;
   margin-top: 4px;
   color: red;
   color: red;
 }
 }
+
+@font-face {
+  font-family: TiTi;
+  src: url('./PangMenZhengDaoBiaoTiTi-1.ttf');
+}
+
+.titi {
+  font-family: TiTi, Arial, sans-serif;
+}