라이브 방 추가
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// LiveRoomDonationRankingTotalCanView.swift
|
||||
// SodaLive
|
||||
//
|
||||
// Created by klaus on 2023/08/15.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct LiveRoomDonationRankingTotalCanView: View {
|
||||
|
||||
let totalCan: Int
|
||||
|
||||
var body: some View {
|
||||
HStack(alignment: .center, spacing: 0) {
|
||||
Text("합계")
|
||||
.font(.custom(Font.bold.rawValue, size: 13.3))
|
||||
.foregroundColor(Color(hex: "d2d2d2"))
|
||||
|
||||
Spacer()
|
||||
|
||||
Text("\(totalCan)")
|
||||
.font(.custom(Font.medium.rawValue, size: 16))
|
||||
.foregroundColor(Color(hex: "9970ff"))
|
||||
|
||||
Text("캔")
|
||||
.font(.custom(Font.medium.rawValue, size: 10.7))
|
||||
.foregroundColor(Color(hex: "bbbbbb"))
|
||||
.padding(.leading, 4)
|
||||
}
|
||||
.padding(.horizontal, 18.7)
|
||||
.padding(.vertical, 10.7)
|
||||
.background(Color(hex: "2b2635"))
|
||||
.cornerRadius(8)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user