فهرست منبع

恢复歌单封面为方形圆角

chendeben 9 ماه پیش
والد
کامیت
b7e79fc386

+ 3 - 2
entry/src/main/ets/dialog/PlaylistDialog.ets

@@ -59,7 +59,8 @@ struct PlaylistDialogContent {
             if (this.coverPath) {
               Image(this.coverPath)
                 .width(80)
-                .height(80).borderRadius(40)
+                .height(80)
+                .borderRadius(8)
                 .objectFit(ImageFit.Cover)
             } else {
               // 默认封面图标
@@ -72,7 +73,7 @@ struct PlaylistDialogContent {
               .width(80)
               .height(80)
               .backgroundColor($r('app.color.input_background'))
-              .borderRadius(40)
+              .borderRadius(8)
               .justifyContent(FlexAlign.Center)
             }
           }

+ 1 - 1
entry/src/main/ets/pages/NewIndex.ets

@@ -1052,7 +1052,7 @@ struct NewIndex {
               .width(22)
               .height(22)
               .margin({ left: 25 })
-              .borderRadius(11)
+              .borderRadius(4)
               .fillColor(this.themeColor)
               .clip(true)
             

+ 1 - 1
entry/src/main/ets/pages/PlaylistDetailPage.ets

@@ -479,7 +479,7 @@ export struct PlaylistDetailPage {
               Image(this.playlist.coverPath || $r('app.media.hm_playlist'))
                 .width(100)
                 .height(100)
-                .borderRadius(50)
+                .borderRadius(12)
                 .clip(true)
                 .interpolation(ImageInterpolation.High)
                 .autoResize(true)