This commit is contained in:
anlicheng 2025-03-04 13:25:15 +08:00
parent eeb82d7152
commit 2a8f9bb594

View File

@ -468,9 +468,7 @@ extension IndexView {
ProgressView()
}
.frame(width: 370, height: 180)
.overlay {
HStack {
VStack {
.overlay(alignment: .topLeading) {
VStack(alignment: .leading, spacing: 8) {
Text(item.name)
.font(.system(size: 16))
@ -487,12 +485,7 @@ extension IndexView {
Color.black.opacity(0.6)
)
.cornerRadius(5)
Spacer()
}
Spacer()
}
.padding([.top, .leading], 10)
.padding(8)
}
}
}