From 9a881f72b4541f9c37f20817a79831cb78c6f51b Mon Sep 17 00:00:00 2001 From: admin <1562818788@qq.com> Date: Tue, 22 Apr 2025 21:24:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20pages/index?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.ux | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/pages/index/index.ux b/pages/index/index.ux index 7f7221b..2eb29d9 100644 --- a/pages/index/index.ux +++ b/pages/index/index.ux @@ -190,7 +190,7 @@ export default { .header { width: 100%; - height: 110px; + height: 90px; margin-top: 20px; flex-direction: column; justify-content: space-between; @@ -199,7 +199,7 @@ export default { .year-month { width: 240px; - height: 60px; + height: 50px; justify-content: center; align-items: center; } @@ -220,8 +220,8 @@ export default { } .week-text { - width: 64px; - font-size: 40px; + width: 50px; + font-size: 35px; font-weight: 700; color: rgb(255, 255, 255); text-align: center; @@ -242,24 +242,26 @@ export default { width: 100%; height: 350px; flex-direction: column; + align-items: center; /* 使整个列表内容居中对齐 */ } .item { width: 100%; - height: 80px; /* 增加每一行的高度 */ - margin-bottom: 10px; /* 增加行与行之间的间距 */ + margin-bottom: 0px; /* 增加行与行之间的间距 */ + justify-content: center; /* 使每一行居中对齐 */ } .cell { - width: 64px; + width: 50px; height: 100%; + } .cell-text-workday { width: 100%; height: 100%; font-weight: 700; - font-size: 40px; /* 调整为你需要的大小 */ + font-size: 35px; /* 调整为你需要的大小 */ text-align: center; color: rgb(255, 255, 255); background-color: transparent; @@ -269,7 +271,7 @@ export default { width: 100%; height: 100%; font-weight: 700; - font-size: 40px; /* 调整为你需要的大小 */ + font-size: 35px; /* 调整为你需要的大小 */ text-align: center; color: rgba(255, 255, 255, 0.6); background-color: transparent;