시리즈 전체보기
- 아이템 크기 수정
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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) | ||||
|     } | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung