Files
wxserver/pages/add-anniversary/add-anniversary.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

166 lines
2.5 KiB
Plaintext

/**add-anniversary.wxss**/
.container {
min-height: 100vh;
background-color: #f5f5f5;
padding-bottom: 120rpx;
}
.form {
padding: 0 32rpx 32rpx;
}
.form-item {
background-color: #fff;
border-radius: 16rpx;
padding: 32rpx;
margin-bottom: 24rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.06);
box-sizing: border-box;
}
.form-item:first-child {
margin-top: 6rpx;
}
.label {
font-size: 28rpx;
color: #333;
margin-bottom: 24rpx;
display: block;
}
.label.required::after {
content: ' *';
color: #ff5722;
}
.picker {
background-color: #f5f5f5;
border-radius: 8rpx;
padding: 24rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.picker-text {
font-size: 28rpx;
color: #333;
}
.picker-placeholder {
font-size: 28rpx;
color: #999;
}
.picker-arrow {
font-size: 36rpx;
color: #999;
}
.input {
margin-top: 16rpx;
background-color: #f5f5f5;
border-radius: 8rpx;
padding: 24rpx;
font-size: 28rpx;
}
.radio-group {
display: flex;
flex-direction: column;
gap: 16rpx;
}
.radio-item {
display: flex;
align-items: center;
padding: 16rpx;
background-color: #f9f9f9;
border-radius: 8rpx;
}
.radio-item text {
font-size: 28rpx;
margin-left: 16rpx;
}
.importance-high {
color: #ff5722;
}
.importance-medium {
color: #ff9800;
}
.importance-low {
color: #999;
}
.switch-item {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16rpx;
}
.textarea {
width: 100%;
background-color: #f5f5f5;
border-radius: 8rpx;
padding: 24rpx;
font-size: 28rpx;
min-height: 160rpx;
box-sizing: border-box;
}
.buttons {
display: flex;
gap: 24rpx;
margin-top: 40rpx;
padding: 0 32rpx 32rpx;
}
.btn {
flex: 1;
height: 96rpx;
line-height: 96rpx;
border-radius: 48rpx;
font-size: 32rpx;
font-weight: 600;
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);
}
.btn-cancel {
background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf0 100%);
color: #666;
border: 2rpx solid rgba(102, 126, 234, 0.2);
}
.btn-cancel:active {
transform: scale(0.98);
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.08);
}
.btn-submit {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #fff;
box-shadow: 0 8rpx 24rpx rgba(102, 126, 234, 0.4);
}
.btn-submit:active {
transform: scale(0.98);
box-shadow: 0 4rpx 16rpx rgba(102, 126, 234, 0.3);
}
.btn-cancel::after,
.btn-submit::after {
border: none;
}