fix
This commit is contained in:
parent
e5f155dfce
commit
0b26a83cf4
@ -73,7 +73,10 @@ struct DetailView: View {
|
||||
.font(.system(size: 20))
|
||||
.fontWeight(.bold)
|
||||
HStack(alignment: .center, spacing: 0) {
|
||||
ForEach(detailModel.voiceActors, id: \.actor_id) { actor in
|
||||
ForEach(Array(detailModel.voiceActors.enumerated()), id: \.offset) { index, actor in
|
||||
if index > 0 {
|
||||
Text("、")
|
||||
}
|
||||
Text(actor.name)
|
||||
.font(.system(size: 16))
|
||||
}
|
||||
@ -81,6 +84,24 @@ struct DetailView: View {
|
||||
}
|
||||
}
|
||||
|
||||
HStack {
|
||||
Spacer()
|
||||
|
||||
switch detailModel.status {
|
||||
case 0:
|
||||
Text("补完")
|
||||
case 1:
|
||||
Text("追番")
|
||||
case 2:
|
||||
Text("前排站位")
|
||||
default:
|
||||
Text("追番")
|
||||
}
|
||||
}
|
||||
|
||||
// 渠道列表
|
||||
|
||||
|
||||
}
|
||||
.task {
|
||||
await detailModel.loadData(dramaId: 124)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user