|
@@ -10430,12 +10430,10 @@ export struct LocalMusic {
|
|
|
this.stop();
|
|
this.stop();
|
|
|
this.currentSong = this.songList[this.curIndex]
|
|
this.currentSong = this.songList[this.curIndex]
|
|
|
this.videoUrl = this.songList[this.curIndex].filePath;
|
|
this.videoUrl = this.songList[this.curIndex].filePath;
|
|
|
-
|
|
|
|
|
- //this.cover = this.songList[this.curIndex].pixelMapPath
|
|
|
|
|
- this.changeImageAnimation()
|
|
|
|
|
this.artist = this.songList[this.curIndex].artist
|
|
this.artist = this.songList[this.curIndex].artist
|
|
|
this.name = this.songList[this.curIndex].name
|
|
this.name = this.songList[this.curIndex].name
|
|
|
- this.startPlayOrResumePlay()
|
|
|
|
|
|
|
+ //this.cover = this.songList[this.curIndex].pixelMapPath
|
|
|
|
|
+ this.changeImageAnimation()
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -10447,7 +10445,7 @@ export struct LocalMusic {
|
|
|
duration: 500,
|
|
duration: 500,
|
|
|
curve: Curve.EaseOut,
|
|
curve: Curve.EaseOut,
|
|
|
}, () => {
|
|
}, () => {
|
|
|
- this.opacityValueImage = 0.3;
|
|
|
|
|
|
|
+ this.opacityValueImage = 0.1;
|
|
|
if(this.isCoverRectangle){
|
|
if(this.isCoverRectangle){
|
|
|
this.scaleValueImage = 0.88
|
|
this.scaleValueImage = 0.88
|
|
|
}
|
|
}
|
|
@@ -10463,6 +10461,7 @@ export struct LocalMusic {
|
|
|
}, () => {
|
|
}, () => {
|
|
|
this.opacityValueImage = 1;
|
|
this.opacityValueImage = 1;
|
|
|
this.scaleValueImage = 1 // 图标恢复到原始大小
|
|
this.scaleValueImage = 1 // 图标恢复到原始大小
|
|
|
|
|
+ this.startPlayOrResumePlay()
|
|
|
});
|
|
});
|
|
|
}, 500);
|
|
}, 500);
|
|
|
}
|
|
}
|
|
@@ -10514,10 +10513,9 @@ export struct LocalMusic {
|
|
|
this.currentSong = this.songList[this.curIndex];
|
|
this.currentSong = this.songList[this.curIndex];
|
|
|
this.videoUrl = this.songList[this.curIndex].filePath;
|
|
this.videoUrl = this.songList[this.curIndex].filePath;
|
|
|
this.name = this.songList[this.curIndex].name;
|
|
this.name = this.songList[this.curIndex].name;
|
|
|
|
|
+ this.artist = this.songList[this.curIndex].artist
|
|
|
// this.cover = this.songList[this.curIndex].pixelMapPath
|
|
// this.cover = this.songList[this.curIndex].pixelMapPath
|
|
|
this.changeImageAnimation()
|
|
this.changeImageAnimation()
|
|
|
- this.artist = this.songList[this.curIndex].artist
|
|
|
|
|
- this.startPlayOrResumePlay();
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -10532,10 +10530,9 @@ export struct LocalMusic {
|
|
|
this.currentSong = this.songList[this.curIndex]
|
|
this.currentSong = this.songList[this.curIndex]
|
|
|
this.videoUrl = this.songList[index].filePath;
|
|
this.videoUrl = this.songList[index].filePath;
|
|
|
this.name = this.songList[index].name
|
|
this.name = this.songList[index].name
|
|
|
- this.changeImageAnimation()
|
|
|
|
|
this.artist = this.songList[this.curIndex].artist
|
|
this.artist = this.songList[this.curIndex].artist
|
|
|
this.curIndex = index;
|
|
this.curIndex = index;
|
|
|
- this.startPlayOrResumePlay()
|
|
|
|
|
|
|
+ this.changeImageAnimation()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
@@ -10561,10 +10558,8 @@ export struct LocalMusic {
|
|
|
this.currentSong = this.songList[this.curIndex]
|
|
this.currentSong = this.songList[this.curIndex]
|
|
|
this.videoUrl = this.songList[this.curIndex].filePath;
|
|
this.videoUrl = this.songList[this.curIndex].filePath;
|
|
|
this.name = this.songList[this.curIndex].name
|
|
this.name = this.songList[this.curIndex].name
|
|
|
- this.changeImageAnimation()
|
|
|
|
|
- // this.cover = this.songList[this.curIndex].pixelMapPath
|
|
|
|
|
this.artist = this.songList[this.curIndex].artist
|
|
this.artist = this.songList[this.curIndex].artist
|
|
|
- this.startPlayOrResumePlay()
|
|
|
|
|
|
|
+ this.changeImageAnimation()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//随机播放模式下点击上一首: 上一首应该应该播放历史记录的第二首
|
|
//随机播放模式下点击上一首: 上一首应该应该播放历史记录的第二首
|
|
@@ -10592,12 +10587,9 @@ export struct LocalMusic {
|
|
|
this.stop();
|
|
this.stop();
|
|
|
this.currentSong = this.songList[this.curIndex];
|
|
this.currentSong = this.songList[this.curIndex];
|
|
|
this.videoUrl = this.songList[this.curIndex].filePath;
|
|
this.videoUrl = this.songList[this.curIndex].filePath;
|
|
|
- this.changeImageAnimation()
|
|
|
|
|
- // this.cover = this.songList[this.curIndex].pixelMapPath
|
|
|
|
|
this.artist = this.songList[this.curIndex].artist
|
|
this.artist = this.songList[this.curIndex].artist
|
|
|
this.name = this.songList[this.curIndex].name;
|
|
this.name = this.songList[this.curIndex].name;
|
|
|
-
|
|
|
|
|
- this.startPlayOrResumePlay();
|
|
|
|
|
|
|
+ this.changeImageAnimation()
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|