From 780ddbd4767eb0cc67bc40faa422faa810ac3052 Mon Sep 17 00:00:00 2001 From: yanyilin Date: Sat, 9 Nov 2024 20:07:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85uni-icon=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/css/common/at-rules.md | 184 ++++++++++++++++++++++++++++++++++++ 1 file changed, 184 insertions(+) diff --git a/docs/css/common/at-rules.md b/docs/css/common/at-rules.md index 8589d4b2..eef4ce88 100644 --- a/docs/css/common/at-rules.md +++ b/docs/css/common/at-rules.md @@ -2,6 +2,8 @@ +## 字体 + @font-face自定义字体示例: ```html ``` +### 内置字体图标 uni-icon @uniicon +> HBuilderX4.33版本开始 app-android、app-ios平台支持内置字体图标 uni-icon + +内置 `uni-icon` 字体图标示例: +```html + + + +``` + +内置 `uni-icon` 包括以下图标: + +
+
+
+ + \uE600 + forward +
+
+ + \uE601 + back +
+
+ + \uE602 + share +
+
+ + \uE604 + favorites +
+
+ + \uE605 + home +
+
+ + \uE606 + more +
+
+ + \uE650 + close +
+
+ + \uE661 + down +
+
+ + \uEA01 + circle +
+
+ + \uEA03 + info +
+
+ + \uEA04 + info circle +
+
+ + \uEA06 + success +
+
+ + \uEA07 + success circle +
+
+ + \uEA08 + success no circle +
+
+ + \uEA0B + cancel circle +
+
+ + \uEA0F + warn +
+
+ + \uEA14 + clear +
+
+ + \uEA19 + download +
+
+ + \uEA1E + waiting +
+
+ + \uEA23 + search +
+
+
+ + + ## Tips - `字体路径`支持**网络**和**本地**,本地字体请注意放在项目或uni_modules的static目录下。 + + -- GitLab