3f176924d0
部署到群晖 / deploy (push) Successful in 43s
旧版多处违反 impeccable 设计规范(gradient text、6rpx 粗色条 border-left、 glassmorphism、bounce 动画)且整体呈现典型「AI/SaaS 通用紫渐变」(#6366f1 系、 #667eea 系),用户反馈「AI 味儿太浓」。 色板(OKLCH 概念,hex 落地): - 背景:浅米黄 #FAF6ED - 主文字:深墨蓝 #1F1D2B - 暖灰副文字:#8A8278 - 强调(仅 today / FAB):墨红 #C8412F 涉及改动: - app.wxss:删模板自带 .container padding 200rpx(首页/日历顶部空白真凶)+ 重写全局色板 - index.wxml/wxss:去紫渐变 Header + glassmorphism stats + border-left 大色条 + bounce - calendar.wxml/wxss/json:去紫渐变月份头 + today 大色块 + section-title 6rpx 紫条 - settings.wxss:同款紫 Header + tips-card 6rpx 紫条 → 全卡边线 + 浅暖底 - add-anniversary.wxss:chip-active 紫 / 取消提交按钮渐变 / importance 高饱和色 → 统一 - add-person.wxss:gradient text + 紫 dashed 头像占位 + 多重渐变 → 全套重写 - person-detail.wxss:微信绿 + 灰底默认色 → 方向 A 色板 - utils/constants.js:IMPORTANCE_COLORS 高/中/低 = 墨红/焦糖/苔绿(替代橙红/橘/鲜绿) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
239 lines
3.4 KiB
Plaintext
239 lines
3.4 KiB
Plaintext
/* settings.wxss
|
|
* 视觉方向:纸感编辑风(A 方案,与首页/日历一致)
|
|
*/
|
|
|
|
page {
|
|
background: #FAF6ED;
|
|
}
|
|
|
|
.page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
background: #FAF6ED;
|
|
}
|
|
|
|
/* ───── Header ───── */
|
|
.header {
|
|
padding: 32rpx 36rpx 24rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.header-top {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
margin-bottom: 28rpx;
|
|
}
|
|
|
|
.header-left {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.header-title {
|
|
font-size: 52rpx;
|
|
font-weight: 600;
|
|
color: #1F1D2B;
|
|
line-height: 1.15;
|
|
letter-spacing: -0.5rpx;
|
|
}
|
|
|
|
.header-sub {
|
|
font-size: 26rpx;
|
|
color: #8A8278;
|
|
margin-top: 10rpx;
|
|
}
|
|
|
|
.header-icon {
|
|
font-size: 56rpx;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.stats-row {
|
|
display: flex;
|
|
gap: 64rpx;
|
|
padding-top: 12rpx;
|
|
border-top: 1rpx solid #E8E2D5;
|
|
padding-top: 24rpx;
|
|
margin-top: 4rpx;
|
|
}
|
|
|
|
.stat-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4rpx;
|
|
}
|
|
|
|
.stat-num {
|
|
font-size: 44rpx;
|
|
font-weight: 600;
|
|
color: #1F1D2B;
|
|
line-height: 1;
|
|
letter-spacing: -1rpx;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 24rpx;
|
|
color: #8A8278;
|
|
}
|
|
|
|
.stat-sep {
|
|
display: none;
|
|
}
|
|
|
|
/* ───── Body ───── */
|
|
.body {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* ───── Section label ───── */
|
|
.section-label {
|
|
font-size: 22rpx;
|
|
font-weight: 500;
|
|
color: #8A8278;
|
|
letter-spacing: 2rpx;
|
|
padding: 28rpx 32rpx 12rpx;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* ───── Card group ───── */
|
|
.card-group {
|
|
background: #FFFFFF;
|
|
border: 1rpx solid #E8E2D5;
|
|
border-radius: 14rpx;
|
|
margin: 0 24rpx;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* ───── Row ───── */
|
|
.row {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 24rpx 28rpx;
|
|
transition: background 0.15s cubic-bezier(0.22, 1, 0.36, 1);
|
|
}
|
|
|
|
.row:active {
|
|
background: #F8F4EA;
|
|
}
|
|
|
|
.row-icon-wrap {
|
|
width: 64rpx;
|
|
height: 64rpx;
|
|
border-radius: 14rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
margin-right: 20rpx;
|
|
}
|
|
|
|
.row-icon {
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
.row-body {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4rpx;
|
|
}
|
|
|
|
.row-title {
|
|
font-size: 28rpx;
|
|
font-weight: 500;
|
|
color: #1F1D2B;
|
|
}
|
|
|
|
.row-title.danger {
|
|
color: #C8412F;
|
|
}
|
|
|
|
.row-desc {
|
|
font-size: 22rpx;
|
|
color: #A9A096;
|
|
}
|
|
|
|
.row-desc.danger {
|
|
color: #E29F92;
|
|
}
|
|
|
|
.row-arrow {
|
|
font-size: 36rpx;
|
|
color: #C8C2B4;
|
|
margin-left: 12rpx;
|
|
}
|
|
|
|
.row-arrow.danger {
|
|
color: #E29F92;
|
|
}
|
|
|
|
.row-value {
|
|
font-size: 26rpx;
|
|
color: #8A8278;
|
|
}
|
|
|
|
.row-divider {
|
|
height: 1rpx;
|
|
background: #E8E2D5;
|
|
margin-left: 112rpx;
|
|
}
|
|
|
|
/* ───── Tips card ───── */
|
|
/* 删原 border-left 6rpx 紫色条(禁项),改全边线 + 浅暖底标识 */
|
|
.tips-card {
|
|
background: #FFF8EE;
|
|
border: 1rpx solid #EFD9B5;
|
|
border-radius: 14rpx;
|
|
margin: 12rpx 24rpx 0;
|
|
padding: 24rpx 28rpx 28rpx;
|
|
}
|
|
|
|
.tips-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12rpx;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.tips-icon {
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
.tips-heading {
|
|
font-size: 26rpx;
|
|
font-weight: 600;
|
|
color: #1F1D2B;
|
|
}
|
|
|
|
.tips-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12rpx;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.tips-item:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.tips-dot {
|
|
font-size: 26rpx;
|
|
color: #B36A1F;
|
|
line-height: 1.8;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.tips-text {
|
|
font-size: 24rpx;
|
|
color: #5A5247;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
/* ───── Bottom padding ───── */
|
|
.bottom-pad {
|
|
height: 80rpx;
|
|
}
|