fix
This commit is contained in:
parent
085ed309d9
commit
e1cc10c399
@ -305,7 +305,12 @@ extension DetailView {
|
||||
HStack {
|
||||
Text(episode.num_name)
|
||||
.font(.system(size: 12))
|
||||
.foregroundColor(Color(hex: "#333333"))
|
||||
.foregroundColor(.white)
|
||||
.padding([.leading, .trailing], 5)
|
||||
.background(
|
||||
Color.black.opacity(0.5)
|
||||
.cornerRadius(5)
|
||||
)
|
||||
Spacer()
|
||||
}
|
||||
Spacer()
|
||||
|
||||
@ -85,19 +85,13 @@ struct ListView: View {
|
||||
.font(.system(size: 28))
|
||||
.foregroundColor(Color(hex: "#333333"))
|
||||
.fontWeight(.medium)
|
||||
|
||||
Text("返回")
|
||||
.font(.system(size: 13))
|
||||
.foregroundColor(Color(hex: "#333333"))
|
||||
.onTapGesture {
|
||||
self.presentationMode.wrappedValue.dismiss()
|
||||
}
|
||||
}
|
||||
Spacer()
|
||||
}
|
||||
.padding([.leading, .top, .bottom], 10)
|
||||
.background(Color(hex: "#F2F2F2"), ignoresSafeAreaEdges: [.bottom])
|
||||
.background(Color(hex: "#F2F2F2"), ignoresSafeAreaEdges: [.top])
|
||||
|
||||
VStack {
|
||||
// 渠道列表
|
||||
HStack(alignment: .center, spacing: 15) {
|
||||
ForEach(Array(detailModel.channels.enumerated()), id: \.offset) { idx, channel in
|
||||
@ -163,6 +157,7 @@ struct ListView: View {
|
||||
Spacer()
|
||||
}
|
||||
.frame(width: 370, alignment: .center)
|
||||
}
|
||||
.task {
|
||||
await detailModel.loadData(userId: self.userId, id: self.id)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user