From 91c7983c00104aadf7a3b16b0747c99cba54c886 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 09:51:43 +0800 Subject: [PATCH] css --- src/pages/modules/home_960/left.vue | 4 ++-- src/pages/modules/home_960/style.stylus | 13 +++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/pages/modules/home_960/left.vue b/src/pages/modules/home_960/left.vue index aa9031e..85040d7 100644 --- a/src/pages/modules/home_960/left.vue +++ b/src/pages/modules/home_960/left.vue @@ -15,7 +15,7 @@
1排
-
+

总货位数

{{detail.sum1}}个

@@ -35,7 +35,7 @@
2排
-
+

总货位数

{{detail.sum2}}个

diff --git a/src/pages/modules/home_960/style.stylus b/src/pages/modules/home_960/style.stylus index 007a977..c234e38 100644 --- a/src/pages/modules/home_960/style.stylus +++ b/src/pages/modules/home_960/style.stylus @@ -92,11 +92,14 @@ h1 background-color rgba(14, 82, 140, 50%) .pie_num_wrap // margin-bottom 10px + align-items: flex-start .pie_wrap - width 50px + width 60px +.all_num_wrap + width calc(50% - 66px) .pie_item position relative - _wh(50px, 50px) + _wh(60px, 60px) background center / 100% auto url('../../../images/pie-bg_1.png') no-repeat p font-size: 6px; @@ -105,14 +108,16 @@ h1 line-height: 1; // transform: scale(0.5); white-space: nowrap; - padding-top: 22px; + padding-top: 28px; .pie_name _font(9px, 20px, #fff,,center) // transform: scale(0.5); .num_wrap width 100% padding 0 2px - margin-bottom 5px + margin-top 5px + &:first-child + margin-top 10px .num_wrap_1 background center / 100% 100% url('../../../images/gl-bg_1.png') no-repeat .num_wrap_2