mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 19:22:10 +08:00
支持wy源flac hires歌曲类型的显示
This commit is contained in:
parent
fafb45d8c7
commit
7c2725e3c1
@ -17,6 +17,7 @@
|
||||
|
||||
- 调整了首页的界面布局
|
||||
- 优化大屏幕下的字体大小及界面布局显示
|
||||
- 支持wy源flac hires歌曲类型的显示
|
||||
|
||||
### 优化(程序)
|
||||
|
||||
|
@ -22,6 +22,13 @@ export default {
|
||||
if (privilege.id !== item.id) privilege = privileges.find(p => p.id === item.id)
|
||||
if (!privilege) return
|
||||
|
||||
if (privilege.maxBrLevel == 'hires') {
|
||||
size = item.hr ? sizeFormate(item.hr.size) : null
|
||||
types.push({ type: 'flac24bit', size })
|
||||
_types.flac24bit = {
|
||||
size,
|
||||
}
|
||||
}
|
||||
switch (privilege.maxbr) {
|
||||
case 999000:
|
||||
size = item.sq ? sizeFormate(item.sq.size) : null
|
||||
|
@ -33,6 +33,14 @@ export default {
|
||||
const types = []
|
||||
const _types = {}
|
||||
let size
|
||||
|
||||
if (item.privilege.maxBrLevel == 'hires') {
|
||||
size = item.hr ? sizeFormate(item.hr.size) : null
|
||||
types.push({ type: 'flac24bit', size })
|
||||
_types.flac24bit = {
|
||||
size,
|
||||
}
|
||||
}
|
||||
switch (item.privilege.maxbr) {
|
||||
case 999000:
|
||||
size = item.sq ? sizeFormate(item.sq.size) : null
|
||||
|
@ -151,6 +151,13 @@ export default {
|
||||
if (privilege.id !== item.id) privilege = privileges.find(p => p.id === item.id)
|
||||
if (!privilege) return
|
||||
|
||||
if (privilege.maxBrLevel == 'hires') {
|
||||
size = item.hr ? sizeFormate(item.hr.size) : null
|
||||
types.push({ type: 'flac24bit', size })
|
||||
_types.flac24bit = {
|
||||
size,
|
||||
}
|
||||
}
|
||||
switch (privilege.maxbr) {
|
||||
case 999000:
|
||||
size = null
|
||||
|
Loading…
x
Reference in New Issue
Block a user