diff --git a/example/lib/icons.dart b/example/lib/icons.dart index dbf602f..faea0ac 100644 --- a/example/lib/icons.dart +++ b/example/lib/icons.dart @@ -4,6 +4,28 @@ import 'package:yx_icon_fonts_example/example_icon.dart'; // 此文件由脚本自动生成! final icons = [ + // 其他图标 + ExampleIcon(YXIconFonts.icon32Clean, 'icon 32 clean'), + ExampleIcon(YXIconFonts.icon36Viewhistory, 'icon 36 viewhistory'), + ExampleIcon(YXIconFonts.icon36Revoke, 'icon 36 revoke'), + ExampleIcon(YXIconFonts.icon32Location, 'icon 32 location'), + ExampleIcon(YXIconFonts.icon24Mypoints, 'icon 24 mypoints'), + ExampleIcon(YXIconFonts.icon44Search, 'icon 44 search'), + ExampleIcon(YXIconFonts.icon36ClearPeople, 'icon 36 clear people'), + ExampleIcon(YXIconFonts.icon32Publish, 'icon 32 publish'), + ExampleIcon(YXIconFonts.icon32Close, 'icon 32 close'), + ExampleIcon(YXIconFonts.icon32Output, 'icon 32 output'), + ExampleIcon(YXIconFonts.icon24Download, 'icon 24 download'), + ExampleIcon(YXIconFonts.iconVoicePause, 'icon voice pause'), + ExampleIcon(YXIconFonts.iconVoice, 'icon voice'), + ExampleIcon(YXIconFonts.iconSubtract, 'icon subtract'), + ExampleIcon(YXIconFonts.icon44CancelAccount, 'icon 44 cancel account'), + ExampleIcon(YXIconFonts.icon24Search, 'icon 24 search'), + ExampleIcon(YXIconFonts.icon24Up, 'icon 24 up'), + ExampleIcon(YXIconFonts.icon24Minus, 'icon 24 minus'), + ExampleIcon(YXIconFonts.icon36OnlySee, 'icon 36 only see'), + ExampleIcon(YXIconFonts.icon24Plus, 'icon 24 plus'), + // 编辑相关图标 ExampleIcon(YXIconFonts.icon30Edit, 'icon 30 edit'), ExampleIcon(YXIconFonts.icon44Edit, 'icon 44 edit'), @@ -26,25 +48,6 @@ final icons = [ ExampleIcon(YXIconFonts.icon44Add, 'icon 44 add'), ExampleIcon(YXIconFonts.icon32Add, 'icon 32 add'), - // 其他图标 - ExampleIcon(YXIconFonts.icon32Location, 'icon 32 location'), - ExampleIcon(YXIconFonts.icon24Mypoints, 'icon 24 mypoints'), - ExampleIcon(YXIconFonts.icon44Search, 'icon 44 search'), - ExampleIcon(YXIconFonts.icon36ClearPeople, 'icon 36 clear people'), - ExampleIcon(YXIconFonts.icon32Publish, 'icon 32 publish'), - ExampleIcon(YXIconFonts.icon32Close, 'icon 32 close'), - ExampleIcon(YXIconFonts.icon32Output, 'icon 32 output'), - ExampleIcon(YXIconFonts.icon24Download, 'icon 24 download'), - ExampleIcon(YXIconFonts.iconVoicePause, 'icon voice pause'), - ExampleIcon(YXIconFonts.iconVoice, 'icon voice'), - ExampleIcon(YXIconFonts.iconSubtract, 'icon subtract'), - ExampleIcon(YXIconFonts.icon44CancelAccount, 'icon 44 cancel account'), - ExampleIcon(YXIconFonts.icon24Search, 'icon 24 search'), - ExampleIcon(YXIconFonts.icon24Up, 'icon 24 up'), - ExampleIcon(YXIconFonts.icon24Minus, 'icon 24 minus'), - ExampleIcon(YXIconFonts.icon36OnlySee, 'icon 36 only see'), - ExampleIcon(YXIconFonts.icon24Plus, 'icon 24 plus'), - // 个人中心相关图标 ExampleIcon(YXIconFonts.icon44MeAbout, 'icon 44 me about'), ExampleIcon(YXIconFonts.icon44MePointsmall, 'icon 44 me pointsmall'), diff --git a/fonts/iconfont.ttf b/fonts/iconfont.ttf index 24c1dee..df26bea 100644 Binary files a/fonts/iconfont.ttf and b/fonts/iconfont.ttf differ diff --git a/generate/icons.dart b/generate/icons.dart index a401c9e..494e25c 100644 --- a/generate/icons.dart +++ b/generate/icons.dart @@ -8,6 +8,9 @@ class FontIcons { FontIcons._(); // 其他图标 + static const IconData icon32Clean = YXIconFonts.icon32Clean; + static const IconData icon36Viewhistory = YXIconFonts.icon36Viewhistory; + static const IconData icon36Revoke = YXIconFonts.icon36Revoke; static const IconData icon32Location = YXIconFonts.icon32Location; static const IconData icon24Mypoints = YXIconFonts.icon24Mypoints; static const IconData icon44Search = YXIconFonts.icon44Search; diff --git a/iconfont.json b/iconfont.json index 2662405..c1121af 100644 --- a/iconfont.json +++ b/iconfont.json @@ -5,6 +5,27 @@ "css_prefix_text": "", "description": "劝学APP-学习官OA系统图标", "glyphs": [ + { + "icon_id": "46349152", + "name": "icon_32_clean", + "font_class": "icon_32_clean", + "unicode": "e660", + "unicode_decimal": 58976 + }, + { + "icon_id": "46348938", + "name": "icon_36_viewhistory", + "font_class": "icon_36_viewhistory", + "unicode": "e65f", + "unicode_decimal": 58975 + }, + { + "icon_id": "46205256", + "name": "icon_36_revoke", + "font_class": "icon_36_revoke", + "unicode": "e65e", + "unicode_decimal": 58974 + }, { "icon_id": "46077069", "name": "icon_30_edit", diff --git a/lib/src/yx_icon_fonts_data.dart b/lib/src/yx_icon_fonts_data.dart index feab3c9..239717b 100644 --- a/lib/src/yx_icon_fonts_data.dart +++ b/lib/src/yx_icon_fonts_data.dart @@ -9,6 +9,21 @@ class YXIconFonts { // 私有构造函数,防止实例化 YXIconFonts._(); + /// icon_32_clean 图标 + /// + /// Unicode: e660 + static const IconData icon32Clean = YXIconData(0xe660); + + /// icon_36_viewhistory 图标 + /// + /// Unicode: e65f + static const IconData icon36Viewhistory = YXIconData(0xe65f); + + /// icon_36_revoke 图标 + /// + /// Unicode: e65e + static const IconData icon36Revoke = YXIconData(0xe65e); + /// icon_30_edit 图标 /// /// Unicode: e65b