diff --git a/dimensionhub/Views/DetailView.swift b/dimensionhub/Views/DetailView.swift index 1eb4108..6e41a7f 100644 --- a/dimensionhub/Views/DetailView.swift +++ b/dimensionhub/Views/DetailView.swift @@ -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)