From 12a8af5bb5f565fc505bf4470394cac11ecc51a8 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期二, 10 二月 2026 15:55:58 +0800
Subject: [PATCH] 首页样式修改
---
src/pages/index.vue | 23 ++++++++++++++---------
1 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/src/pages/index.vue b/src/pages/index.vue
index a9bf210..201d9c5 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -1094,7 +1094,7 @@
.content {
background: #f6f7fb;
min-height: 100vh;
- padding: 12px;
+ // padding: 12px;
/* 涓烘墍鏈夎澶囪缃熀纭�padding-top锛堝寘鍚畨鍏ㄥ尯锛� */
padding-top: calc(env(safe-area-inset-top) + 30px);
position: relative;
@@ -1168,6 +1168,7 @@
}
.hero-section {
+ margin: 0 12px;
margin-bottom: 12px;
animation: fadeInUp 0.6s ease-out 0.1s both;
}
@@ -1220,7 +1221,9 @@
.hero-content {
position: relative;
z-index: 1;
+
padding: 14px 14px 18px 14px;
+ margin: 0 12px;
height: 100%;
}
.hero-wave {
@@ -1396,7 +1399,7 @@
.common-module {
margin-bottom: 12px;
background: linear-gradient(135deg, #ffffff 0%, #f9fbff 100%);
- border-radius: 14px;
+ // border-radius: 14px;
padding: 12px;
box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
border: none;
@@ -1674,8 +1677,9 @@
.common-module {
margin-bottom: 12px;
background: #ffffff;
- border-radius: 16px;
- padding: 12px;
+ // border-radius: 16px;
+ // padding: 0px;
+ padding: 12px 0;
box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
border: 1px solid rgba(148, 163, 184, 0.18);
position: relative;
@@ -1724,7 +1728,8 @@
}
.module-header {
- margin-bottom: 10px;
+ margin-bottom: 18px;
+ padding-left: 18px;
display: flex;
align-items: center;
justify-content: space-between;
@@ -1749,8 +1754,8 @@
}
.icon-container {
- width: 52px;
- height: 52px;
+ width: 48px;
+ height: 48px;
border-radius: 14px;
display: flex;
align-items: center;
@@ -1797,9 +1802,9 @@
}
.item-label {
- font-size: 12px;
+ font-size: 22rpx;
margin-top: 4px;
- margin-bottom: 6px;
+ margin-bottom: 20px;
}
.grid-text {
font-size: 0.875rem;
--
Gitblit v1.9.3