From eacb781023a39ad8906d1d91a5834b95c7c6d327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Mon, 29 Dec 2025 19:39:05 +0800 Subject: [PATCH] =?UTF-8?q?iconfont=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/factory/components/Resource/index.jsx | 4 ++-- src/factory/resource/components/Search/index.jsx | 8 ++++---- src/factory/resource/developmentTools/index.jsx | 2 +- src/factory/resource/factoryVersion/index.jsx | 2 +- src/factory/resource/softwareProject/index.jsx | 12 ++++++------ src/images/iconfont/iconfont.css | 6 +++--- src/images/iconfont/iconfont.json | 4 ++-- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/factory/components/Resource/index.jsx b/src/factory/components/Resource/index.jsx index d6aaa632..1f2be730 100644 --- a/src/factory/components/Resource/index.jsx +++ b/src/factory/components/Resource/index.jsx @@ -177,8 +177,8 @@ const Resource = forwardRef(({ zoneId }, ref) => { }
{projectProperties.description}
- {projectProperties.forkedCount} - {projectProperties.praisesCount} + {projectProperties.forkedCount} + {projectProperties.praisesCount}
}) diff --git a/src/factory/resource/components/Search/index.jsx b/src/factory/resource/components/Search/index.jsx index a6e6a239..87440419 100644 --- a/src/factory/resource/components/Search/index.jsx +++ b/src/factory/resource/components/Search/index.jsx @@ -98,8 +98,8 @@ function Index({searchValue, searchType},ref) {
- {project.forkedCount} - {project.praisesCount} + {project.forkedCount} + {project.praisesCount}
@@ -134,7 +134,7 @@ function Index({searchValue, searchType},ref) { {item.summary}
- {item.downloadCount} + {item.downloadCount}
@@ -160,7 +160,7 @@ function Index({searchValue, searchType},ref) {
{item.name}

{item.summary}

- {item.createTime} + {item.createTime}
}) diff --git a/src/factory/resource/developmentTools/index.jsx b/src/factory/resource/developmentTools/index.jsx index b9d00995..9c27e0e7 100644 --- a/src/factory/resource/developmentTools/index.jsx +++ b/src/factory/resource/developmentTools/index.jsx @@ -260,7 +260,7 @@ function Index(props) { {item.summary}
- {item.downloadCount} + {item.downloadCount}
diff --git a/src/factory/resource/factoryVersion/index.jsx b/src/factory/resource/factoryVersion/index.jsx index 0d467bf9..390e958c 100644 --- a/src/factory/resource/factoryVersion/index.jsx +++ b/src/factory/resource/factoryVersion/index.jsx @@ -46,7 +46,7 @@ function Index(props) {

{item.summary}

- {item.createTime} + {item.createTime}
diff --git a/src/factory/resource/softwareProject/index.jsx b/src/factory/resource/softwareProject/index.jsx index 45d12a35..355ef068 100644 --- a/src/factory/resource/softwareProject/index.jsx +++ b/src/factory/resource/softwareProject/index.jsx @@ -98,8 +98,8 @@ function Index(props) { 捐赠者
{project.name.split('/')[0]}
- {project.forkedCount} - {project.praisesCount} + {project.forkedCount} + {project.praisesCount}
@@ -144,8 +144,8 @@ function Index(props) { {project.description}
- {project.forkedCount} - {project.praisesCount} + {project.forkedCount} + {project.praisesCount}
}) @@ -195,8 +195,8 @@ function Index(props) { {!project.description ? '暂无简介' : project.description}
- {project.forkedCount} - {project.praisesCount} + {project.forkedCount} + {project.praisesCount}
diff --git a/src/images/iconfont/iconfont.css b/src/images/iconfont/iconfont.css index 26752496..709902ba 100644 --- a/src/images/iconfont/iconfont.css +++ b/src/images/iconfont/iconfont.css @@ -1,12 +1,12 @@ @font-face { - font-family: "iconfont"; /* Project id 5081288 */ + font-family: "iconfont-factory"; /* Project id 5081288 */ src: url('iconfont.woff2?t=1766461445149') format('woff2'), url('iconfont.woff?t=1766461445149') format('woff'), url('iconfont.ttf?t=1766461445149') format('truetype'); } -.iconfont { - font-family: "iconfont" !important; +.iconfont-factory { + font-family: "iconfont-factory" !important; font-size: 16px; font-style: normal; -webkit-font-smoothing: antialiased; diff --git a/src/images/iconfont/iconfont.json b/src/images/iconfont/iconfont.json index 4f6601d1..572da2f4 100644 --- a/src/images/iconfont/iconfont.json +++ b/src/images/iconfont/iconfont.json @@ -1,8 +1,8 @@ { "id": "5081288", "name": "软件工厂专区", - "font_family": "iconfont", - "css_prefix_text": "icon-", + "font_family": "iconfont-factory", + "css_prefix_text": "iconfactory-", "description": "", "glyphs": [ {