feat: 引入字体DEMO
This commit is contained in:
parent
77343b26b1
commit
a883d015c7
@ -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>
|
||||
|
BIN
src/style/PangMenZhengDaoBiaoTiTi-1.ttf
Normal file
BIN
src/style/PangMenZhengDaoBiaoTiTi-1.ttf
Normal file
Binary file not shown.
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user