diff --git a/pages/API/load-font-face/load-font-face-child.uvue b/pages/API/load-font-face/load-font-face-child.uvue index be09983d15f16db5fbe89c537b186a84422f061b..54008af7ad1a0732b128d910877892fb5d1a8f70 100644 --- a/pages/API/load-font-face/load-font-face-child.uvue +++ b/pages/API/load-font-face/load-font-face-child.uvue @@ -2,28 +2,53 @@ - 全局加载 font-family: uni.ttf上一页全局加载字体: + font-family: uni.ttf - + {{ + uniIcon1 + }} + \ue100 + {{ + uniIcon2 + }} + \ue101 + + 上一页非全局加载字体: + font-family: 阿里妈妈刀隶体-ttf - font-family: 阿里妈妈刀隶体-otf - font-family: 阿里妈妈刀隶体-woff font-family: 阿里妈妈刀隶体-woff2 + > --> + + diff --git a/pages/API/load-font-face/load-font-face.uvue b/pages/API/load-font-face/load-font-face.uvue index 0e4d9455a50c3ecb90321a616866733baed2e0cc..fb2dae7f0f373388f28480553e6957d6c7d3557d 100644 --- a/pages/API/load-font-face/load-font-face.uvue +++ b/pages/API/load-font-face/load-font-face.uvue @@ -2,28 +2,45 @@ - 全局加载 font-family: uni.ttf全局加载字体: + font-family: uni.ttf - + {{ + uniIcon1 + }} + \ue100 + {{ + uniIcon2 + }} + \ue101 + + 非全局加载字体: + font-family: 阿里妈妈刀隶体-ttf (网络字体下载后生效) - - font-family: 阿里妈妈刀隶体-otf - font-family: 阿里妈妈刀隶体-woff font-family: 阿里妈妈刀隶体-woff2 + > -->