This commit is contained in:
anlicheng 2025-02-21 23:24:03 +08:00
parent 5e36018722
commit 2f69e508fb

View File

@ -147,6 +147,22 @@ struct DetailView: View {
}
}
HStack() {
Button {
print("click me")
} label: {
Rectangle()
.frame(width: 180, height: 50)
.foregroundColor(Color.yellow)
.cornerRadius(10)
.overlay {
RoundedRectangle(cornerRadius: 10)
.stroke(Color.black, lineWidth: 1)
Text("展开全部剧集")
}
}
}
}
.task {
await detailModel.loadData(dramaId: 124)