From 06d7808b05f797e6f31a108b520379fcd3542a30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E7=8E=B2?= <8702040+cai-ling@user.noreply.gitee.com> Date: Mon, 30 Sep 2024 10:07:18 +0800 Subject: [PATCH] css --- src/pages/modules/home_960/left.vue | 10 ++++------ src/pages/modules/home_960/style.stylus | 9 ++++++--- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/pages/modules/home_960/left.vue b/src/pages/modules/home_960/left.vue index 85040d7..69ebc0b 100644 --- a/src/pages/modules/home_960/left.vue +++ b/src/pages/modules/home_960/left.vue @@ -89,12 +89,10 @@

A
G
V

-
-
-
-

{{ e.point_code }}

-

{{ e.material_name }}

-
+
+
+

{{ e.point_code }}

+

{{ e.material_name }}

diff --git a/src/pages/modules/home_960/style.stylus b/src/pages/modules/home_960/style.stylus index c234e38..87ab484 100644 --- a/src/pages/modules/home_960/style.stylus +++ b/src/pages/modules/home_960/style.stylus @@ -63,6 +63,10 @@ h1 width calc(43.9% - 20px) height 100% .hwpl_wrap_2 + display flex + flex-wrap wrap + justify-content space-between + align-content space-between width calc(56.1% - 20px) height 100% .gd_wrap @@ -137,11 +141,11 @@ h1 .hw_wrap align-content: flex-start; // height 23.4% - margin-top 12px + margin-top 8px &:first-child margin-top 0 .hw_item - _wh(13.6%, 25px) + _wh(13.6%, 23.5px) padding 2px margin-top 3px border-radius 4px @@ -151,7 +155,6 @@ h1 overflow hidden .hw_item_2 width: 10.5%; - height: 4.92%; margin-top 0 .hw_item_i _wh(100%, 100%)