마이페이지 구매목록 - 19표시 제거
This commit is contained in:
parent
b31dcf901b
commit
bcb934a155
|
@ -15,24 +15,11 @@ 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) {
|
||||||
|
|
Loading…
Reference in New Issue