시리즈 전체보기

- 아이템 크기 수정
This commit is contained in:
Yu Sung 2024-04-30 18:37:29 +09:00
parent 70dae4f646
commit feaeb275e4
2 changed files with 3 additions and 3 deletions

View File

@ -29,6 +29,7 @@ final class SeriesListAllViewModel: ObservableObject {
func getSeriesList() {
if !isLoading && !isLast {
isLoading = true
repository
.getSeriesList(creatorId: creatorId, sortType: .NEWEST, page: page, size: pageSize)
.sink { result in

View File

@ -19,7 +19,6 @@ struct SeriesListItemView: View {
KFImage(URL(string: item.coverImage))
.resizable()
.scaledToFill()
.frame(width: 102, height: 144, alignment: .center)
.cornerRadius(5)
.clipped()
@ -56,18 +55,18 @@ struct SeriesListItemView: View {
}
.padding(3.3)
}
.frame(width: 102, height: 144, alignment: .center)
Text(item.title)
.font(.custom(Font.medium.rawValue, size: 12))
.foregroundColor(Color.grayee)
.lineLimit(2)
.frame(width: (screenSize().width - 60) / 3, alignment: .leading)
Text(item.publishedDaysOfWeek)
.font(.custom(Font.medium.rawValue, size: 11))
.foregroundColor(Color.gray77)
}
.frame(width: 102)
.frame(width: (screenSize().width - 60) / 3)
}
}