From ba71c3e42cef4393d49aa9e644ecaf64b2795c60 Mon Sep 17 00:00:00 2001 From: tao Date: Tue, 13 Jan 2026 09:16:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E5=B1=80=E8=A1=A8=E6=A0=BC=E5=8F=8A?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 3 --- src/assets/styles/custom/ant-design.scss | 11 +++++++++++ src/assets/styles/custom/index.scss | 3 ++- src/views/traceOrderManage/index.vue | 12 ------------ .../traceOrderManage/infeed/equipment/index.vue | 2 +- .../infeed/primaryMaterial/index.vue | 4 ++-- 6 files changed, 16 insertions(+), 19 deletions(-) create mode 100644 src/assets/styles/custom/ant-design.scss diff --git a/components.d.ts b/components.d.ts index c6ae86f..f80a54d 100644 --- a/components.d.ts +++ b/components.d.ts @@ -19,7 +19,6 @@ declare module 'vue' { ADropdown: typeof import('ant-design-vue/es')['Dropdown'] AForm: typeof import('ant-design-vue/es')['Form'] AFormItem: typeof import('ant-design-vue/es')['FormItem'] - AImage: typeof import('ant-design-vue/es')['Image'] AInput: typeof import('ant-design-vue/es')['Input'] AInputPassword: typeof import('ant-design-vue/es')['InputPassword'] AMenu: typeof import('ant-design-vue/es')['Menu'] @@ -43,7 +42,6 @@ declare module 'vue' { HoldTraceOrder: typeof import('./src/components/traceOrderManage/holdTraceOrder.vue')['default'] ILucideBuilding: typeof import('~icons/lucide/building')['default'] ILucideChevronDown: typeof import('~icons/lucide/chevron-down')['default'] - ILucideChevronLeft: typeof import('~icons/lucide/chevron-left')['default'] ILucideChevronUp: typeof import('~icons/lucide/chevron-up')['default'] ILucideCopy: typeof import('~icons/lucide/copy')['default'] ILucideCpu: typeof import('~icons/lucide/cpu')['default'] @@ -52,7 +50,6 @@ declare module 'vue' { ILucideRefreshCw: typeof import('~icons/lucide/refresh-cw')['default'] ILucideRotateCcw: typeof import('~icons/lucide/rotate-ccw')['default'] ILucideRotateCw: typeof import('~icons/lucide/rotate-cw')['default'] - ILucideSave: typeof import('~icons/lucide/save')['default'] ILucideShieldCheck: typeof import('~icons/lucide/shield-check')['default'] ILucideUser: typeof import('~icons/lucide/user')['default'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/assets/styles/custom/ant-design.scss b/src/assets/styles/custom/ant-design.scss new file mode 100644 index 0000000..d75fdd1 --- /dev/null +++ b/src/assets/styles/custom/ant-design.scss @@ -0,0 +1,11 @@ +.ant-table { + .ant-table-thead > tr > th { + font-weight: bold; + font-size: clamp(14px, 1.2vw, 18px); + } + + .ant-table-tbody > tr > td { + padding: 12px 8px; + font-size: clamp(12px, 1vw, 16px); + } +} \ No newline at end of file diff --git a/src/assets/styles/custom/index.scss b/src/assets/styles/custom/index.scss index 2439969..2458902 100644 --- a/src/assets/styles/custom/index.scss +++ b/src/assets/styles/custom/index.scss @@ -1 +1,2 @@ -@forward './button'; \ No newline at end of file +@forward './button'; +@forward './ant-design'; \ No newline at end of file diff --git a/src/views/traceOrderManage/index.vue b/src/views/traceOrderManage/index.vue index 89ba453..83a566b 100644 --- a/src/views/traceOrderManage/index.vue +++ b/src/views/traceOrderManage/index.vue @@ -80,17 +80,5 @@ function rowClick(record: TableItem) { .table-wrapper { height: 100%; overflow: auto; - - .custom-table { - :deep(.ant-table-thead > tr > th) { - font-weight: bold; - font-size: clamp(14px, 1.2vw, 20px); - } - - :deep(.ant-table-tbody > tr > td) { - padding: 12px 8px; - font-size: clamp(14px, 1vw, 20px); - } - } } diff --git a/src/views/traceOrderManage/infeed/equipment/index.vue b/src/views/traceOrderManage/infeed/equipment/index.vue index 3136de2..c799d39 100644 --- a/src/views/traceOrderManage/infeed/equipment/index.vue +++ b/src/views/traceOrderManage/infeed/equipment/index.vue @@ -122,7 +122,7 @@ fetchBoundEquipmentList() - 绑定 + 绑定
diff --git a/src/views/traceOrderManage/infeed/primaryMaterial/index.vue b/src/views/traceOrderManage/infeed/primaryMaterial/index.vue index e879635..c9d3045 100644 --- a/src/views/traceOrderManage/infeed/primaryMaterial/index.vue +++ b/src/views/traceOrderManage/infeed/primaryMaterial/index.vue @@ -146,13 +146,13 @@ fetchPrimaryMaterialList() - 录入 + 录入 - 录入 + 录入