Files
wxserver/pages/settings/settings.wxss
T
yuming 3965e542fc
部署到群晖 / deploy (push) Failing after 6m22s
接入自建后端 + Gitea CI/CD
- 新增 server/:Node + Express + SQLite + node-cron 实现登录、纪念日 CRUD 和定时订阅消息推送
- 新增 .gitea/workflows/deploy.yml:推送即触发群晖 Docker 部署,监听 15002
- utils/api.js:自动按 envVersion 切换本地/线上 BASE_URL
- app.js 与 add-anniversary.js 移除 wx.cloud 调用,改走自建后端
- cloudfunctions/ 暂保留以便回滚
- 一并提交此前未入库的首页 / 设置页 / 日历 / 万年历等改造

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-01 15:44:09 +08:00

241 lines
3.5 KiB
Plaintext

/* settings.wxss */
page {
background: #f1f4f9;
}
.page {
display: flex;
flex-direction: column;
height: 100vh;
background: #f1f4f9;
}
/* ───── Header ───── */
.header {
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
padding: 48rpx 36rpx 40rpx;
flex-shrink: 0;
}
.header-top {
display: flex;
align-items: flex-start;
justify-content: space-between;
margin-bottom: 32rpx;
}
.header-left {
display: flex;
flex-direction: column;
}
.header-title {
font-size: 44rpx;
font-weight: 700;
color: #fff;
line-height: 1.2;
letter-spacing: 2rpx;
}
.header-sub {
font-size: 26rpx;
color: rgba(255, 255, 255, 0.7);
margin-top: 8rpx;
}
.header-icon {
font-size: 64rpx;
opacity: 0.9;
}
.stats-row {
display: flex;
align-items: center;
background: rgba(255, 255, 255, 0.15);
border-radius: 20rpx;
padding: 20rpx 32rpx;
}
.stat-item {
display: flex;
align-items: baseline;
gap: 8rpx;
flex: 1;
justify-content: center;
}
.stat-num {
font-size: 48rpx;
font-weight: 700;
color: #fff;
line-height: 1;
}
.stat-label {
font-size: 24rpx;
color: rgba(255, 255, 255, 0.75);
}
.stat-sep {
width: 2rpx;
height: 48rpx;
background: rgba(255, 255, 255, 0.25);
flex-shrink: 0;
}
/* ───── Body ───── */
.body {
flex: 1;
overflow: hidden;
}
/* ───── Section label ───── */
.section-label {
font-size: 24rpx;
font-weight: 600;
color: #94a3b8;
letter-spacing: 2rpx;
padding: 32rpx 32rpx 12rpx;
text-transform: uppercase;
}
/* ───── Card group ───── */
.card-group {
background: #fff;
border-radius: 20rpx;
margin: 0 24rpx;
overflow: hidden;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.06);
}
/* ───── Row ───── */
.row {
display: flex;
align-items: center;
padding: 28rpx 28rpx;
transition: background 0.15s ease;
}
.row:active {
background: #f8fafc;
}
.row-icon-wrap {
width: 72rpx;
height: 72rpx;
border-radius: 18rpx;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
margin-right: 24rpx;
}
.row-icon {
font-size: 36rpx;
}
.row-body {
flex: 1;
display: flex;
flex-direction: column;
gap: 4rpx;
}
.row-title {
font-size: 30rpx;
font-weight: 500;
color: #1e293b;
}
.row-title.danger {
color: #ef4444;
}
.row-desc {
font-size: 24rpx;
color: #94a3b8;
}
.row-desc.danger {
color: #fca5a5;
}
.row-arrow {
font-size: 40rpx;
color: #cbd5e1;
margin-left: 12rpx;
}
.row-arrow.danger {
color: #fca5a5;
}
.row-value {
font-size: 28rpx;
color: #64748b;
}
.row-divider {
height: 1rpx;
background: #f1f5f9;
margin-left: 120rpx;
}
/* ───── Tips card ───── */
.tips-card {
background: #fff;
border-radius: 20rpx;
margin: 8rpx 24rpx 0;
padding: 28rpx 28rpx 32rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.06);
border-left: 6rpx solid #6366f1;
}
.tips-title {
display: flex;
align-items: center;
gap: 12rpx;
margin-bottom: 20rpx;
}
.tips-icon {
font-size: 32rpx;
}
.tips-heading {
font-size: 28rpx;
font-weight: 600;
color: #1e293b;
}
.tips-item {
display: flex;
align-items: flex-start;
gap: 12rpx;
margin-bottom: 12rpx;
}
.tips-item:last-child {
margin-bottom: 0;
}
.tips-dot {
font-size: 28rpx;
color: #6366f1;
line-height: 1.8;
flex-shrink: 0;
}
.tips-text {
font-size: 26rpx;
color: #475569;
line-height: 1.8;
}
/* ───── Bottom padding ───── */
.bottom-pad {
height: 80rpx;
}