|
@@ -5215,6 +5215,8 @@ export struct LocalMusic {
|
|
|
centerY: 0
|
|
centerY: 0
|
|
|
})
|
|
})
|
|
|
.onReachEnd(() => {
|
|
.onReachEnd(() => {
|
|
|
|
|
+ if(this.modeType === 4 )
|
|
|
|
|
+ return;
|
|
|
// 触底加载下一页
|
|
// 触底加载下一页
|
|
|
Logger.info('heanup LocalMusic', `onReachEnd: hasMore=${this.hasMoreData}, isLoading=${this.isLoadingPage}`);
|
|
Logger.info('heanup LocalMusic', `onReachEnd: hasMore=${this.hasMoreData}, isLoading=${this.isLoadingPage}`);
|
|
|
if (this.isCanBack && (this.modeType === 2 || this.modeType === 3)) {
|
|
if (this.isCanBack && (this.modeType === 2 || this.modeType === 3)) {
|
|
@@ -5631,6 +5633,8 @@ export struct LocalMusic {
|
|
|
.scrollBar(BarState.Off)
|
|
.scrollBar(BarState.Off)
|
|
|
.supportAnimation(true)
|
|
.supportAnimation(true)
|
|
|
.onReachEnd(() => {
|
|
.onReachEnd(() => {
|
|
|
|
|
+ if(this.modeType === 4 )
|
|
|
|
|
+ return;
|
|
|
// 触底加载下一页
|
|
// 触底加载下一页
|
|
|
Logger.info('heanup LocalMusic', `onReachEnd: hasMore=${this.hasMoreData}, isLoading=${this.isLoadingPage}`);
|
|
Logger.info('heanup LocalMusic', `onReachEnd: hasMore=${this.hasMoreData}, isLoading=${this.isLoadingPage}`);
|
|
|
if (this.isCanBack && (this.modeType === 2 || this.modeType === 3)) {
|
|
if (this.isCanBack && (this.modeType === 2 || this.modeType === 3)) {
|
|
@@ -6427,6 +6431,8 @@ export struct LocalMusic {
|
|
|
this.hideAlphabetIndexAfterDelay(1500)
|
|
this.hideAlphabetIndexAfterDelay(1500)
|
|
|
})
|
|
})
|
|
|
.onReachEnd(() => {
|
|
.onReachEnd(() => {
|
|
|
|
|
+ if(this.modeType === 4 )
|
|
|
|
|
+ return;
|
|
|
// 触底加载下一页
|
|
// 触底加载下一页
|
|
|
Logger.info('heanup LocalMusic', `onReachEnd: hasMore=${this.hasMoreData}, isLoading=${this.isLoadingPage}`);
|
|
Logger.info('heanup LocalMusic', `onReachEnd: hasMore=${this.hasMoreData}, isLoading=${this.isLoadingPage}`);
|
|
|
if (this.isCanBack && (this.modeType === 2 || this.modeType === 3)) {
|
|
if (this.isCanBack && (this.modeType === 2 || this.modeType === 3)) {
|
|
@@ -9166,6 +9172,8 @@ export struct LocalMusic {
|
|
|
.width('100%')
|
|
.width('100%')
|
|
|
.height('100%')
|
|
.height('100%')
|
|
|
.onReachEnd(() => {
|
|
.onReachEnd(() => {
|
|
|
|
|
+ if(this.modeType === 4 )
|
|
|
|
|
+ return;
|
|
|
void this.tryLoadNextPageForPlayback();
|
|
void this.tryLoadNextPageForPlayback();
|
|
|
})
|
|
})
|
|
|
// .transition(TransitionEffect.move(TransitionEdge.BOTTOM)
|
|
// .transition(TransitionEffect.move(TransitionEdge.BOTTOM)
|