마이페이지 구매목록 - 19표시 제거

This commit is contained in:
Yu Sung 2023-08-24 15:55:26 +09:00
parent b31dcf901b
commit bcb934a155
1 changed files with 5 additions and 18 deletions

View File

@ -15,25 +15,12 @@ struct OrderListItemView: View {
var body: some View { var body: some View {
VStack(spacing: 12) { VStack(spacing: 12) {
HStack(spacing: 10) { HStack(spacing: 10) {
ZStack(alignment: .topLeading) {
KFImage(URL(string: item.coverImageUrl)) KFImage(URL(string: item.coverImageUrl))
.resizable() .resizable()
.frame(width: 66.7, height: 66.7, alignment: .center) .frame(width: 66.7, height: 66.7, alignment: .center)
.clipped() .clipped()
.cornerRadius(5.3) .cornerRadius(5.3)
if item.isAdult {
Text("19")
.font(.custom(Font.bold.rawValue, size: 11.3))
.foregroundColor(Color.white)
.padding(4)
.background(Color(hex: "e53621"))
.clipShape(Circle())
.padding(.top, 4.3)
.padding(.leading, 4.3)
}
}
VStack(alignment: .leading, spacing: 0) { VStack(alignment: .leading, spacing: 0) {
HStack(spacing: 8) { HStack(spacing: 8) {
Text(item.themeStr) Text(item.themeStr)