feat: 메인 라이브

- 라이브 예약중 UI 적용
This commit is contained in:
Yu Sung
2025-07-22 05:29:50 +09:00
parent 624c12817e
commit 6fc6360f23
7 changed files with 304 additions and 137 deletions

View File

@@ -20,20 +20,20 @@ struct SectionLiveReservationView: View {
var body: some View {
VStack(spacing: 13.3) {
HStack(spacing: 0) {
Text("지금 ")
.font(.custom(Font.bold.rawValue, size: 18.3))
.foregroundColor(Color(hex: "eeeeee"))
Text("라이브 ")
.font(.custom(Font.preBold.rawValue, size: 24))
.foregroundColor(.button)
Text("예약중")
.font(.custom(Font.bold.rawValue, size: 18.3))
.foregroundColor(Color(hex: "3bb9f1"))
.font(.custom(Font.preBold.rawValue, size: 24))
.foregroundColor(.white)
Spacer()
if items.count > 0 {
Text("전체보기")
.font(.custom(Font.light.rawValue, size: 11.3))
.foregroundColor(Color(hex: "bbbbbb"))
.font(.custom(Font.preRegular.rawValue, size: 14))
.foregroundColor(Color(hex: "78909C"))
.onTapGesture {
if !token.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty {
AppState.shared.setAppStep(
@@ -50,11 +50,11 @@ struct SectionLiveReservationView: View {
}
}
}
.padding(.horizontal, 13.3)
.frame(width: screenSize().width)
.padding(.horizontal, 24)
.frame(maxWidth: .infinity)
if items.count > 0 {
VStack(spacing: 13.3) {
VStack(spacing: 14) {
ForEach(0..<items.count, id: \.self) { index in
let item = items[index]
@@ -97,8 +97,8 @@ struct SectionLiveReservationView: View {
}
}
}
.padding(.horizontal, 13.3)
.frame(width: screenSize().width)
.padding(.horizontal, 24)
.frame(maxWidth: .infinity)
} else {
VStack(spacing: 0) {
Image("ic_no_item")