-
-
+
-
-
-
-
-
-
-
+
+
-
-
-
-
@@ -85,462 +57,435 @@
-
+
+
-
- {{ siteTitle }}
- - VoiceHub 校园广播系统 -
+
{{ siteTitle }}
+下周校园,听你的。
- -
-
-
-
-
-
-
+ 立即点歌
+
+
+ 查看排期
+
+
+
+
-
- 播出排期
-
-
-
- 歌曲列表
-
-
-
- 投稿歌曲
-
-
+
-
-
-
-
-
-
-
- 消息
-
-
-
-
- 消息
-
-
-
+
+ {{ isRequestOpen ? '当前投稿开放' : '当前投稿关闭' }} · 共 {{ songCount || 0 }} 首投稿 · {{ scheduleCount || 0 }} 首已定排期
+
+
-
-
-
+
+
+
+
-
-
-
-
+
+
-
-
-
-
-
-
-
-
+
+
-
-
-
+
+ 本周排期
+ 播出时间表 +
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 热门投稿
+ 为喜欢的歌投票 +
+
+ 投稿歌曲
+ 点歌规则 +
+
+
+
+ 立即登录
+
+ 登录后投稿
+登录后可选择期望日期和播出位置
+
+
+
+
+
+ 我的消息
+
+
+
+
+ 立即登录
+
+ 需要登录
+您需要登录才能查看通知
+
+
+
@@ -1273,12 +1218,10 @@ const handleRequest = async (songData, done) => {
await requestFormRef.value.refreshSubmissionStatus()
}
- // 如果当前在歌曲列表页,自动切换到该页面
- if (activeTab.value !== 'songs') {
- setTimeout(() => {
- handleTabClick('songs')
- }, 500)
- }
+ // 投稿成功后自动滚动到歌曲列表
+ setTimeout(() => {
+ scrollToSection('songs-section')
+ }, 500)
if (typeof done === 'function') done(true)
return true
@@ -1523,9 +1466,15 @@ const vRipple = {
}
}
-// 处理标签点击事件,添加动画效果
+// 处理标签点击事件(@deprecated 保留以防它处引用,页面现已改为纵向区块无标签切换)
const handleTabClick = (tab) => {
- activeTab.value = tab
+ // activeTab.value = tab
+}
+
+// 滚动到指定区块
+const scrollToSection = (id) => {
+ const el = document.getElementById(id)
+ if (el) el.scrollIntoView({ behavior: 'smooth', block: 'start' })
}
// 添加导航到登录页面的方法
@@ -1650,6 +1599,15 @@ if (
pointer-events: none;
}
+/* 右上角浮动用户操作区 */
+.user-actions-floating {
+ position: relative;
+ z-index: 100;
+ display: flex;
+ justify-content: flex-end;
+ margin-bottom: 16px;
+}
+
/* 顶部区域样式 */
.top-bar {
display: flex;
@@ -3659,4 +3617,18 @@ if (
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 67, 248, 0.3);
}
+
+/* ============ 新增纵向五区块样式 ============ */
+.home { width:100%; flex:1; background: var(--bg-primary, #FFFFFF); padding: 0; color: var(--text-primary, #111827); min-height:100vh; }
+.main-content { max-width: 1200px; margin: 0 auto; padding: 24px 16px 32px; }
+.hero-block { padding: 48px 0 24px; display: flex; flex-direction: column; gap: 32px; }
+@media (min-width: 1024px) { .hero-block { flex-direction: row; align-items: center; justify-content: space-between; } }
+.hero-title { font-size: 44px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 12px; }
+.hero-subtitle { font-size: 18px; color: var(--text-secondary, #4B5563); font-weight: 500; margin-bottom: 24px; }
+.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
+.status-info { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--bg-secondary, #F9FAFB); border: 1px solid var(--border-primary, #E5E7EB); border-radius: 8px; font-size: 13px; color: var(--text-secondary); font-weight: 500; }
+.content-block { padding: 28px 0; border-top: 1px solid var(--border-primary, #E5E7EB); }
+.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
+.section-header h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
+.section-header .sub { font-size: 13px; color: var(--text-tertiary, #6B7280); font-weight: 500; cursor: pointer; }
+
+
-
+
+
+ 加载中...
+
+
+
+
+
+
+
+
+ 暂无通知
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 歌曲已选中
+ 歌曲已播放
+ 收到新投票
+ 歌曲被驳回
+
+ 联合投稿邀请
+
+ {{
+ notification.status === 'ACCEPTED'
+ ? '- 已接受'
+ : notification.status === 'INVALID'
+ ? '- 已失效'
+ : '- 已拒绝'
+ }}
+
+
+ 联合投稿回复
+ 系统通知
+
+
+
+ {{ formatNotificationTime(notification.createdAt) }}
+
+
+
+ {{ notification.message }}
+
+
+
+
+ {{ notification.processing ? '处理中...' : '接受邀请' }}
+
+
+ 拒绝
+
+
+
+
+
+ 删除
+
+
+
-
+
+
+
-
+
+
+
-
- 立即登录
-
+ 需要登录
-您需要登录才能查看通知
-
+
+ 共 {{ notificationsService.totalCount.value }} 条通知, 第
+ {{ notificationsService.currentPage.value }} /
+ {{ notificationsService.totalPages.value }} 页
+
-
-
-
-
-
+
+
+
+
-
- 通知中心
-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ page }}
+
+ ...
+
+
+
+
-
-
-
-
-
-
-
- 加载中...
-
-
-
-
-
-
-
-
- 暂无通知
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 歌曲已选中
- 歌曲已播放
- 收到新投票
- 歌曲被驳回
-
- 联合投稿邀请
-
- {{
- notification.status === 'ACCEPTED'
- ? '- 已接受'
- : notification.status === 'INVALID'
- ? '- 已失效'
- : '- 已拒绝'
- }}
-
-
- 联合投稿回复
- 系统通知
-
-
-
- {{ formatNotificationTime(notification.createdAt) }}
-
-
-
- {{ notification.message }}
-
-
-
-
- {{ notification.processing ? '处理中...' : '接受邀请' }}
-
-
- 拒绝
-
-
-
-
-
- 删除
-
-
-
-
-
-
-
-
- 共 {{ notificationsService.totalCount.value }} 条通知, 第
- {{ notificationsService.currentPage.value }} /
- {{ notificationsService.totalPages.value }} 页
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ page }}
-
- ...
-
-
-
-
-
- 加载中...
-
-
-
- 全部标记为已读
-
-
- 清空所有消息
-
-
-
-
-
+
+ 加载中...
+
+ 全部标记为已读
+
+
+ 清空所有消息
+
+
+
+
+