fix
This commit is contained in:
parent
5e36018722
commit
2f69e508fb
@ -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 {
|
.task {
|
||||||
await detailModel.loadData(dramaId: 124)
|
await detailModel.loadData(dramaId: 124)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user