From fe172c8807dd45c53aaa2aa8b4a0486a248ee985 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com>
Date: Fri, 16 Aug 2024 16:27:48 +0800
Subject: [PATCH] master
---
public/css/iconfont/demo_index.html | 75 ++++++++++++++++++++++++++--
public/css/iconfont/iconfont.css | 18 +++++--
public/css/iconfont/iconfont.js | 2 +-
public/css/iconfont/iconfont.json | 21 ++++++++
public/css/iconfont/iconfont.ttf | Bin 6540 -> 7020 bytes
public/css/iconfont/iconfont.woff | Bin 4076 -> 4340 bytes
public/css/iconfont/iconfont.woff2 | Bin 3384 -> 3576 bytes
7 files changed, 109 insertions(+), 7 deletions(-)
diff --git a/public/css/iconfont/demo_index.html b/public/css/iconfont/demo_index.html
index 57b6890..290bfca 100644
--- a/public/css/iconfont/demo_index.html
+++ b/public/css/iconfont/demo_index.html
@@ -54,6 +54,24 @@
+ -
+
+
error
+ 
+
+
+ -
+
+
successful
+ 
+
+
+ -
+
+
warning
+ 
+
+
-
payment
@@ -168,9 +186,9 @@
@font-face {
font-family: 'iconfont';
- src: url('iconfont.woff2?t=1708504618246') format('woff2'),
- url('iconfont.woff?t=1708504618246') format('woff'),
- url('iconfont.ttf?t=1708504618246') format('truetype');
+ src: url('iconfont.woff2?t=1723796605504') format('woff2'),
+ url('iconfont.woff?t=1723796605504') format('woff'),
+ url('iconfont.ttf?t=1723796605504') format('truetype');
}
第二步:定义使用 iconfont 的样式
@@ -196,6 +214,33 @@
+ -
+
+
+ error
+
+ .icon-error
+
+
+
+ -
+
+
+ successful
+
+ .icon-successful
+
+
+
+ -
+
+
+ warning
+
+ .icon-warning
+
+
+
-
@@ -367,6 +412,30 @@
+ -
+
+
error
+ #icon-error
+
+
+ -
+
+
successful
+ #icon-successful
+
+
+ -
+
+
warning
+ #icon-warning
+
+
-