|
|
@@ -1530,11 +1530,11 @@ export struct LocalMusic {
|
|
|
}
|
|
|
//如果是hicar连接状态,这些都是false
|
|
|
if(this.isHiCar()){
|
|
|
- this.isShowTitleBar = true//不显示导航栏
|
|
|
+ this.autoHideTitle = false
|
|
|
+ this.isCoverRectangle= true
|
|
|
this.columns=4
|
|
|
if(!(this.windowWidth>1800&&this.windowHeight>=1200))//小屏幕不可以Grid
|
|
|
{
|
|
|
- this.isShowHeader = false//二级菜单不显示头部
|
|
|
this.isGridMusic= false//用list不用网格
|
|
|
this.isCoverTopBig = false
|
|
|
}
|
|
|
@@ -9504,7 +9504,7 @@ export struct LocalMusic {
|
|
|
|
|
|
isHiCar() {
|
|
|
|
|
|
- return this.isHiCarStatus&&this.curDisplayIsHiCar;
|
|
|
+ return this.curDisplayIsHiCar;
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -10956,7 +10956,7 @@ export struct LocalMusic {
|
|
|
if (this.isCoverTop && this.isCoverRectangle) {
|
|
|
Image(this.cover)
|
|
|
.height(this.isHiCar()?(px2vp(this.windowHeight)*0.46):
|
|
|
- this.isCoverOpacity()?(px2vp(this.windowHeight)*0.6):'auto')
|
|
|
+ this.isCoverOpacity()?(px2vp(this.windowHeight)*0.55):'auto')
|
|
|
.width(this.isHiCar()||this.isCoverOpacity()?'auto':this.isBigScreen() ? '72%' : this.isCoverTopBig ? '100%' : '88%')
|
|
|
.objectFit(this.isCoverRectangle ? ImageFit.Contain : ImageFit.Auto)
|
|
|
.alt($r('app.media.alt'))
|