Files
sodalive-ios/SodaLive/Sources/MyPage/OrderList/OrderListView.swift
Yu Sung 280e424385 커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
2026-01-23 03:09:20 +09:00

47 lines
1.4 KiB
Swift

//
// OrderListView.swift
// SodaLive
//
// Created by klaus on 2023/08/24.
//
import SwiftUI
struct OrderListView: View {
let items: [GetAudioContentOrderListItem]
var body: some View {
VStack(spacing: 0) {
HStack(spacing: 0) {
Text("콘텐츠 보관함")
.appFont(size: 18, weight: .bold)
.foregroundColor(Color(hex: "eeeeee"))
Spacer()
Text("전체보기")
.appFont(size: 11, weight: .medium)
.foregroundColor(Color.graybb)
.onTapGesture {
AppState.shared.setAppStep(step: .orderListAll)
}
}
VStack(spacing: 13.3) {
ForEach(0..<items.count, id: \.self) { index in
let item = items[index]
OrderListItemView(item: item)
.contentShape(Rectangle())
.onTapGesture {
AppState
.shared
.setAppStep(step: .contentDetail(contentId: item.contentId))
}
}
}
.padding(.top, 26.7)
}
.padding(.horizontal, 13.3)
}
}