瀏覽代碼

实现悬浮歌词功能

onecold 1 年之前
父節點
當前提交
ed9b7ea789
共有 2 個文件被更改,包括 446 次插入171 次删除
  1. 445 170
      entry/src/main/ets/view/LocalMusic.ets
  2. 1 1
      lib/src/main/ets/view/LyricView2.ets

文件差異過大導致無法顯示
+ 445 - 170
entry/src/main/ets/view/LocalMusic.ets


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

@@ -311,7 +311,7 @@ export struct LyricView2 {
             })
         }
         .justifyContent(this.alignMode === 'center' ? FlexAlign.Center : FlexAlign.Start)
-        .width(this.alignMode == 'center' ? '100%' : '76%')
+        .width(this.alignMode == 'center' ? '100%' : '95%')
     }
 
     private handleSeekAction() {

部分文件因文件數量過多而無法顯示