feat: 引入字体DEMO

This commit is contained in:
菲鸽 2024-01-30 20:46:54 +08:00
parent 77343b26b1
commit a883d015c7
3 changed files with 10 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<view class="text-center">
<view class="m-8"> http://localhost:9000/#/pages-sub/demo/index </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="center my-10">
<uv-icon name="photo" class="text-center m-auto"></uv-icon>

Binary file not shown.

View File

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