From 7b9a1e81f2710a56d6961cd18721fc41136741d9 Mon Sep 17 00:00:00 2001
From: h_mo <596417202@qq.com>
Date: Thu, 6 Oct 2022 21:32:50 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=8C=E5=96=84FontAwesomeIcon=20dem?=
=?UTF-8?q?o?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/demo/example/fontAwesomeIcon/index.vue | 29 +++++++++++++++++++---
1 file changed, 26 insertions(+), 3 deletions(-)
diff --git a/src/demo/example/fontAwesomeIcon/index.vue b/src/demo/example/fontAwesomeIcon/index.vue
index a946f68..601ccab 100644
--- a/src/demo/example/fontAwesomeIcon/index.vue
+++ b/src/demo/example/fontAwesomeIcon/index.vue
@@ -1,6 +1,15 @@
@@ -10,16 +19,23 @@
在微信小程序中请不要引用全部字体,在组件目录index.scss中配置, 已测试: 支持H5, APP(安卓),
微信小程序
+
+ 全部icon请查看:
+ {{ iconLink }}
+
+
mode-不同风格,对应相应字体文件
solid (默认)
regular
+ light grid-2
light
thin
- duotone
- sharp-直角图标(只支持solid),对应相应字体文件
+ duotone trash-can-clock
+ duotone house
+ sharp-直角图标(只支持大部分solid),对应sharp字体文件
sharp
- mode(brands)-品牌logo,对应相应字体文件
+ mode(brands)-品牌logo,对应brands字体文件
bilibili
alipay
@@ -202,6 +218,13 @@
font-size: 26rpx;
font-weight: 500;
color: #ff253a;
+ .link {
+ margin-right: 16rpx;
+ &:hover {
+ opacity: 0.6;
+ text-decoration: underline;
+ }
+ }
}
.title {
font-size: 28rpx;