feat(layout): 重构页面布局与音乐播放组件

将 PlayMusic 组件迁移至 layout/RightButton 并重构成通用右下角按钮组件,
提取音乐播放逻辑到独立 hook `usePlayMusic`,优化模态框提示逻辑并统一滚动行为。
This commit is contained in:
log1997
2025-12-04 17:38:52 +08:00
parent 9009eede02
commit 0d97c592e1
7 changed files with 171 additions and 154 deletions

View File

@@ -1,10 +1,10 @@
<script setup lang='ts'>
import { ChevronUp } from 'lucide-vue-next'
</script>
<template>
<div class="fixed z-50 flex items-center justify-center w-10 h-10 rounded-full shadow-lg cursor-pointer right-12 bottom-12 bg-slate-700 hover:bg-slate-600">
<svg-icon name="toTop" />
<ChevronUp />
</div>
</template>