feat: 콘텐츠 메인 - 새로운 콘텐츠, 큐레이션, 채널별 인기 콘텐츠, 시리즈 상세, 크리에이터 채널 콘텐츠 리스트
- 포인트 사용 가능 여부 표시
This commit is contained in:
@@ -24,12 +24,23 @@ struct SeriesContentListItemView: View {
|
||||
.cornerRadius(5.3)
|
||||
|
||||
VStack(alignment: .leading, spacing: 2.7) {
|
||||
Text(item.duration)
|
||||
.font(.custom(Font.medium.rawValue, size: 10))
|
||||
.foregroundColor(Color.gray77)
|
||||
.padding(2.7)
|
||||
.background(Color.gray22)
|
||||
.cornerRadius(2.6)
|
||||
HStack(spacing: 8) {
|
||||
Text(item.duration)
|
||||
.font(.custom(Font.medium.rawValue, size: 10))
|
||||
.foregroundColor(Color.gray77)
|
||||
.padding(2.7)
|
||||
.background(Color.gray22)
|
||||
.cornerRadius(2.6)
|
||||
|
||||
if item.isPointAvailable {
|
||||
Text("포인트")
|
||||
.font(.custom(Font.medium.rawValue, size: 8))
|
||||
.foregroundColor(.white)
|
||||
.padding(2.6)
|
||||
.background(Color(hex: "7849bc"))
|
||||
.cornerRadius(2.6)
|
||||
}
|
||||
}
|
||||
|
||||
Text(item.title)
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
@@ -91,7 +102,8 @@ struct SeriesContentListItemView: View {
|
||||
duration: "00:14:59",
|
||||
price: 0,
|
||||
isRented: false,
|
||||
isOwned: false
|
||||
isOwned: false,
|
||||
isPointAvailable: true
|
||||
)
|
||||
)
|
||||
}
|
||||
@@ -106,7 +118,8 @@ struct SeriesContentListItemView: View {
|
||||
duration: "00:14:59",
|
||||
price: 100,
|
||||
isRented: false,
|
||||
isOwned: false
|
||||
isOwned: false,
|
||||
isPointAvailable: true
|
||||
)
|
||||
)
|
||||
}
|
||||
@@ -121,7 +134,8 @@ struct SeriesContentListItemView: View {
|
||||
duration: "00:14:59",
|
||||
price: 200,
|
||||
isRented: true,
|
||||
isOwned: false
|
||||
isOwned: false,
|
||||
isPointAvailable: true
|
||||
)
|
||||
)
|
||||
}
|
||||
@@ -136,7 +150,8 @@ struct SeriesContentListItemView: View {
|
||||
duration: "00:14:59",
|
||||
price: 300,
|
||||
isRented: false,
|
||||
isOwned: true
|
||||
isOwned: true,
|
||||
isPointAvailable: true
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user