feat(View): 修改 AccountListView 样式

修改 AccountListView 样式

Signed-off-by: Ching <loooching@gmail.com>
This commit is contained in:
Ching 2023-05-04 21:16:01 +08:00
parent a1e95529bf
commit d823520939

View File

@ -15,9 +15,13 @@ struct AccountListView: View {
HStack {
ZStack {
RoundedRectangle(cornerRadius: 3)
.stroke(Color.gray, lineWidth: 1.5)
.frame(width: 50, height: 50)
.background(.black)
Image(systemName: "checkmark.circle.fill")
.foregroundColor(.green)
.background(.white)
.clipShape(Circle())
.offset(x: 15, y: -15)
.font(.title)
}
@ -46,7 +50,7 @@ struct AccountListView: View {
}
.toolbar {
ToolbarItem(placement: .navigationBarTrailing) {
Button("123") {}
Button("完成") {}
}
}
}