feat(admin): 恢复按日期生成排期图片,重构多项体验问题
- **导入酷狗功能恢复**:废弃纯文本解析,重写为通过多选日期加载对应排期,并支持“根据日期分别生成图片”的场景。 - **浅色打印主题**:在 SchedulePrinter 和 ScheduleItemPrint 中应用 !important 强制白底黑字,消除系统深色模式对预览与打印效果的干扰。 - **日期选择器精简**:彻底删除 AdminDatePicker 和 AdminMultiDatePicker 中的横向日期盘滚动功能,改用直观的选定日期展示,配合月历面板实现更稳定快捷的选择。 - **自动排入逻辑修复**:严格过滤并匹配歌曲的 `expectedPlayDate` 和 `preferredPlayTimeId`,修复无期望播出时间的歌曲被错误填入的问题。
This commit is contained in:
@@ -1383,15 +1383,15 @@ watch(
|
||||
/* 预览区域和打印样式的核心CSS - 保持原生CSS以确保精确控制 */
|
||||
|
||||
.preview-content {
|
||||
background: var(--card-bg, #ffffff);
|
||||
background: #ffffff !important;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* 打印页面样式 */
|
||||
.print-page {
|
||||
background: var(--card-bg, #ffffff);
|
||||
color: var(--text-primary, #000000);
|
||||
background: #ffffff !important;
|
||||
color: #000000 !important;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 30px;
|
||||
@@ -1445,19 +1445,19 @@ watch(
|
||||
font-size: 24px;
|
||||
font-weight: normal;
|
||||
margin: 0 0 4px 0;
|
||||
color: var(--text-primary, #000);
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
.title-section h2 {
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
margin: 0;
|
||||
color: var(--text-quaternary, #666666);
|
||||
color: #666666 !important;
|
||||
}
|
||||
|
||||
.date-info {
|
||||
font-size: 14px;
|
||||
color: var(--text-quaternary, #666666);
|
||||
color: #666666 !important;
|
||||
text-align: right;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
|
||||
Reference in New Issue
Block a user