From d27e6bc0c54c2cd60f36cbd5705c6a478ca07705 Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Mon, 13 Jan 2025 20:59:25 +0800 Subject: [PATCH] =?UTF-8?q?feat(home):=20=E5=AE=9E=E7=8E=B0=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E7=9B=B4=E6=92=AD=E9=97=B4=E5=85=A8=E5=B1=8F=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 fullLive 全局状态管理直播间的全屏状态 - 修改 AppHeader组件,根据 fullLive 状态控制返回按钮的显示 - 更新 default 布局,根据 fullLive 状态控制 AppFooter 的显示- 调整 LiveRoom组件,支持全屏模式下的布局变化 - 修改 home 页面,实现直播间全屏和列表之间的切换 --- app/components/AppHeader.vue | 10 +- app/components/liveBroadcast/index.vue | 3 +- app/layouts/default.vue | 8 +- app/pages/LiveRoom/index.client.vue | 78 +++++---- app/pages/home/index.vue | 215 ++++++++++++++----------- app/stores/home/index.js | 7 + 6 files changed, 184 insertions(+), 137 deletions(-) create mode 100644 app/stores/home/index.js diff --git a/app/components/AppHeader.vue b/app/components/AppHeader.vue index 6d8365a..7dc7ee9 100644 --- a/app/components/AppHeader.vue +++ b/app/components/AppHeader.vue @@ -1,10 +1,15 @@