parent
44e9e07716
commit
ec8c1fdb71
|
@ -41,16 +41,19 @@ struct SeriesDetailView: View {
|
||||||
|
|
||||||
ZStack {
|
ZStack {
|
||||||
Rectangle()
|
Rectangle()
|
||||||
.frame(width: screenSize().width, height: 94)
|
.frame(maxWidth: .infinity)
|
||||||
.foregroundColor(Color.gray11)
|
.foregroundColor(Color.gray11)
|
||||||
.cornerRadius(21.3, corners: [.topLeft, .topRight])
|
.cornerRadius(21.3, corners: [.topLeft, .topRight])
|
||||||
.padding(.top, 94)
|
.padding(.top, 94)
|
||||||
|
|
||||||
KFImage(URL(string: seriesDetail.coverImage))
|
KFImage(URL(string: seriesDetail.coverImage))
|
||||||
.resizable()
|
.resizable()
|
||||||
.scaledToFit()
|
.scaledToFill()
|
||||||
|
.frame(
|
||||||
|
width: 400 * screenSize().width / 1080,
|
||||||
|
height: 564 * screenSize().width / 1080
|
||||||
|
)
|
||||||
.cornerRadius(5)
|
.cornerRadius(5)
|
||||||
.frame(width: 133.3, height: 188)
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue