|
@@ -2524,30 +2524,35 @@ export struct LocalMusic {
|
|
|
builder: this.SubSortBuilder(SortMode.ByArtist),
|
|
builder: this.SubSortBuilder(SortMode.ByArtist),
|
|
|
symbolEndIcon: this.isSortTypeInRange(SortMode.ByArtist) ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
symbolEndIcon: this.isSortTypeInRange(SortMode.ByArtist) ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
|
})
|
|
})
|
|
|
|
|
+ .backgroundColor(this.getSortModeItemBackground(this.isSortTypeInRange(SortMode.ByArtist)))
|
|
|
MenuItem({
|
|
MenuItem({
|
|
|
symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.textformat_size_square')),
|
|
symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.textformat_size_square')),
|
|
|
content: "按专辑",
|
|
content: "按专辑",
|
|
|
builder: this.SubSortBuilder(SortMode.ByAlbum),
|
|
builder: this.SubSortBuilder(SortMode.ByAlbum),
|
|
|
symbolEndIcon: this.isSortTypeInRange(SortMode.ByAlbum) ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
symbolEndIcon: this.isSortTypeInRange(SortMode.ByAlbum) ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
|
})
|
|
})
|
|
|
|
|
+ .backgroundColor(this.getSortModeItemBackground(this.isSortTypeInRange(SortMode.ByAlbum)))
|
|
|
MenuItem({
|
|
MenuItem({
|
|
|
symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.textformat')),
|
|
symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.textformat')),
|
|
|
content: "按名称",
|
|
content: "按名称",
|
|
|
builder: this.SubSortBuilder(SortMode.ByName),
|
|
builder: this.SubSortBuilder(SortMode.ByName),
|
|
|
symbolEndIcon: this.isSortTypeInRange(SortMode.ByName) ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
symbolEndIcon: this.isSortTypeInRange(SortMode.ByName) ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
|
})
|
|
})
|
|
|
|
|
+ .backgroundColor(this.getSortModeItemBackground(this.isSortTypeInRange(SortMode.ByName)))
|
|
|
MenuItem({
|
|
MenuItem({
|
|
|
symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.clock')),
|
|
symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.clock')),
|
|
|
content: $r('app.string.sort_by_time'),
|
|
content: $r('app.string.sort_by_time'),
|
|
|
builder: this.SubSortBuilder(SortMode.ByTime),
|
|
builder: this.SubSortBuilder(SortMode.ByTime),
|
|
|
symbolEndIcon: this.isSortTypeInRange(SortMode.ByTime) ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
symbolEndIcon: this.isSortTypeInRange(SortMode.ByTime) ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
|
})
|
|
})
|
|
|
|
|
+ .backgroundColor(this.getSortModeItemBackground(this.isSortTypeInRange(SortMode.ByTime)))
|
|
|
MenuItem({
|
|
MenuItem({
|
|
|
symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.music')),
|
|
symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.music')),
|
|
|
content: '按碟片音轨号',
|
|
content: '按碟片音轨号',
|
|
|
builder: this.SubSortBuilder(SortMode.ByDiscTrack),
|
|
builder: this.SubSortBuilder(SortMode.ByDiscTrack),
|
|
|
symbolEndIcon: this.isSortTypeInRange(SortMode.ByDiscTrack) ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
symbolEndIcon: this.isSortTypeInRange(SortMode.ByDiscTrack) ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
|
})
|
|
})
|
|
|
|
|
+ .backgroundColor(this.getSortModeItemBackground(this.isSortTypeInRange(SortMode.ByDiscTrack)))
|
|
|
.visibility((this.modeType==0||(this.modeType==2&&this.isCanBack)||
|
|
.visibility((this.modeType==0||(this.modeType==2&&this.isCanBack)||
|
|
|
(this.modeType==3&&this.isCanBack))?Visibility.Visible:Visibility.None)
|
|
(this.modeType==3&&this.isCanBack))?Visibility.Visible:Visibility.None)
|
|
|
|
|
|
|
@@ -2563,12 +2568,14 @@ export struct LocalMusic {
|
|
|
builder: this.SubSortBuilder(SortMode.ByName),
|
|
builder: this.SubSortBuilder(SortMode.ByName),
|
|
|
symbolEndIcon: this.isSortTypeInRange(SortMode.ByName) ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
symbolEndIcon: this.isSortTypeInRange(SortMode.ByName) ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
|
})
|
|
})
|
|
|
|
|
+ .backgroundColor(this.getSortModeItemBackground(this.isSortTypeInRange(SortMode.ByName)))
|
|
|
MenuItem({
|
|
MenuItem({
|
|
|
symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.clock')),
|
|
symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.clock')),
|
|
|
content: '按数量',
|
|
content: '按数量',
|
|
|
builder: this.SubSortBuilder(SortMode.ByCount),
|
|
builder: this.SubSortBuilder(SortMode.ByCount),
|
|
|
symbolEndIcon: this.isSortTypeInRange(SortMode.ByCount) ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
symbolEndIcon: this.isSortTypeInRange(SortMode.ByCount) ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
|
})
|
|
})
|
|
|
|
|
+ .backgroundColor(this.getSortModeItemBackground(this.isSortTypeInRange(SortMode.ByCount)))
|
|
|
|
|
|
|
|
}.attributeModifier(new MenuModifier())
|
|
}.attributeModifier(new MenuModifier())
|
|
|
}
|
|
}
|
|
@@ -2580,6 +2587,7 @@ export struct LocalMusic {
|
|
|
symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.arrow_up')),
|
|
symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.arrow_up')),
|
|
|
symbolEndIcon: this.sortType === sortType ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
symbolEndIcon: this.sortType === sortType ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
|
})
|
|
})
|
|
|
|
|
+ .backgroundColor(this.getSortOrderItemBackground(this.sortType === sortType, true))
|
|
|
.onClick(async () => {
|
|
.onClick(async () => {
|
|
|
await this.doSortType(sortType)
|
|
await this.doSortType(sortType)
|
|
|
})
|
|
})
|
|
@@ -2588,6 +2596,7 @@ export struct LocalMusic {
|
|
|
symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.arrow_down')),
|
|
symbolStartIcon: new SymbolGlyphModifier($r('sys.symbol.arrow_down')),
|
|
|
symbolEndIcon: this.sortType === sortType + 1 ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
symbolEndIcon: this.sortType === sortType + 1 ? new SymbolGlyphModifier($r('sys.symbol.checkmark')) : undefined
|
|
|
})
|
|
})
|
|
|
|
|
+ .backgroundColor(this.getSortOrderItemBackground(this.sortType === sortType + 1, false))
|
|
|
.onClick(async () => {
|
|
.onClick(async () => {
|
|
|
await this.doSortType(sortType + 1) // 降序的sortType = 升序的sortType + 1
|
|
await this.doSortType(sortType + 1) // 降序的sortType = 升序的sortType + 1
|
|
|
})
|
|
})
|
|
@@ -2718,6 +2727,23 @@ export struct LocalMusic {
|
|
|
return this.sortType === baseSortType || this.sortType === baseSortType + 1;
|
|
return this.sortType === baseSortType || this.sortType === baseSortType + 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ private getSortModeItemBackground(isSelected: boolean): ResourceColor {
|
|
|
|
|
+ if (!isSelected) {
|
|
|
|
|
+ return Color.Transparent;
|
|
|
|
|
+ }
|
|
|
|
|
+ return this.isDarkMode ? '#334967' : '#EAF2FF';
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ private getSortOrderItemBackground(isSelected: boolean, isAsc: boolean): ResourceColor {
|
|
|
|
|
+ if (!isSelected) {
|
|
|
|
|
+ return Color.Transparent;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (isAsc) {
|
|
|
|
|
+ return this.isDarkMode ? '#295B8A' : '#DCEEFF';
|
|
|
|
|
+ }
|
|
|
|
|
+ return this.isDarkMode ? '#7A4D22' : '#FFE9D5';
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
showSheelDialog() {
|
|
showSheelDialog() {
|
|
|
// if(PreferencesUtil.getBooleanSync('isFirstMusic',true)) {
|
|
// if(PreferencesUtil.getBooleanSync('isFirstMusic',true)) {
|
|
|
// this.showTips()
|
|
// this.showTips()
|
|
@@ -5357,7 +5383,7 @@ export struct LocalMusic {
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
.height('100%')
|
|
.height('100%')
|
|
|
- .layoutWeight(1)
|
|
|
|
|
|
|
+ .width('100%')
|
|
|
.justifyContent(FlexAlign.Center)
|
|
.justifyContent(FlexAlign.Center)
|
|
|
.alignItems(HorizontalAlign.Start)
|
|
.alignItems(HorizontalAlign.Start)
|
|
|
|
|
|
|
@@ -12882,7 +12908,7 @@ export struct LocalMusic {
|
|
|
.maxLines(1)
|
|
.maxLines(1)
|
|
|
}
|
|
}
|
|
|
.zIndex(1)
|
|
.zIndex(1)
|
|
|
- .layoutWeight(1)
|
|
|
|
|
|
|
+ .width('100%')
|
|
|
.margin({ left: 15 })
|
|
.margin({ left: 15 })
|
|
|
Blank()
|
|
Blank()
|
|
|
Row(){
|
|
Row(){
|
|
@@ -12922,7 +12948,7 @@ export struct LocalMusic {
|
|
|
.hitTestBehavior(HitTestMode.Transparent)
|
|
.hitTestBehavior(HitTestMode.Transparent)
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
- .layoutWeight(1)
|
|
|
|
|
|
|
+ .width('100%')
|
|
|
.clickEffect({ level: ClickEffectLevel.LIGHT, scale: 0.5 })
|
|
.clickEffect({ level: ClickEffectLevel.LIGHT, scale: 0.5 })
|
|
|
.visibility(this.isHide ? Visibility.Hidden : Visibility.Visible)
|
|
.visibility(this.isHide ? Visibility.Hidden : Visibility.Visible)
|
|
|
.onClick(() => {
|
|
.onClick(() => {
|
|
@@ -13122,8 +13148,9 @@ export struct LocalMusic {
|
|
|
.margin({ left: 12 })
|
|
.margin({ left: 12 })
|
|
|
Blank()
|
|
Blank()
|
|
|
}
|
|
}
|
|
|
- .width('76%')
|
|
|
|
|
|
|
+ .layoutWeight(1)
|
|
|
}
|
|
}
|
|
|
|
|
+ .width('100%')
|
|
|
.margin({
|
|
.margin({
|
|
|
left: 20,
|
|
left: 20,
|
|
|
right: 15,
|
|
right: 15,
|
|
@@ -13152,8 +13179,9 @@ export struct LocalMusic {
|
|
|
.margin({ left: 12 })
|
|
.margin({ left: 12 })
|
|
|
Blank()
|
|
Blank()
|
|
|
}
|
|
}
|
|
|
- .width('76%')
|
|
|
|
|
|
|
+ .layoutWeight(1)
|
|
|
}
|
|
}
|
|
|
|
|
+ .width('100%')
|
|
|
.margin({
|
|
.margin({
|
|
|
left: 20,
|
|
left: 20,
|
|
|
right: 15,
|
|
right: 15,
|
|
@@ -13165,7 +13193,6 @@ export struct LocalMusic {
|
|
|
Text(`歌词居中:`)
|
|
Text(`歌词居中:`)
|
|
|
.fontSize(14)
|
|
.fontSize(14)
|
|
|
.fontColor(Color.White)
|
|
.fontColor(Color.White)
|
|
|
- .margin({ left: 2 })
|
|
|
|
|
Row() {
|
|
Row() {
|
|
|
ForEach(['居中', '居左'], (size: string, index: number) => {
|
|
ForEach(['居中', '居左'], (size: string, index: number) => {
|
|
|
Button(size)
|
|
Button(size)
|
|
@@ -13187,15 +13214,16 @@ export struct LocalMusic {
|
|
|
.margin({ left: 10, right: 8 })
|
|
.margin({ left: 10, right: 8 })
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
- .width('76%')
|
|
|
|
|
|
|
+ .layoutWeight(1)
|
|
|
|
|
|
|
|
Blank()
|
|
Blank()
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ .width('100%')
|
|
|
.margin({
|
|
.margin({
|
|
|
top: 10,
|
|
top: 10,
|
|
|
bottom: 10,
|
|
bottom: 10,
|
|
|
- right: 20,
|
|
|
|
|
|
|
+ right: 15,
|
|
|
left: 20
|
|
left: 20
|
|
|
})
|
|
})
|
|
|
|
|
|
|
@@ -13273,8 +13301,8 @@ export struct LocalMusic {
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
- .width('76%')
|
|
|
|
|
- .margin({ bottom: 5, right: 45, left: 20 })
|
|
|
|
|
|
|
+ .width('100%')
|
|
|
|
|
+ .margin({ bottom: 5, right: 15, left: 20 })
|
|
|
}
|
|
}
|
|
|
if (!isPip) {
|
|
if (!isPip) {
|
|
|
Row() {
|
|
Row() {
|
|
@@ -13299,9 +13327,10 @@ export struct LocalMusic {
|
|
|
Blank()
|
|
Blank()
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
- .width('76%')
|
|
|
|
|
|
|
+ .layoutWeight(1)
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ .width('100%')
|
|
|
.margin({
|
|
.margin({
|
|
|
left: 20,
|
|
left: 20,
|
|
|
right: 15,
|
|
right: 15,
|
|
@@ -13317,7 +13346,7 @@ export struct LocalMusic {
|
|
|
Text(isPip ? this.currentLyricColorPip : this.currentLyricColor)
|
|
Text(isPip ? this.currentLyricColorPip : this.currentLyricColor)
|
|
|
.fontSize(15)
|
|
.fontSize(15)
|
|
|
.fontColor(Color.White)
|
|
.fontColor(Color.White)
|
|
|
- .margin({ left: 12, right: 12 })
|
|
|
|
|
|
|
+ .margin({ left: 6, right: 6 })
|
|
|
Column() {
|
|
Column() {
|
|
|
}
|
|
}
|
|
|
.backgroundColor(isPip ? this.currentLyricColorPip : this.currentLyricColor)
|
|
.backgroundColor(isPip ? this.currentLyricColorPip : this.currentLyricColor)
|
|
@@ -13363,11 +13392,11 @@ export struct LocalMusic {
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
- .width('76%')
|
|
|
|
|
|
|
+ .width('100%')
|
|
|
.margin({
|
|
.margin({
|
|
|
top: 10,
|
|
top: 10,
|
|
|
bottom: 10,
|
|
bottom: 10,
|
|
|
- right: 45,
|
|
|
|
|
|
|
+ right: 15,
|
|
|
left: 20
|
|
left: 20
|
|
|
})
|
|
})
|
|
|
|
|
|
|
@@ -13378,7 +13407,7 @@ export struct LocalMusic {
|
|
|
Text(isPip ? this.currentHighLightLyricColorPip : this.currentHighLightLyricColor)
|
|
Text(isPip ? this.currentHighLightLyricColorPip : this.currentHighLightLyricColor)
|
|
|
.fontSize(15)
|
|
.fontSize(15)
|
|
|
.fontColor(Color.White)
|
|
.fontColor(Color.White)
|
|
|
- .margin({ left: 12, right: 12 })
|
|
|
|
|
|
|
+ .margin({ left: 6, right: 6 })
|
|
|
Column() {
|
|
Column() {
|
|
|
}
|
|
}
|
|
|
.backgroundColor(isPip ? this.currentHighLightLyricColorPip : this.currentHighLightLyricColor)
|
|
.backgroundColor(isPip ? this.currentHighLightLyricColorPip : this.currentHighLightLyricColor)
|
|
@@ -13424,11 +13453,11 @@ export struct LocalMusic {
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
- .width('76%')
|
|
|
|
|
|
|
+ .width('100%')
|
|
|
.margin({
|
|
.margin({
|
|
|
top: 10,
|
|
top: 10,
|
|
|
bottom: 10,
|
|
bottom: 10,
|
|
|
- right: 45,
|
|
|
|
|
|
|
+ right: 15,
|
|
|
left: 20
|
|
left: 20
|
|
|
})
|
|
})
|
|
|
|
|
|
|
@@ -13437,8 +13466,6 @@ export struct LocalMusic {
|
|
|
Text(`显示宽度:`)
|
|
Text(`显示宽度:`)
|
|
|
.fontSize(14)
|
|
.fontSize(14)
|
|
|
.fontColor(Color.White)
|
|
.fontColor(Color.White)
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
Slider({
|
|
Slider({
|
|
|
value: this.pipLyWidth,
|
|
value: this.pipLyWidth,
|
|
|
min: 10,
|
|
min: 10,
|
|
@@ -13457,7 +13484,7 @@ export struct LocalMusic {
|
|
|
PreferencesUtil.putSync('pipLyWidth', this.pipLyWidth)
|
|
PreferencesUtil.putSync('pipLyWidth', this.pipLyWidth)
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
- .width('76%')
|
|
|
|
|
|
|
+ .layoutWeight(1)
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
.margin({
|
|
.margin({
|
|
@@ -13471,8 +13498,6 @@ export struct LocalMusic {
|
|
|
Text(`显示高度:`)
|
|
Text(`显示高度:`)
|
|
|
.fontSize(14)
|
|
.fontSize(14)
|
|
|
.fontColor(Color.White)
|
|
.fontColor(Color.White)
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
Slider({
|
|
Slider({
|
|
|
value: this.pipLyHeight,
|
|
value: this.pipLyHeight,
|
|
|
min: 10,
|
|
min: 10,
|
|
@@ -13491,7 +13516,7 @@ export struct LocalMusic {
|
|
|
PreferencesUtil.putSync('pipLyHeight', this.pipLyHeight)
|
|
PreferencesUtil.putSync('pipLyHeight', this.pipLyHeight)
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
- .width('76%')
|
|
|
|
|
|
|
+ .layoutWeight(1)
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
.margin({
|
|
.margin({
|
|
@@ -13506,8 +13531,6 @@ export struct LocalMusic {
|
|
|
Text(`歌词字号:`)
|
|
Text(`歌词字号:`)
|
|
|
.fontSize(14)
|
|
.fontSize(14)
|
|
|
.fontColor(Color.White)
|
|
.fontColor(Color.White)
|
|
|
- .margin({ right: 12 })
|
|
|
|
|
-
|
|
|
|
|
Slider({
|
|
Slider({
|
|
|
value: isPip ? this.currentLyricSizePip : this.currentLyricSize,
|
|
value: isPip ? this.currentLyricSizePip : this.currentLyricSize,
|
|
|
min: 12,
|
|
min: 12,
|
|
@@ -13527,13 +13550,13 @@ export struct LocalMusic {
|
|
|
Text(this.getLyricSizeDisplayValue(isPip))
|
|
Text(this.getLyricSizeDisplayValue(isPip))
|
|
|
.fontSize(13)
|
|
.fontSize(13)
|
|
|
.fontColor(Color.White)
|
|
.fontColor(Color.White)
|
|
|
- .width(44)
|
|
|
|
|
- .textAlign(TextAlign.End)
|
|
|
|
|
|
|
+ .textAlign(TextAlign.Start)
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ .width('100%')
|
|
|
.margin({
|
|
.margin({
|
|
|
left: 20,
|
|
left: 20,
|
|
|
- right: 45,
|
|
|
|
|
|
|
+ right: 15,
|
|
|
top: 5,
|
|
top: 5,
|
|
|
bottom: 5
|
|
bottom: 5
|
|
|
})
|
|
})
|
|
@@ -13542,8 +13565,6 @@ export struct LocalMusic {
|
|
|
Text(`高亮倍数:`)
|
|
Text(`高亮倍数:`)
|
|
|
.fontSize(14)
|
|
.fontSize(14)
|
|
|
.fontColor(Color.White)
|
|
.fontColor(Color.White)
|
|
|
- .margin({ right: 12 })
|
|
|
|
|
-
|
|
|
|
|
Slider({
|
|
Slider({
|
|
|
value: isPip ? this.currentHightLyricSizePip : this.currentHightLyricSize,
|
|
value: isPip ? this.currentHightLyricSizePip : this.currentHightLyricSize,
|
|
|
min: 1,
|
|
min: 1,
|
|
@@ -13563,14 +13584,14 @@ export struct LocalMusic {
|
|
|
Text(this.getHighLyricSizeDisplayValue(isPip))
|
|
Text(this.getHighLyricSizeDisplayValue(isPip))
|
|
|
.fontSize(13)
|
|
.fontSize(13)
|
|
|
.fontColor(Color.White)
|
|
.fontColor(Color.White)
|
|
|
- .width(44)
|
|
|
|
|
- .textAlign(TextAlign.End)
|
|
|
|
|
|
|
+ .textAlign(TextAlign.Start)
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ .width('100%')
|
|
|
|
|
|
|
|
.margin({
|
|
.margin({
|
|
|
left: 20,
|
|
left: 20,
|
|
|
- right: 45,
|
|
|
|
|
|
|
+ right: 15,
|
|
|
top: 5,
|
|
top: 5,
|
|
|
bottom: 5
|
|
bottom: 5
|
|
|
})
|
|
})
|
|
@@ -13580,7 +13601,6 @@ export struct LocalMusic {
|
|
|
Text(`歌词间隙:`)
|
|
Text(`歌词间隙:`)
|
|
|
.fontSize(14)
|
|
.fontSize(14)
|
|
|
.fontColor(Color.White)
|
|
.fontColor(Color.White)
|
|
|
- .margin({ right: 12 })
|
|
|
|
|
Slider({
|
|
Slider({
|
|
|
value: isPip ? this.currentLyricLineSpacePip : this.currentLyricLineSpace,
|
|
value: isPip ? this.currentLyricLineSpacePip : this.currentLyricLineSpace,
|
|
|
min: 0,
|
|
min: 0,
|
|
@@ -13600,15 +13620,12 @@ export struct LocalMusic {
|
|
|
Text(this.getLyricLineSpaceDisplayValue(isPip))
|
|
Text(this.getLyricLineSpaceDisplayValue(isPip))
|
|
|
.fontSize(13)
|
|
.fontSize(13)
|
|
|
.fontColor(Color.White)
|
|
.fontColor(Color.White)
|
|
|
- .width(44)
|
|
|
|
|
- .textAlign(TextAlign.End)
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+ .textAlign(TextAlign.Start)
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ .width('100%')
|
|
|
.margin({
|
|
.margin({
|
|
|
left: 20,
|
|
left: 20,
|
|
|
- right: 45,
|
|
|
|
|
|
|
+ right: 15,
|
|
|
top: 5,
|
|
top: 5,
|
|
|
bottom: 5
|
|
bottom: 5
|
|
|
})
|
|
})
|
|
@@ -13618,7 +13635,6 @@ export struct LocalMusic {
|
|
|
Text(`歌词字重:`)
|
|
Text(`歌词字重:`)
|
|
|
.fontSize(14)
|
|
.fontSize(14)
|
|
|
.fontColor(Color.White)
|
|
.fontColor(Color.White)
|
|
|
- .margin({ right: 12 })
|
|
|
|
|
Slider({
|
|
Slider({
|
|
|
value: isPip ? this.lyricTextWeightPip : this.lyricTextWeight,
|
|
value: isPip ? this.lyricTextWeightPip : this.lyricTextWeight,
|
|
|
min: 100,
|
|
min: 100,
|
|
@@ -13646,15 +13662,12 @@ export struct LocalMusic {
|
|
|
Text(this.getLyricTextWeightDisplayValue(isPip))
|
|
Text(this.getLyricTextWeightDisplayValue(isPip))
|
|
|
.fontSize(13)
|
|
.fontSize(13)
|
|
|
.fontColor(Color.White)
|
|
.fontColor(Color.White)
|
|
|
- .width(44)
|
|
|
|
|
- .textAlign(TextAlign.End)
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+ .textAlign(TextAlign.Start)
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ .width('100%')
|
|
|
.margin({
|
|
.margin({
|
|
|
left: 20,
|
|
left: 20,
|
|
|
- right: 45,
|
|
|
|
|
|
|
+ right: 15,
|
|
|
top: 5,
|
|
top: 5,
|
|
|
bottom: 5
|
|
bottom: 5
|
|
|
})
|
|
})
|
|
@@ -13669,6 +13682,7 @@ export struct LocalMusic {
|
|
|
.margin({ top: 3, bottom: 10 })
|
|
.margin({ top: 3, bottom: 10 })
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ .width('88%')
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|