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;