fix: 修复迁移遗留的按钮无响应、头像框层级及构建错误
迁移收尾修复:
- heartbeat.js: 移除 export { } 中重复的 startHeartbeat/stopHeartbeat(已通过 export function 导出)
- scripts.blade.php: 移除 JS 注释中的 {{ }} 避免 Blade 编译为 e() 导致 PHP 解析错误
- preferences-status.js: 补全 6 个缺失的 window.* 赋值(toggleBlockMenu/toggleFeatureMenu 等),
实现迁移中丢失的 updateDailyStatus/clearDailyStatus,修复 handleFeatureLocalClear 清屏回调
- toolbar.js: 补全 window.runFeatureShortcut 赋值
头像框样式修复(chat-decorations.css):
- z-index 互换:头像降至 1,框升至 3,使框边缘可遮挡头像外围
- 使用 CSS mask(radial-gradient)挖环形替代旧 ::before 实心圆遮挡方案
- clip-path: circle(50%) 硬裁剪确保圆形,不受 chat.css border-radius: 2px 覆盖
- 特异性提升至 .user-item .avatar-frame-wrapper .user-head
新 Vite 模块(从 Blade 迁移):
- chat-state.js / message-renderer.js / user-list.js / chat-events.js
- composer.js(重写)/ heartbeat.js / admin-commands.js
- vip-presence.js / chat-decorations.css
This commit is contained in:
@@ -117,6 +117,9 @@
|
||||
'envelopeStatusUrlTemplate' => '/wedding/__ID__/envelope-status',
|
||||
],
|
||||
'earnRewardUrl' => route('earn.video_reward'),
|
||||
'roomsOnlineStatusUrl' => route('chat.rooms-online-status'),
|
||||
'changelogUrl' => route('changelog.index'),
|
||||
'roomsIndexUrl' => route('rooms.index'),
|
||||
'chatImageRetentionDays' => 3,
|
||||
'initialState' => [
|
||||
'historyMessages' => $historyMessages ?? [],
|
||||
|
||||
Reference in New Issue
Block a user