mirror of
https://github.com/remvze/moodist.git
synced 2025-12-18 01:14:17 +00:00
refactor: 简化界面布局,移除冗余操作按钮
## 移除的功能 - 当前选中声音区域:移除删除按钮,避免误操作 - 音乐列表头部:移除展开/收起按钮,简化界面 ## 优化理念 - 保持界面简洁:减少不必要的UI元素 - 专注核心功能:保留音乐项的独立展开功能 - 提升用户体验:避免操作混乱,界面更清爽 ## 保留功能 - 音乐保存功能:保留SaveMusicButton - 音乐项展开:每个音乐项仍可独立展开查看声音详情 - 手风琴效果:展开音乐时自动收起其他项目
This commit is contained in:
parent
c76d953142
commit
26f6619904
1 changed files with 0 additions and 8 deletions
|
|
@ -297,7 +297,6 @@ export function SelectedSoundsDisplay() {
|
|||
maxLength={50}
|
||||
/>
|
||||
<SaveMusicButton />
|
||||
<DeleteMusicButton />
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
|
@ -332,13 +331,6 @@ export function SelectedSoundsDisplay() {
|
|||
<FaCog className={styles.musicIcon} />
|
||||
音乐列表
|
||||
</h4>
|
||||
<button
|
||||
className={styles.expandButton}
|
||||
onClick={toggleExpandedMyMusic}
|
||||
title={expandedMyMusic ? "收起" : "展开"}
|
||||
>
|
||||
{expandedMyMusic ? <FaChevronDown /> : <FaChevronRight />}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{/* 错误提示 */}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue