feat(View): 修改 AccountListView 样式
修改 AccountListView 样式 Signed-off-by: Ching <loooching@gmail.com>
This commit is contained in:
parent
a1e95529bf
commit
d823520939
@ -15,9 +15,13 @@ struct AccountListView: View {
|
|||||||
HStack {
|
HStack {
|
||||||
ZStack {
|
ZStack {
|
||||||
RoundedRectangle(cornerRadius: 3)
|
RoundedRectangle(cornerRadius: 3)
|
||||||
|
.stroke(Color.gray, lineWidth: 1.5)
|
||||||
.frame(width: 50, height: 50)
|
.frame(width: 50, height: 50)
|
||||||
|
.background(.black)
|
||||||
Image(systemName: "checkmark.circle.fill")
|
Image(systemName: "checkmark.circle.fill")
|
||||||
.foregroundColor(.green)
|
.foregroundColor(.green)
|
||||||
|
.background(.white)
|
||||||
|
.clipShape(Circle())
|
||||||
.offset(x: 15, y: -15)
|
.offset(x: 15, y: -15)
|
||||||
.font(.title)
|
.font(.title)
|
||||||
}
|
}
|
||||||
@ -46,7 +50,7 @@ struct AccountListView: View {
|
|||||||
}
|
}
|
||||||
.toolbar {
|
.toolbar {
|
||||||
ToolbarItem(placement: .navigationBarTrailing) {
|
ToolbarItem(placement: .navigationBarTrailing) {
|
||||||
Button("123") {}
|
Button("完成") {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user