fix
This commit is contained in:
parent
73dee0f11d
commit
e25f51d27d
@ -248,6 +248,11 @@ struct DetailView: View {
|
||||
.lineLimit(1)
|
||||
}
|
||||
.frame(width: 90, height: 120)
|
||||
.onTapGesture {
|
||||
if let playUrl = URL(string: episode.play) {
|
||||
UIApplication.shared.open(playUrl)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -442,6 +442,11 @@ extension IndexView {
|
||||
.lineLimit(1)
|
||||
}
|
||||
.frame(width: 120, height: 100)
|
||||
.onTapGesture {
|
||||
if let playUrl = URL(string: item.play) {
|
||||
UIApplication.shared.open(playUrl)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -135,6 +135,11 @@ struct ListView: View {
|
||||
}
|
||||
Spacer()
|
||||
}
|
||||
.onTapGesture {
|
||||
if let playUrl = URL(string: episode.play) {
|
||||
UIApplication.shared.open(playUrl)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -146,10 +151,7 @@ struct ListView: View {
|
||||
Rectangle()
|
||||
.frame(width: 200, height: 25)
|
||||
.foregroundColor(Color(hex: "#F2F2F2"))
|
||||
//.cornerRadius(10)
|
||||
.overlay {
|
||||
//RoundedRectangle(cornerRadius: 10)
|
||||
// .stroke(Color.black, lineWidth: 1)
|
||||
Text("收起剧集")
|
||||
.font(.system(size: 13))
|
||||
.foregroundColor(Color(hex: "#999999"))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user