|
@@ -1174,7 +1174,7 @@ export struct LocalMusic {
|
|
|
this.listScroller.scrollTo({ xOffset: 0, yOffset: lastOffset })
|
|
this.listScroller.scrollTo({ xOffset: 0, yOffset: lastOffset })
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- }, 300)
|
|
|
|
|
|
|
+ }, 100)
|
|
|
|
|
|
|
|
|
|
|
|
|
this.currentPath = Utility.getParentDirectory(this.currentPath)
|
|
this.currentPath = Utility.getParentDirectory(this.currentPath)
|
|
@@ -6772,10 +6772,7 @@ export struct LocalMusic {
|
|
|
this.prevOffsetY = currentOffsetY;
|
|
this.prevOffsetY = currentOffsetY;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- //滚动小屏幕 比如puraX外屏和手机横屏可以隐藏bottomBarHeight topBarHeight
|
|
|
|
|
- // if (this.isPhoneLan()) {
|
|
|
|
|
- // this.setBarHeightHide(offset)
|
|
|
|
|
- // } else
|
|
|
|
|
|
|
+
|
|
|
if (this.currentWidthBreakpoint !== WidthBreakpoint.WIDTH_SM ||
|
|
if (this.currentWidthBreakpoint !== WidthBreakpoint.WIDTH_SM ||
|
|
|
(this.currentHeightBreakpoint !== HeightBreakpoint.HEIGHT_MD &&
|
|
(this.currentHeightBreakpoint !== HeightBreakpoint.HEIGHT_MD &&
|
|
|
this.currentHeightBreakpoint !== HeightBreakpoint.HEIGHT_SM)) {
|
|
this.currentHeightBreakpoint !== HeightBreakpoint.HEIGHT_SM)) {
|
|
@@ -6946,12 +6943,12 @@ export struct LocalMusic {
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
this.waterScroller.scrollEdge(Edge.Top)
|
|
this.waterScroller.scrollEdge(Edge.Top)
|
|
|
this.scroller.scrollEdge(Edge.Top)
|
|
this.scroller.scrollEdge(Edge.Top)
|
|
|
- }, 380)
|
|
|
|
|
|
|
+ }, 200)
|
|
|
}else{
|
|
}else{
|
|
|
if (this.isGridMusic) {
|
|
if (this.isGridMusic) {
|
|
|
- this.scroller.scrollEdge(Edge.Top)
|
|
|
|
|
|
|
+ this.scroller.scrollToIndex(0,false)
|
|
|
}else{
|
|
}else{
|
|
|
- this.listScroller.scrollEdge(Edge.Top)
|
|
|
|
|
|
|
+ this.listScroller.scrollToIndex(0,false)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
this.rightTopImage = $r('sys.symbol.chevron_left')
|
|
this.rightTopImage = $r('sys.symbol.chevron_left')
|
|
@@ -9402,9 +9399,9 @@ export struct LocalMusic {
|
|
|
|
|
|
|
|
//是不是1920x720的hicar的屏幕分辨率
|
|
//是不是1920x720的hicar的屏幕分辨率
|
|
|
isHiCarKuanBianPing(){
|
|
isHiCarKuanBianPing(){
|
|
|
- if(!this.isHiCar()){
|
|
|
|
|
- return false
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if(!this.isHiCar()){
|
|
|
|
|
+ // return false
|
|
|
|
|
+ // }
|
|
|
const hiCarAspectRatios: HiCarAspectRatio[] = [
|
|
const hiCarAspectRatios: HiCarAspectRatio[] = [
|
|
|
{ ratio: 1920 / 720, name: "1920x720" },
|
|
{ ratio: 1920 / 720, name: "1920x720" },
|
|
|
];
|
|
];
|