라이브 상세 - 제목 왼쪽에 19금 표시 추가
This commit is contained in:
parent
550bf0c1c7
commit
3ab5735fde
|
@ -13,6 +13,7 @@ struct GetRoomDetailResponse: Decodable {
|
|||
let title: String
|
||||
let notice: String
|
||||
let isPaid: Bool
|
||||
let isAdult: Bool
|
||||
let isPrivateRoom: Bool
|
||||
let password: String?
|
||||
let tags: [String]
|
||||
|
|
|
@ -75,11 +75,23 @@ struct LiveDetailView: View {
|
|||
if let room = viewModel.room {
|
||||
ScrollView(.vertical, showsIndicators: false) {
|
||||
VStack(spacing: 0) {
|
||||
Text(room.title)
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
.frame(width: proxy.size.width - 26.7, alignment: .leading)
|
||||
.padding(.top, 6.7)
|
||||
HStack(spacing: 5.3) {
|
||||
if room.isAdult {
|
||||
Text("19")
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.foregroundColor(Color(hex: "e33621"))
|
||||
.padding(.horizontal, 5.3)
|
||||
.padding(.vertical, 3.3)
|
||||
.background(Color(hex: "601d14"))
|
||||
.cornerRadius(2.6)
|
||||
}
|
||||
|
||||
Text(room.title)
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
}
|
||||
.frame(width: proxy.size.width - 26.7, alignment: .leading)
|
||||
.padding(.top, 6.7)
|
||||
|
||||
HStack(spacing: 0) {
|
||||
Text(room.beginDateTime)
|
||||
|
|
|
@ -110,11 +110,12 @@ struct LiveRoomView: View {
|
|||
HStack(spacing: 5.3) {
|
||||
if liveRoomInfo.isAdult {
|
||||
Text("19")
|
||||
.font(.custom(Font.bold.rawValue, size: 11.3))
|
||||
.foregroundColor(Color.white)
|
||||
.padding(4)
|
||||
.background(Color(hex: "e53621"))
|
||||
.clipShape(Circle())
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.foregroundColor(Color(hex: "e33621"))
|
||||
.padding(.horizontal, 5.3)
|
||||
.padding(.vertical, 3.3)
|
||||
.background(Color(hex: "601d14"))
|
||||
.cornerRadius(2.6)
|
||||
}
|
||||
|
||||
Text(liveRoomInfo.title)
|
||||
|
|
|
@ -116,7 +116,7 @@ struct CanPaymentView: View {
|
|||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.foregroundColor(Color(hex: "777777"))
|
||||
|
||||
Text("자세한 내용은 요즘라이브 이용약관에서 확인할 수 있습니다.")
|
||||
Text("자세한 내용은 소다라이브 이용약관에서 확인할 수 있습니다.")
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.foregroundColor(Color(hex: "777777"))
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
|
|
|
@ -205,7 +205,7 @@ struct CanPgPaymentView: View {
|
|||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.foregroundColor(Color(hex: "777777"))
|
||||
|
||||
Text("자세한 내용은 요즘라이브 이용약관에서 확인할 수 있습니다.")
|
||||
Text("자세한 내용은 소다라이브 이용약관에서 확인할 수 있습니다.")
|
||||
.font(.custom(Font.medium.rawValue, size: 12))
|
||||
.foregroundColor(Color(hex: "777777"))
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
|
|
Loading…
Reference in New Issue