fix: 메인 홈 - 시리즈 아이템
- 이미지 하단에 검정색을 높이 35로 입혀서 총 화수가 안보이던 문제 수정
This commit is contained in:
@@ -16,7 +16,7 @@ struct SeriesItemView: View {
|
|||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
VStack(alignment: .leading, spacing: 4) {
|
VStack(alignment: .leading, spacing: 4) {
|
||||||
ZStack {
|
ZStack(alignment: .bottom) {
|
||||||
KFImage(URL(string: item.coverImage))
|
KFImage(URL(string: item.coverImage))
|
||||||
.cancelOnDisappear(true)
|
.cancelOnDisappear(true)
|
||||||
.resizable()
|
.resizable()
|
||||||
@@ -25,6 +25,10 @@ struct SeriesItemView: View {
|
|||||||
.cornerRadius(16)
|
.cornerRadius(16)
|
||||||
.clipped()
|
.clipped()
|
||||||
|
|
||||||
|
Color.black.opacity(0.5)
|
||||||
|
.frame(width: 160, height: 35)
|
||||||
|
.cornerRadius(16, corners: [.bottomLeft, .bottomRight])
|
||||||
|
|
||||||
VStack(alignment: .leading, spacing: 0) {
|
VStack(alignment: .leading, spacing: 0) {
|
||||||
HStack(spacing: 0) {
|
HStack(spacing: 0) {
|
||||||
if item.isPopular {
|
if item.isPopular {
|
||||||
|
|||||||
Reference in New Issue
Block a user