parent
a07e87b9c8
commit
d16c56fef8
|
@ -89,7 +89,7 @@ struct ContentAllByThemeView: View {
|
||||||
.padding(.horizontal, 20)
|
.padding(.horizontal, 20)
|
||||||
|
|
||||||
ScrollView(.vertical, showsIndicators: false) {
|
ScrollView(.vertical, showsIndicators: false) {
|
||||||
LazyVGrid(columns: columns, spacing: 16.7) {
|
LazyVGrid(columns: columns, spacing: 32) {
|
||||||
ForEach(0..<viewModel.contentList.count, id: \.self) { index in
|
ForEach(0..<viewModel.contentList.count, id: \.self) { index in
|
||||||
ContentNewAllItemView(item: viewModel.contentList[index])
|
ContentNewAllItemView(item: viewModel.contentList[index])
|
||||||
.onAppear {
|
.onAppear {
|
||||||
|
|
|
@ -35,11 +35,11 @@ struct ContentNewAllItemView: View {
|
||||||
Image("ic_card_can_gray")
|
Image("ic_card_can_gray")
|
||||||
|
|
||||||
Text("\(item.price)")
|
Text("\(item.price)")
|
||||||
.font(.custom(Font.medium.rawValue, size: 8.3))
|
.font(.custom(Font.medium.rawValue, size: 8.5))
|
||||||
.foregroundColor(Color.white)
|
.foregroundColor(Color.white)
|
||||||
} else {
|
} else {
|
||||||
Text("무료")
|
Text("무료")
|
||||||
.font(.custom(Font.medium.rawValue, size: 8.3))
|
.font(.custom(Font.medium.rawValue, size: 8.5))
|
||||||
.foregroundColor(Color.white)
|
.foregroundColor(Color.white)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -52,10 +52,8 @@ struct ContentNewAllItemView: View {
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
HStack(spacing: 2) {
|
HStack(spacing: 2) {
|
||||||
Image("ic_card_time_small_gray")
|
|
||||||
|
|
||||||
Text(item.duration)
|
Text(item.duration)
|
||||||
.font(.custom(Font.medium.rawValue, size: 8.3))
|
.font(.custom(Font.medium.rawValue, size: 8.5))
|
||||||
.foregroundColor(Color.white)
|
.foregroundColor(Color.white)
|
||||||
}
|
}
|
||||||
.padding(3)
|
.padding(3)
|
||||||
|
|
|
@ -59,7 +59,7 @@ struct ContentNewAllView: View {
|
||||||
.padding(.horizontal, 20)
|
.padding(.horizontal, 20)
|
||||||
|
|
||||||
ScrollView(.vertical, showsIndicators: false) {
|
ScrollView(.vertical, showsIndicators: false) {
|
||||||
LazyVGrid(columns: columns, spacing: 16.7) {
|
LazyVGrid(columns: columns, spacing: 32) {
|
||||||
ForEach(0..<viewModel.newContentList.count, id: \.self) { index in
|
ForEach(0..<viewModel.newContentList.count, id: \.self) { index in
|
||||||
ContentNewAllItemView(item: viewModel.newContentList[index])
|
ContentNewAllItemView(item: viewModel.newContentList[index])
|
||||||
.onAppear {
|
.onAppear {
|
||||||
|
|
|
@ -91,7 +91,7 @@ struct ContentCurationView: View {
|
||||||
.padding(.horizontal, 20)
|
.padding(.horizontal, 20)
|
||||||
|
|
||||||
ScrollView(.vertical, showsIndicators: false) {
|
ScrollView(.vertical, showsIndicators: false) {
|
||||||
LazyVGrid(columns: columns, spacing: 16.7) {
|
LazyVGrid(columns: columns, spacing: 32) {
|
||||||
ForEach(0..<viewModel.contentList.count, id: \.self) { index in
|
ForEach(0..<viewModel.contentList.count, id: \.self) { index in
|
||||||
ContentNewAllItemView(item: viewModel.contentList[index])
|
ContentNewAllItemView(item: viewModel.contentList[index])
|
||||||
.onAppear {
|
.onAppear {
|
||||||
|
|
Loading…
Reference in New Issue