onecold 7 månader sedan
förälder
incheckning
253d0a147f
2 ändrade filer med 3 tillägg och 3 borttagningar
  1. 1 1
      entry/src/main/ets/view/LocalMusic.ets
  2. 2 2
      lib/src/main/ets/view/LyricView2.ets

+ 1 - 1
entry/src/main/ets/view/LocalMusic.ets

@@ -10645,7 +10645,7 @@ export struct LocalMusic {
             this.mDestroyPage = false;
             // 只有播放网盘歌曲时才显示转圈圈
             if (this.currentSong && isRemoteCloudType(this.currentSong.type)) {
-              this.showLoadIng();3
+              this.showLoadIng();
             }
             let seekValue = value * (this.mIjkMediaPlayer.getDuration() / 100);
             console.info("onecold this.currentSong.type:"+this.currentSong?.type)

+ 2 - 2
lib/src/main/ets/view/LyricView2.ets

@@ -312,7 +312,7 @@ export struct LyricView2 {
                 .visibility(this.isSingleLine?
                     (index >= this.currentIndex && index <= this.currentIndex + 1 ? Visibility.Visible : Visibility.None)
                     : Visibility.Visible)
-                .width(this.alignMode == 'center' ? '95%' : '85%')
+                .width(this.alignMode == 'center' ? '100%' :index == this.currentIndex ?'100%': '80%')
 
             // 中文翻译(整行显示)
             if (item.translation)  {
@@ -335,7 +335,7 @@ export struct LyricView2 {
                     index == this.currentIndex ? BlendMode.DST_IN : undefined,
                     index == this.currentIndex ? BlendApplyType.OFFSCREEN : undefined
                 )
-                .width(this.alignMode == 'center' ? '95%' : '85%')
+                .width(this.alignMode == 'center' ? '100%' :index == this.currentIndex ?'100%': '80%')
 
             }
         }