mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 05:38:04 +00:00
fix: bugs (#1503)
* fix: 限制FMCard上的歌名长度 避免曲名过长将其他部分顶出卡片外 * fix: Library取词逻辑 * fix: 歌词页面Player UI * fix: 搜索页面专辑发布日期 * fix: 修复私人FM启动时总是加载新的数据,导致数据过多的问题 * update * 更改FM的初始化顺序 * Update player.ts * fix: 将FMCard的歌名长度限制为两行
This commit is contained in:
parent
70d1de0e0f
commit
a95524ff34
5 changed files with 34 additions and 21 deletions
|
|
@ -8,6 +8,7 @@ import Cover from '@/renderer/components/Cover'
|
|||
import TrackGrid from '@/renderer/components/TracksGrid'
|
||||
import { player } from '@/renderer/store'
|
||||
import { resizeImage } from '@/renderer/utils/common'
|
||||
import dayjs from 'dayjs'
|
||||
|
||||
const Artists = ({ artists }: { artists: Artist[] }) => {
|
||||
const navigate = useNavigate()
|
||||
|
|
@ -62,7 +63,7 @@ const Albums = ({ albums }: { albums: Album[] }) => {
|
|||
{album.name}
|
||||
</div>
|
||||
<div className='mt-0.5 text-sm font-medium text-gray-500 dark:text-gray-400'>
|
||||
专辑 · {album?.artist.name} · 2020
|
||||
专辑 · {album?.artist.name} · {dayjs(album.publishTime).year()}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue