- 八字页:未绑定生辰时展示虚构示例排盘(1990-08-08 10:30男)与15条字段说明, 附传统文化声明文案;已绑定时支持多档案切换,排盘增强(十神/藏干/纳音/五行配色/命盘概览) - 个人中心:新增生辰管理卡片,每用户免费绑定3个出生年月;登录改为真实微信登录 - 服务端:新增 BirthProfile 模型与 /api/user/birth-profiles 增删查接口,AutoMigrate 建表 - 前端:新增 birth-profile.js 本地存储优先+登录后云端双向同步 - 修复:个人中心 tabBar 页面入口误用 navigateTo 改为 switchTab
114 lines
1.6 KiB
Plaintext
114 lines
1.6 KiB
Plaintext
.container {
|
|
padding: 20rpx;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 28rpx;
|
|
font-weight: 600;
|
|
margin-bottom: 16rpx;
|
|
color: #C41E3A;
|
|
}
|
|
|
|
.avatar {
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.avatar-placeholder {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #C41E3A;
|
|
color: #FFFFFF;
|
|
font-size: 36rpx;
|
|
}
|
|
|
|
/* 生辰档案 */
|
|
.profile-item {
|
|
padding: 16rpx 0;
|
|
border-bottom: 1rpx solid #E8D5C4;
|
|
}
|
|
|
|
.profile-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* 添加生辰表单 */
|
|
.form-item {
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
.form-label {
|
|
font-size: 24rpx;
|
|
color: #6B5E53;
|
|
margin-bottom: 8rpx;
|
|
display: block;
|
|
}
|
|
|
|
.form-input {
|
|
padding: 20rpx;
|
|
background: #FFFBF5;
|
|
border-radius: 12rpx;
|
|
border: 1rpx solid #E8D5C4;
|
|
}
|
|
|
|
.picker-input {
|
|
padding: 20rpx;
|
|
background: #FFFBF5;
|
|
border-radius: 12rpx;
|
|
border: 1rpx solid #E8D5C4;
|
|
}
|
|
|
|
.setting-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20rpx 0;
|
|
border-bottom: 1rpx solid #E8D5C4;
|
|
}
|
|
|
|
.setting-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.setting-label {
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.btn-outline.active {
|
|
background: #C41E3A;
|
|
color: #FFFFFF;
|
|
border-color: #C41E3A;
|
|
}
|
|
|
|
.bookmark-item {
|
|
padding: 16rpx 0;
|
|
border-bottom: 1rpx solid #E8D5C4;
|
|
}
|
|
|
|
.bookmark-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.menu-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 24rpx 0;
|
|
border-bottom: 1rpx solid #E8D5C4;
|
|
}
|
|
|
|
.menu-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.menu-label {
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.menu-arrow {
|
|
color: #C9B8A6;
|
|
font-size: 36rpx;
|
|
}
|