diff --git a/app.json b/app.json
index 6bba91c..5bc5eef 100644
--- a/app.json
+++ b/app.json
@@ -15,10 +15,10 @@
"backgroundColor": "#f5f5f5"
},
"tabBar": {
- "color": "#7A7E83",
- "selectedColor": "#07c160",
+ "color": "#8A8278",
+ "selectedColor": "#1F1D2B",
"borderStyle": "black",
- "backgroundColor": "#ffffff",
+ "backgroundColor": "#FAF6ED",
"list": [
{
"pagePath": "pages/index/index",
diff --git a/app.wxss b/app.wxss
index 2f03401..c92fc61 100644
--- a/app.wxss
+++ b/app.wxss
@@ -1,120 +1,91 @@
-/**app.wxss**/
+/**app.wxss
+ * 全局基础样式 —— 纸感编辑风(A 方案)
+ * 色板:浅米黄底 + 墨蓝文字 + 暖灰副文字 + 墨红强调
+ * 注:每个页面可在自己的 wxss 里覆盖;这里只做"全局兜底"
+ */
+
+page {
+ background: #FAF6ED;
+ color: #1F1D2B;
+ font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
+ 'Microsoft YaHei', system-ui, sans-serif;
+}
+
+/* 通用容器:不设 padding,每页根据需要自定 */
.container {
- height: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: space-between;
- padding: 200rpx 0;
+ min-height: 100vh;
+ background-color: #FAF6ED;
box-sizing: border-box;
}
-/* 全局样式 */
-page {
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- background-attachment: fixed;
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
- 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
-}
-
-/* 通用容器 */
+/* 通用内容包装 */
.content {
- padding: 40rpx;
+ padding: 32rpx 24rpx;
}
-/* 按钮样式 */
+/* 按钮 */
.btn {
border-radius: 12rpx;
- font-size: 32rpx;
- padding: 24rpx 48rpx;
- transition: all 0.3s ease;
+ font-size: 30rpx;
+ padding: 22rpx 36rpx;
+ transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-primary {
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- color: #fff;
- box-shadow: 0 4rpx 16rpx rgba(102, 126, 234, 0.4);
+ background: #1F1D2B;
+ color: #FAF6ED;
+}
+
+.btn-primary:active {
+ opacity: 0.85;
}
.btn-secondary {
- background-color: #fff;
- color: #333;
- border: 2rpx solid #e8e8e8;
+ background-color: #FFFFFF;
+ color: #1F1D2B;
+ border: 1rpx solid #E8E2D5;
}
-/* 卡片样式 */
-.card {
- background-color: #fff;
- border-radius: 24rpx;
- padding: 32rpx;
- margin-bottom: 24rpx;
- box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.12);
- transition: all 0.3s ease;
+.btn-secondary:active {
+ background-color: #F2EEE5;
}
-/* 输入框样式 */
+/* 输入框 */
.input {
- background-color: #f8f9fa;
- padding: 24rpx;
+ background-color: #FFFFFF;
+ border: 1rpx solid #E8E2D5;
+ padding: 22rpx 24rpx;
border-radius: 12rpx;
- border: 2rpx solid transparent;
font-size: 28rpx;
- transition: all 0.3s ease;
+ color: #1F1D2B;
+ transition: border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.input:focus {
- background-color: #fff;
- border-color: #667eea;
+ border-color: #1F1D2B;
}
/* 分割线 */
.divider {
height: 1rpx;
- background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
- margin: 32rpx 0;
+ background: #E8E2D5;
+ margin: 28rpx 0;
}
-/* 空状态 */
+/* 通用空状态 */
.empty-state {
text-align: center;
padding: 120rpx 40rpx;
- color: rgba(255, 255, 255, 0.8);
}
.empty-state .icon {
- font-size: 140rpx;
- margin-bottom: 32rpx;
- filter: drop-shadow(0 4rpx 8rpx rgba(0, 0, 0, 0.1));
+ font-size: 104rpx;
+ margin-bottom: 24rpx;
+ opacity: 0.7;
}
.empty-state .text {
- font-size: 32rpx;
- color: rgba(255, 255, 255, 0.9);
- font-weight: 500;
- margin-bottom: 12rpx;
+ font-size: 26rpx;
+ color: #A9A096;
+ line-height: 1.6;
}
-
-/* 浮动按钮 */
-.fab {
- position: fixed;
- bottom: 120rpx;
- right: 40rpx;
- width: 112rpx;
- height: 112rpx;
- border-radius: 50%;
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- color: #fff;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 64rpx;
- box-shadow: 0 12rpx 40rpx rgba(102, 126, 234, 0.5);
- z-index: 100;
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
-}
-
-.fab:active {
- transform: scale(0.92);
- box-shadow: 0 8rpx 24rpx rgba(102, 126, 234, 0.4);
-}
-
diff --git a/pages/add-anniversary/add-anniversary.wxss b/pages/add-anniversary/add-anniversary.wxss
index 33001c9..b9be55f 100644
--- a/pages/add-anniversary/add-anniversary.wxss
+++ b/pages/add-anniversary/add-anniversary.wxss
@@ -87,9 +87,9 @@
}
.chip-active {
- color: #6366f1;
- background-color: #eef0ff;
- border-color: #6366f1;
+ color: #1F1D2B;
+ background-color: #F2EEE5;
+ border-color: #1F1D2B;
}
.lunar-hint {
@@ -117,9 +117,9 @@
.lunar-warn-detail {
margin-top: 12rpx;
padding: 14rpx 20rpx;
- background-color: #fffbeb;
- border-left: 4rpx solid #d97706;
- border-radius: 4rpx;
+ background-color: #FFF8EE;
+ border: 1rpx solid #EFD9B5;
+ border-radius: 8rpx;
font-size: 24rpx;
color: #92400e;
line-height: 1.6;
@@ -145,15 +145,15 @@
}
.importance-high {
- color: #ff5722;
+ color: #C8412F;
}
.importance-medium {
- color: #ff9800;
+ color: #B36A1F;
}
.importance-low {
- color: #999;
+ color: #8A8278;
}
.switch-item {
@@ -182,39 +182,35 @@
.btn {
flex: 1;
- height: 96rpx;
- line-height: 96rpx;
- border-radius: 48rpx;
- font-size: 32rpx;
- font-weight: 600;
+ height: 88rpx;
+ line-height: 88rpx;
+ border-radius: 12rpx;
+ font-size: 30rpx;
+ font-weight: 500;
border: none;
display: flex;
align-items: center;
justify-content: center;
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
- box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.1);
+ transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-cancel {
- background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf0 100%);
- color: #666;
- border: 2rpx solid rgba(102, 126, 234, 0.2);
+ background: #FFFFFF;
+ color: #1F1D2B;
+ border: 1rpx solid #E8E2D5;
}
.btn-cancel:active {
- transform: scale(0.98);
- box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.08);
+ background: #F2EEE5;
}
.btn-submit {
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- color: #fff;
- box-shadow: 0 8rpx 24rpx rgba(102, 126, 234, 0.4);
+ background: #1F1D2B;
+ color: #FAF6ED;
}
.btn-submit:active {
- transform: scale(0.98);
- box-shadow: 0 4rpx 16rpx rgba(102, 126, 234, 0.3);
+ opacity: 0.85;
}
.btn-cancel::after,
diff --git a/pages/add-person/add-person.wxss b/pages/add-person/add-person.wxss
index b40248b..d7b74ef 100644
--- a/pages/add-person/add-person.wxss
+++ b/pages/add-person/add-person.wxss
@@ -1,161 +1,159 @@
-/**add-person.wxss**/
+/* add-person.wxss
+ * 视觉方向:纸感编辑风(A 方案,与全局一致)
+ * 原版含 2 个 impeccable 绝对禁项:gradient text (background-clip: text) 和 dashed border 大色块
+ */
+
.container {
min-height: 100vh;
- background: linear-gradient(180deg, rgba(102, 126, 234, 0.08) 0%, transparent 30%);
+ background: #FAF6ED;
padding-bottom: 120rpx;
}
.form {
- padding: 32rpx;
+ padding: 24rpx;
}
.form-item {
- background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
- border-radius: 24rpx;
- padding: 36rpx;
- margin-bottom: 24rpx;
- box-shadow: 0 8rpx 32rpx rgba(102, 126, 234, 0.12);
- border: 2rpx solid rgba(255, 255, 255, 0.8);
+ background: #FFFFFF;
+ border: 1rpx solid #E8E2D5;
+ border-radius: 14rpx;
+ padding: 28rpx;
+ margin-bottom: 20rpx;
}
.label {
- font-size: 28rpx;
- font-weight: 600;
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- background-clip: text;
- margin-bottom: 24rpx;
+ font-size: 26rpx;
+ font-weight: 500;
+ color: #1F1D2B;
+ margin-bottom: 18rpx;
display: block;
}
.label.required::after {
content: ' *';
- color: #ff5722;
- -webkit-text-fill-color: #ff5722;
+ color: #C8412F;
}
-/* 头像上传 */
+/* ───── 头像上传 ───── */
.avatar-upload {
text-align: center;
}
.avatar {
- width: 200rpx;
- height: 200rpx;
+ width: 176rpx;
+ height: 176rpx;
border-radius: 50%;
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- border: 6rpx solid rgba(255, 255, 255, 0.9);
- box-shadow: 0 8rpx 24rpx rgba(102, 126, 234, 0.3);
+ background: #EFE9DC;
+ border: 1rpx solid #E8E2D5;
}
.avatar-placeholder {
- width: 200rpx;
- height: 200rpx;
+ width: 176rpx;
+ height: 176rpx;
margin: 0 auto;
border-radius: 50%;
- background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
+ background: #FAF6ED;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
- border: 4rpx dashed rgba(102, 126, 234, 0.4);
- transition: all 0.3s ease;
+ border: 1rpx dashed #C8C2B4;
+ transition: background 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.avatar-placeholder:active {
- transform: scale(0.95);
- background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
+ background: #F2EEE5;
}
.avatar-placeholder .icon {
- font-size: 64rpx;
+ font-size: 52rpx;
display: block;
- margin-bottom: 16rpx;
- filter: grayscale(0.5);
+ margin-bottom: 12rpx;
+ opacity: 0.6;
}
.avatar-placeholder .text {
font-size: 24rpx;
- color: #667eea;
+ color: #8A8278;
font-weight: 500;
}
+/* ───── 输入 ───── */
.input {
- background-color: #f8f9fa;
- border-radius: 12rpx;
- padding: 24rpx;
+ background-color: #FAF6ED;
+ border: 1rpx solid #E8E2D5;
+ border-radius: 10rpx;
+ padding: 22rpx 24rpx;
font-size: 28rpx;
- border: 2rpx solid transparent;
- transition: all 0.3s ease;
+ color: #1F1D2B;
+ transition: border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.input:focus {
- background-color: #fff;
- border-color: #667eea;
+ background-color: #FFFFFF;
+ border-color: #1F1D2B;
}
.textarea {
- background-color: #f8f9fa;
- border-radius: 12rpx;
- padding: 24rpx;
+ background-color: #FAF6ED;
+ border: 1rpx solid #E8E2D5;
+ border-radius: 10rpx;
+ padding: 22rpx 24rpx;
font-size: 28rpx;
- min-height: 160rpx;
- border: 2rpx solid transparent;
- transition: all 0.3s ease;
+ color: #1F1D2B;
+ min-height: 140rpx;
+ transition: border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
+ box-sizing: border-box;
+ width: 100%;
}
.textarea:focus {
- background-color: #fff;
- border-color: #667eea;
+ background-color: #FFFFFF;
+ border-color: #1F1D2B;
}
+/* ───── 按钮 ───── */
.buttons {
display: flex;
- gap: 24rpx;
- margin-top: 40rpx;
- padding: 0 32rpx 32rpx;
+ gap: 20rpx;
+ margin-top: 32rpx;
+ padding: 0 24rpx 32rpx;
}
.btn {
flex: 1;
- height: 96rpx;
- line-height: 96rpx;
- border-radius: 48rpx;
- font-size: 32rpx;
- font-weight: 600;
+ height: 88rpx;
+ line-height: 88rpx;
+ border-radius: 12rpx;
+ font-size: 30rpx;
+ font-weight: 500;
border: none;
display: flex;
align-items: center;
justify-content: center;
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
- box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.1);
+ transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-cancel {
- background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf0 100%);
- color: #666;
- border: 2rpx solid rgba(102, 126, 234, 0.2);
+ background: #FFFFFF;
+ color: #1F1D2B;
+ border: 1rpx solid #E8E2D5;
}
.btn-cancel:active {
- transform: scale(0.98);
- box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.08);
+ background: #F2EEE5;
}
.btn-submit {
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- color: #fff;
- box-shadow: 0 8rpx 24rpx rgba(102, 126, 234, 0.4);
+ background: #1F1D2B;
+ color: #FAF6ED;
}
.btn-submit:active {
- transform: scale(0.98);
- box-shadow: 0 4rpx 16rpx rgba(102, 126, 234, 0.3);
+ opacity: 0.85;
}
.btn-cancel::after,
.btn-submit::after {
border: none;
}
-
diff --git a/pages/calendar/calendar.json b/pages/calendar/calendar.json
new file mode 100644
index 0000000..a802d11
--- /dev/null
+++ b/pages/calendar/calendar.json
@@ -0,0 +1,3 @@
+{
+ "navigationBarTitleText": "日历"
+}
diff --git a/pages/calendar/calendar.wxml b/pages/calendar/calendar.wxml
index 123ba8d..7f8c95a 100644
--- a/pages/calendar/calendar.wxml
+++ b/pages/calendar/calendar.wxml
@@ -3,11 +3,11 @@
diff --git a/pages/calendar/calendar.wxss b/pages/calendar/calendar.wxss
index 3e33eff..e06c33c 100644
--- a/pages/calendar/calendar.wxss
+++ b/pages/calendar/calendar.wxss
@@ -1,91 +1,98 @@
-/**calendar.wxss**/
+/* calendar.wxss
+ * 视觉方向:纸感编辑风(A 方案,与首页一致)
+ * 与首页统一色板:浅米黄底 + 墨蓝文字 + 暖灰副文字 + 墨红强调
+ */
+
.container {
min-height: 100vh;
- background-color: #f5f5f5;
+ background-color: #FAF6ED;
}
+/* ───── 月份头部 ───── */
.calendar-header {
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- padding: 40rpx 32rpx;
+ padding: 20rpx 24rpx 16rpx;
display: flex;
align-items: center;
justify-content: space-between;
- box-shadow: 0 4rpx 16rpx rgba(102, 126, 234, 0.2);
}
.month-navigation {
display: flex;
align-items: center;
- gap: 24rpx;
+ gap: 28rpx;
}
.nav-btn {
font-size: 40rpx;
- color: #fff;
+ color: #1F1D2B;
font-weight: 300;
width: 56rpx;
height: 56rpx;
display: flex;
align-items: center;
justify-content: center;
- background-color: rgba(255, 255, 255, 0.2);
border-radius: 50%;
- transition: all 0.2s;
+ border: 1rpx solid #E8E2D5;
+ background: #FFFFFF;
+ transition: background 0.2s cubic-bezier(0.22, 1, 0.36, 1);
+ line-height: 1;
}
.nav-btn:active {
- background-color: rgba(255, 255, 255, 0.3);
- transform: scale(0.95);
+ background: #F2EEE5;
}
.month-title {
- font-size: 36rpx;
+ font-size: 40rpx;
font-weight: 600;
- color: #fff;
+ color: #1F1D2B;
min-width: 240rpx;
text-align: center;
+ letter-spacing: -0.5rpx;
}
.today-btn {
- padding: 14rpx 32rpx;
- background-color: rgba(255, 255, 255, 0.25);
- color: #fff;
- border-radius: 40rpx;
- font-size: 26rpx;
- border: none;
- font-weight: 600;
- transition: all 0.2s;
+ padding: 10rpx 24rpx;
+ background: transparent;
+ color: #1F1D2B;
+ border: 1rpx solid #1F1D2B;
+ border-radius: 36rpx;
+ font-size: 24rpx;
+ font-weight: 500;
+ transition: background 0.2s cubic-bezier(0.22, 1, 0.36, 1);
+ line-height: 1.5;
}
.today-btn:active {
- background-color: rgba(255, 255, 255, 0.35);
- transform: scale(0.95);
+ background: #1F1D2B;
+ color: #FAF6ED;
}
.today-btn::after {
border: none;
}
+/* ───── 周标题 ───── */
.week-header {
display: grid;
grid-template-columns: repeat(7, 1fr);
- background: linear-gradient(to bottom, #fff 0%, #fafafa 100%);
- padding: 20rpx 24rpx 12rpx 24rpx;
+ padding: 8rpx 24rpx 12rpx;
gap: 12rpx;
- border-bottom: 2rpx solid #f0f0f0;
box-sizing: border-box;
+ border-top: 1rpx solid #E8E2D5;
+ border-bottom: 1rpx solid #E8E2D5;
+ margin: 0 12rpx;
}
.week-title {
display: flex;
align-items: center;
justify-content: center;
- height: 60rpx;
- font-size: 26rpx;
- color: #888;
- font-weight: 600;
- margin: 0;
- padding: 0;
+ height: 56rpx;
+ font-size: 22rpx;
+ color: #8A8278;
+ font-weight: 500;
+ letter-spacing: 2rpx;
box-sizing: border-box;
}
@@ -93,60 +100,60 @@
display: block;
}
+/* ───── 日历主体 ───── */
.calendar-content {
- height: calc(100vh - 200rpx);
- background-color: #f5f5f5;
+ height: calc(100vh - 220rpx);
+ background-color: #FAF6ED;
}
.calendar-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
- background-color: #f5f5f5;
- padding: 16rpx 24rpx 16rpx 24rpx;
+ padding: 16rpx 24rpx;
gap: 12rpx;
box-sizing: border-box;
}
.calendar-cell {
- min-height: 100rpx;
- background-color: #fff;
+ min-height: 96rpx;
+ background-color: #FFFFFF;
border-radius: 12rpx;
+ border: 1rpx solid #E8E2D5;
padding: 12rpx 8rpx;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
- box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
- transition: all 0.2s;
box-sizing: border-box;
- margin: 0;
+ transition: background 0.15s cubic-bezier(0.22, 1, 0.36, 1);
}
.calendar-cell.other-month {
background-color: transparent;
- box-shadow: none;
+ border-color: transparent;
}
+/* today:克制的墨红圆点圈定 date-num,不再大色块 + scale */
.calendar-cell.today {
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- box-shadow: 0 8rpx 16rpx rgba(102, 126, 234, 0.3);
- transform: scale(1.05);
+ background: #FFF1EA;
+ border-color: #E8BCA7;
}
.calendar-cell.today .date-num {
- color: #fff;
+ color: #C8412F;
font-weight: 700;
}
.date-num {
- font-size: 32rpx;
- color: #333;
+ font-size: 30rpx;
+ color: #1F1D2B;
margin-bottom: 8rpx;
font-weight: 600;
+ font-feature-settings: "tnum";
}
.calendar-cell.other-month .date-num {
- color: #d0d0d0;
+ color: #C8C2B4;
font-weight: 400;
}
@@ -162,64 +169,62 @@
width: 8rpx;
height: 8rpx;
border-radius: 50%;
- box-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.15);
-}
-
-.calendar-cell.today .event-dot {
- background-color: #fff !important;
}
.more-text {
font-size: 18rpx;
- color: #999;
+ color: #8A8278;
margin-top: 4rpx;
font-weight: 500;
}
.calendar-cell.today .more-text {
- color: #fff;
+ color: #C8412F;
}
-/* 事件列表 */
+/* ───── 列表区 ───── */
.events-list {
- padding: 32rpx 24rpx;
+ padding: 32rpx 24rpx 80rpx;
}
+/* section-title 用纯排版,不用 6rpx border-left(绝对禁用项) */
.section-title {
- font-size: 32rpx;
- font-weight: 700;
- color: #333;
+ font-size: 28rpx;
+ font-weight: 600;
+ color: #1F1D2B;
margin-bottom: 24rpx;
- padding-left: 16rpx;
- border-left: 6rpx solid #667eea;
+ letter-spacing: 1rpx;
}
.empty-state {
text-align: center;
padding: 120rpx 40rpx;
- opacity: 0.6;
}
.empty-state .icon {
- font-size: 120rpx;
+ font-size: 104rpx;
display: block;
- margin-bottom: 32rpx;
+ margin-bottom: 24rpx;
+ opacity: 0.7;
}
.empty-state .text {
- font-size: 28rpx;
- color: #999;
+ font-size: 26rpx;
+ color: #A9A096;
line-height: 1.6;
}
.event-card {
- background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
- border-radius: 16rpx;
- padding: 32rpx;
- margin-bottom: 20rpx;
- box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.08);
- border: 2rpx solid rgba(102, 126, 234, 0.1);
- transition: all 0.3s;
+ background: #FFFFFF;
+ border: 1rpx solid #E8E2D5;
+ border-radius: 14rpx;
+ padding: 24rpx 28rpx;
+ margin-bottom: 16rpx;
+ transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1);
+}
+
+.event-card:active {
+ transform: scale(0.985);
}
.event-header {
@@ -228,55 +233,59 @@
}
.event-icon {
- font-size: 40rpx;
- margin-right: 16rpx;
+ font-size: 32rpx;
+ margin-right: 14rpx;
+ flex-shrink: 0;
}
.event-title {
flex: 1;
font-size: 28rpx;
font-weight: 600;
- color: #333;
+ color: #1F1D2B;
+ min-width: 0;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
.event-date {
font-size: 24rpx;
- color: #999;
+ color: #8A8278;
+ flex-shrink: 0;
+ margin-left: 12rpx;
}
.event-info {
display: flex;
align-items: center;
- gap: 16rpx;
- margin-top: 16rpx;
+ gap: 12rpx;
+ margin-top: 14rpx;
+ padding-left: 46rpx;
}
.lunar-badge {
- padding: 6rpx 16rpx;
- background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
- color: #1976d2;
- border-radius: 20rpx;
+ padding: 4rpx 14rpx;
+ background: #F2EEE5;
+ color: #8A8278;
+ border-radius: 18rpx;
font-size: 20rpx;
- font-weight: 600;
- box-shadow: 0 2rpx 8rpx rgba(25, 118, 210, 0.15);
+ font-weight: 500;
}
.status {
font-size: 22rpx;
- padding: 6rpx 16rpx;
- border-radius: 20rpx;
+ padding: 4rpx 14rpx;
+ border-radius: 18rpx;
font-weight: 600;
}
.status.urgent {
- background: linear-gradient(135deg, #ffe0db 0%, #ffccbc 100%);
- color: #ff5722;
- box-shadow: 0 2rpx 8rpx rgba(255, 87, 34, 0.15);
+ background: #FFE3D7;
+ color: #C8412F;
}
.status.warning {
- background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
- color: #ff9800;
- box-shadow: 0 2rpx 8rpx rgba(255, 152, 0, 0.15);
+ background: #FFEFD9;
+ color: #B36A1F;
}
-
diff --git a/pages/index/index.wxml b/pages/index/index.wxml
index 388e700..48f90a6 100644
--- a/pages/index/index.wxml
+++ b/pages/index/index.wxml
@@ -1,21 +1,16 @@
-
+