마이페이지 구매목록 - 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,24 +15,11 @@ struct OrderListItemView: View {
var body: some View {
VStack(spacing: 12) {
HStack(spacing: 10) {
ZStack(alignment: .topLeading) {
KFImage(URL(string: item.coverImageUrl))
.resizable()
.frame(width: 66.7, height: 66.7, alignment: .center)
.clipped()
.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)
}
}
KFImage(URL(string: item.coverImageUrl))
.resizable()
.frame(width: 66.7, height: 66.7, alignment: .center)
.clipped()
.cornerRadius(5.3)
VStack(alignment: .leading, spacing: 0) {
HStack(spacing: 8) {