/**person-detail.wxss**/ .container { min-height: 100vh; background-color: #f5f5f5; padding-bottom: 120rpx; } .person-card { background-color: #fff; margin: 32rpx; border-radius: 16rpx; padding: 40rpx; box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.06); } .person-header { display: flex; align-items: center; margin-bottom: 24rpx; } .avatar { width: 120rpx; height: 120rpx; border-radius: 50%; margin-right: 32rpx; background-color: #f0f0f0; } .person-info { flex: 1; } .person-name { font-size: 36rpx; font-weight: 600; color: #333; display: block; margin-bottom: 8rpx; } .person-nickname { font-size: 26rpx; color: #999; } .person-remark { font-size: 28rpx; color: #666; line-height: 1.6; margin-bottom: 24rpx; padding: 24rpx; background-color: #f9f9f9; border-radius: 8rpx; } .actions { display: flex; gap: 24rpx; margin-top: 32rpx; } .action-btn { flex: 1; height: 72rpx; line-height: 72rpx; border-radius: 12rpx; font-size: 28rpx; background-color: #f5f5f5; color: #666; border: none; } .action-btn.danger { background-color: #fff3f0; color: #ff5722; } .action-btn::after { border: none; } /* 纪念日列表 */ .section { padding: 0 32rpx; } .section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24rpx; } .section-title { font-size: 32rpx; font-weight: 600; color: #333; } .add-btn { padding: 12rpx 24rpx; background-color: #07c160; color: #fff; border-radius: 40rpx; font-size: 24rpx; border: none; } .add-btn::after { border: none; } /* 纪念日卡片 */ .anniversary-card { background-color: #fff; border-radius: 16rpx; padding: 32rpx; margin-bottom: 24rpx; box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.06); } .anniversary-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20rpx; } .anniversary-type { display: flex; align-items: center; } .type-icon { font-size: 40rpx; margin-right: 12rpx; } .type-text { font-size: 32rpx; font-weight: 600; color: #333; } .importance-badge { padding: 8rpx 20rpx; border-radius: 40rpx; font-size: 22rpx; } .importance-high { background-color: #fff3f0; color: #ff5722; } .importance-medium { background-color: #fff8e6; color: #ff9800; } .importance-low { background-color: #f5f5f5; color: #999; } .anniversary-date { margin-bottom: 16rpx; font-size: 26rpx; color: #666; } .date-label { color: #999; } .date-text { color: #333; font-weight: 500; margin-right: 12rpx; } .lunar-badge { display: inline-block; padding: 4rpx 12rpx; background-color: #e3f2fd; color: #1976d2; border-radius: 4rpx; font-size: 20rpx; } .days-info { margin: 16rpx 0; } .days-text { font-size: 28rpx; font-weight: 500; color: #07c160; } .days-text.urgent { color: #ff5722; font-weight: 600; } .days-text.warning { color: #ff9800; } .days-text.past { color: #999; } .anniversary-remark { font-size: 26rpx; color: #999; line-height: 1.6; margin: 16rpx 0; padding: 16rpx; background-color: #f9f9f9; border-radius: 8rpx; } .anniversary-actions { display: flex; gap: 16rpx; margin-top: 24rpx; padding-top: 24rpx; border-top: 1px solid #f0f0f0; } .edit-btn, .delete-btn { flex: 1; height: 64rpx; line-height: 64rpx; border-radius: 8rpx; font-size: 24rpx; border: none; } .edit-btn { background-color: #f5f5f5; color: #666; } .delete-btn { background-color: #fff3f0; color: #ff5722; } .edit-btn::after, .delete-btn::after { border: none; } .empty-state { text-align: center; padding: 120rpx 40rpx; } .empty-state .icon { font-size: 120rpx; display: block; margin-bottom: 32rpx; } .empty-state .text { font-size: 28rpx; color: #999; }