CardView添加动画
This commit is contained in:
@@ -39,6 +39,8 @@ struct CardView: View {
|
||||
.fixedSize()
|
||||
.shadow(radius: 10)
|
||||
.disabled(userCanAnswer == false)
|
||||
.transition(.push(from: .top))
|
||||
.id(card)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user