From c69f3903846f539fd145c4249b0bea875bd70fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E5=87=AF?= <2448379534@qq.com> Date: Thu, 2 Apr 2026 11:46:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=BF=81=E7=A7=BB=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/dianxingcuoshijieshao/index.vue | 5 +- frontend/src/modules/huanbaoMod/index.vue | 35 ++++------ .../src/modules/huanbaozdjcgzkzQK/index.vue | 68 ++++++++++--------- 3 files changed, 49 insertions(+), 59 deletions(-) diff --git a/frontend/src/modules/dianxingcuoshijieshao/index.vue b/frontend/src/modules/dianxingcuoshijieshao/index.vue index e722964..1f83a83 100644 --- a/frontend/src/modules/dianxingcuoshijieshao/index.vue +++ b/frontend/src/modules/dianxingcuoshijieshao/index.vue @@ -67,10 +67,7 @@ onMounted(() => { \ No newline at end of file diff --git a/frontend/src/modules/huanbaozdjcgzkzQK/index.vue b/frontend/src/modules/huanbaozdjcgzkzQK/index.vue index 5a15bc2..c44ad83 100644 --- a/frontend/src/modules/huanbaozdjcgzkzQK/index.vue +++ b/frontend/src/modules/huanbaozdjcgzkzQK/index.vue @@ -5,7 +5,7 @@
- +
{{ facility.name }}
@@ -20,15 +20,7 @@ - \ No newline at end of file diff --git a/frontend/src/modules/jidiInfoMod/index.vue b/frontend/src/modules/jidiInfoMod/index.vue index 0cc3b90..234cf57 100644 --- a/frontend/src/modules/jidiInfoMod/index.vue +++ b/frontend/src/modules/jidiInfoMod/index.vue @@ -43,6 +43,7 @@ onMounted(() => {}); } .basic_body1 { - width: 100%; + width: 100%; + line-break: anywhere; } diff --git a/frontend/src/modules/shuidianhuangjingjieruMod/DataTable.vue b/frontend/src/modules/shuidianhuangjingjieruMod/DataTable.vue index b644ed6..e473d15 100644 --- a/frontend/src/modules/shuidianhuangjingjieruMod/DataTable.vue +++ b/frontend/src/modules/shuidianhuangjingjieruMod/DataTable.vue @@ -27,7 +27,7 @@ const columns: ColumnsType = [ align: 'left' }, { - title: '装机容量 (万 kW)', + title: '装机容量 (万kW)', key: 'capacity', align: 'center', children: [ @@ -35,28 +35,28 @@ const columns: ColumnsType = [ title: '总计', dataIndex: 'total', key: 'total', - width: 70, + width: 73.6, align: 'center' }, { title: '已建', dataIndex: 'built', key: 'built', - width: 70, + width: 73.6, align: 'center' }, { title: '在建', dataIndex: 'building', key: 'building', - width: 70, + width: 73.6, align: 'center' }, { title: '未建', dataIndex: 'unbuilt', key: 'unbuilt', - width: 70, + width: 73.6, align: 'center' }, ] @@ -206,7 +206,7 @@ onMounted(() => { .data-table-container { padding: 0; background: #fff; - margin-top: 10px; + padding: 16px 0px; } .custom-table { diff --git a/frontend/src/styles/index.scss b/frontend/src/styles/index.scss index 63d92ac..fafb4af 100644 --- a/frontend/src/styles/index.scss +++ b/frontend/src/styles/index.scss @@ -95,3 +95,13 @@ svg { height: 98%; position: relative; } +//滚动条统一样式 +::-webkit-scrollbar { + width: 8px; + height: 8px; +} +::-webkit-scrollbar-thumb { + border-radius: 4px; + background: #bbb; + -webkit-box-shadow: inset 0 0 6px #ddd; +}