refactor: 重构字体文件路径及图标资源结构

- 将字体文件从中文路径改为英文路径
- 重新组织图标资源目录结构
- 更新相关文件引用路径
- 修改全局字体CSS配置
- 修复页面图标引用
This commit is contained in:
赵正易 2025-08-23 14:01:23 +08:00
parent a48ea6f110
commit fd83f5ea36
48 changed files with 29 additions and 30 deletions

View File

@ -148,7 +148,7 @@
}
},
{
"path" : "pages/menuChouse/menuChouse",
"path" : "pages/menu-choose/menuChouse",
"style" :
{
"navigationBarTitleText" : "功能选择",

View File

@ -40,112 +40,112 @@ export default {
//
gridItemList: [{
name: '成品入库',
icon: '入库/成品入库',
icon: 'inbound/finished-product-inbound',
url: '/pages/inWarehouse/inWarehouse?isStrict=true',
type: 1,
index: 1
},
{
name: '油漆入库',
icon: '入库/油漆入库',
icon: 'inbound/paint-inbound',
url: '',
type: 1,
index: 2
},
{
name: '毛坯入库',
icon: '入库/毛坯入库',
icon: 'inbound/rough-casting-inbound',
url: '',
type: 1,
index: 3
},
{
name: '备件入库',
icon: '入库/备件入库',
icon: 'inbound/spare-parts-inbound',
url: '',
type: 1,
index: 4
},
{
name: '无校验入库',
icon: '入库/无校验入库',
icon: 'inbound/no-validation-inbound',
url: '/pages/inWarehouse/inWarehouse?isStrict=false',
type: 1,
index: 14
},
{
name: '成品出库',
icon: '出库/成品出库',
icon: 'outbound/finished-product-outbound',
url: '/pages/outWarehouse/outWarehouse',
type: 2,
index: 5
},
{
name: '无校验出库',
icon: '出库/无出库单出库',
icon: 'outbound/no-outbound-order',
url: '/pages/returnWarehouse/returnWarehouse',
type: 2,
index: 15
},
{
name: '出货',
icon: '出库/出货',
icon: 'outbound/shipping',
url: '',
type: 2,
index: 6
},
{
name: '退货',
icon: '出库/退货',
icon: 'outbound/return',
url: '',
type: 2,
index: 7
},
{
name: '盘点',
icon: '库存管理/盘点',
icon: 'inventory-management/stocktake',
url: '/pages/stocktake/stocktake',
type: 3,
index: 8
},
{
name: '库存查询',
icon: '库存管理/库存查询',
icon: 'inventory-management/inventory-query',
url: '/pages/watchGoods/watchGoods',
type: 3,
index: 9
},
{
name: '操作记录',
icon: '库存管理/操作记录',
icon: 'inventory-management/operation-record',
url: '/pages/warehoseActionList/warehoseActionList',
type: 3,
index: 10
},
{
name: '扫描管理',
icon: '库存管理/扫描管理',
icon: 'inventory-management/scan-management',
url: '/pages/scan/scan',
type: 3,
index: 14
},
{
name: '拼箱',
icon: '库内管理/拼箱',
icon: 'warehouse-management/consolidation',
url: '/pages/consolidation/consolidation',
type: 4,
index: 11
},
{
name: '拆箱',
icon: '库内管理/拆箱',
icon: 'warehouse-management/unpacking',
url: '/pages/unpacking/unpacking',
type: 4,
index: 12
},
{
name: '移库',
icon: '库内管理/移库',
icon: 'warehouse-management/relocation',
url: '/pages/relocation/relocation',
type: 4,
index: 13

View File

@ -37,37 +37,37 @@
//
gridItemList: [{
name: '仓库配料',
icon: '仓库配料',
icon: 'warehouse-material',
url: '/pages/materialManagement/MaterialProductionInput/MaterialProductionInput',
type: 1,
},
{
name: '车间叫料',
icon: '车间叫料',
icon: 'workshop-call-material',
url: '/pages/materialManagement/MaterialRequisition/MaterialRequisition',
type: 1,
},
{
name: '车间进料',
icon: '车间进料',
icon: 'workshop-feed-material',
url: '/pages/materialManagement/MaterialFeeding/MaterialFeeding',
type: 1,
},
{
name: '成品入库',
icon: '成品入库',
icon: 'finished-product-inbound',
url: '/pages/materialManagement/MaterialWarehousing/MaterialWarehousing',
type: 2,
},
{
name: '进箱',
icon: '进箱',
icon: 'into-box',
url: '/pages/materialManagement/package/package',
type: 3,
},
{
name: '全点位移动',
icon: '全点位移动',
icon: 'full-position-move',
url: '/pages/materialManagement/AGVRemoteControl/AGVRemoteControl',
type: 4,
},

View File

@ -1,18 +1,18 @@
@font-face {
font-family: '数黑体';
src: url('@/static/font/数黑体/AlimamaShuHeiTi-Bold.ttf') format('truetype'),
url('@/static/font/数黑体/AlimamaShuHeiTi-Bold.woff') format('woff'),
url('@/static/font/数黑体/AlimamaShuHeiTi-Bold.woff2') format('woff2');
font-family: 'SHT';
src: url('@/static/font/shuhe-ti/AlimamaShuHeiTi-Bold.ttf') format('truetype'),
url('@/static/font/shuhe-ti/AlimamaShuHeiTi-Bold.woff') format('woff'),
url('@/static/font/shuhe-ti/AlimamaShuHeiTi-Bold.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
/* 设置全局默认字体 */
body, page {
font-family: '数黑体', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: 'SHT', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
/* 为所有元素设置默认字体 */
* {
font-family: '数黑体', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: 'SHT', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

View File

Before

Width:  |  Height:  |  Size: 870 B

After

Width:  |  Height:  |  Size: 870 B

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 856 B

After

Width:  |  Height:  |  Size: 856 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -1 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1755762474972" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6345" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><path d="M186.24 0h651.52Q1024 0 1024 186.24v651.52Q1024 1024 837.76 1024H186.24Q0 1024 0 837.76V186.24Q0 0 186.24 0z" fill="#F4AC38" p-id="6346"></path><path d="M580.48 683.2a32 32 0 0 0 32 0 12.8 12.8 0 0 0 0-22.72l-84.8-58.24a32 32 0 0 0-32 0l-84.8 58.24a13.12 13.12 0 0 0 0 22.72 32 32 0 0 0 32 0l45.12-32v129.92a24.32 24.32 0 0 0 46.72 0v-128.96z" fill="#FFFFFF" p-id="6347"></path><path d="M768 347.84a13.76 13.76 0 0 0-1.92-7.04 16.64 16.64 0 0 0-4.8-5.76l-136.96-105.92-4.48-2.24h-2.88A40.32 40.32 0 0 0 608 224h-282.24A64 64 0 0 0 256 278.08v467.84A64 64 0 0 0 325.76 800h101.44a18.56 18.56 0 1 0 0-35.84h-101.44a21.44 21.44 0 0 1-23.36-18.24V278.08a21.12 21.12 0 0 1 23.36-17.92h258.88v87.68a21.12 21.12 0 0 0 23.36 17.92h113.6v380.16a21.44 21.44 0 0 1-23.36 18.24h-96a18.56 18.56 0 1 0 0 35.84h96A64 64 0 0 0 768 745.92V347.84z m-136.64-17.92V285.44l57.28 44.48z" fill="#FFFFFF" p-id="6348"></path><path d="M397.12 529.92h229.76a21.12 21.12 0 0 0 23.36-17.92 21.12 21.12 0 0 0-23.36-17.92h-229.76a21.12 21.12 0 0 0-23.36 17.92 21.12 21.12 0 0 0 23.36 17.92zM397.12 432.32h229.76a21.12 21.12 0 0 0 23.36-17.92 21.44 21.44 0 0 0-23.36-18.24h-229.76a21.44 21.44 0 0 0-23.36 18.24 21.12 21.12 0 0 0 23.36 17.92z" fill="#FFFFFF" p-id="6349"></path></svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 870 B

After

Width:  |  Height:  |  Size: 870 B

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB