구매목록 - 콘텐츠 크리에이터 표시

This commit is contained in:
Yu Sung 2023-09-04 23:10:34 +09:00
parent 05f5a4fe82
commit 707b6f804c
3 changed files with 10 additions and 2 deletions

View File

@ -23,7 +23,9 @@ struct ContentMainMyStashView: View {
Text("전체보기") Text("전체보기")
.font(.custom(Font.light.rawValue, size: 11.3)) .font(.custom(Font.light.rawValue, size: 11.3))
.foregroundColor(Color(hex: "bbbbbb")) .foregroundColor(Color(hex: "bbbbbb"))
.onTapGesture {} .onTapGesture {
AppState.shared.setAppStep(step: .orderListAll)
}
} }
ScrollView(.horizontal, showsIndicators: false) { ScrollView(.horizontal, showsIndicators: false) {

View File

@ -15,6 +15,7 @@ struct GetAudioContentOrderListResponse: Decodable {
struct GetAudioContentOrderListItem: Decodable { struct GetAudioContentOrderListItem: Decodable {
let contentId: Int let contentId: Int
let coverImageUrl: String let coverImageUrl: String
let creatorNickname: String
let title: String let title: String
let themeStr: String let themeStr: String
let duration: String? let duration: String?

View File

@ -17,7 +17,7 @@ struct OrderListItemView: View {
HStack(spacing: 10) { HStack(spacing: 10) {
KFImage(URL(string: item.coverImageUrl)) KFImage(URL(string: item.coverImageUrl))
.resizable() .resizable()
.frame(width: 66.7, height: 66.7, alignment: .center) .frame(width: 80, height: 80, alignment: .center)
.clipped() .clipped()
.cornerRadius(5.3) .cornerRadius(5.3)
@ -38,6 +38,11 @@ struct OrderListItemView: View {
.cornerRadius(2.6) .cornerRadius(2.6)
} }
Text(item.creatorNickname)
.font(.custom(Font.medium.rawValue, size: 9))
.foregroundColor(Color(hex: "777777"))
.padding(.top, 2.6)
Text(item.title) Text(item.title)
.font(.custom(Font.medium.rawValue, size: 12)) .font(.custom(Font.medium.rawValue, size: 12))
.foregroundColor(Color(hex: "d2d2d2")) .foregroundColor(Color(hex: "d2d2d2"))