|
@@ -1118,7 +1118,7 @@ struct NewIndex {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 歌单列表
|
|
// 歌单列表
|
|
|
- ForEach(this.playlistList, (playlist: Playlist) => {
|
|
|
|
|
|
|
+ ForEach(this.playlistList, (playlist: Playlist,index:number) => {
|
|
|
ListItem() {
|
|
ListItem() {
|
|
|
Button({ type: ButtonType.Capsule, stateEffect: true }) {
|
|
Button({ type: ButtonType.Capsule, stateEffect: true }) {
|
|
|
Row() {
|
|
Row() {
|
|
@@ -1184,6 +1184,8 @@ struct NewIndex {
|
|
|
previewAnimationOptions: { scale: [0.8, 1.0] },
|
|
previewAnimationOptions: { scale: [0.8, 1.0] },
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
+ .transition(TransitionEffect.move(TransitionEdge.BOTTOM)
|
|
|
|
|
+ .animation({ duration: 600, curve: Curve.Ease, delay: 60 * index }))
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -1231,7 +1233,7 @@ struct NewIndex {
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
// 显示所有WebDAV账户
|
|
// 显示所有WebDAV账户
|
|
|
- ForEach(this.webDavAccounts, (account: WebDavAccount) => {
|
|
|
|
|
|
|
+ ForEach(this.webDavAccounts, (account: WebDavAccount,index:number) => {
|
|
|
ListItem() {
|
|
ListItem() {
|
|
|
Button({ type: ButtonType.Capsule, stateEffect: true }) {
|
|
Button({ type: ButtonType.Capsule, stateEffect: true }) {
|
|
|
Row() {
|
|
Row() {
|
|
@@ -1305,6 +1307,8 @@ struct NewIndex {
|
|
|
previewAnimationOptions: { scale: [0.8, 1.0] },
|
|
previewAnimationOptions: { scale: [0.8, 1.0] },
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
+ .transition(TransitionEffect.move(TransitionEdge.BOTTOM)
|
|
|
|
|
+ .animation({ duration: 600, curve: Curve.Ease, delay: 60 * index }))
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
|