This commit is contained in:
2024-01-25 17:50:40 +08:00
parent 2d7d3dc836
commit 6f7f8deda1
19 changed files with 530 additions and 201 deletions

View File

@@ -10,13 +10,19 @@ import SwiftUI
struct UserAccountCard: View {
var model: UserAccountCardModel
var body: some View {
VStack {
HStack {
VStack(alignment: .leading, spacing: 12) {
HStack(spacing: 4) {
Image(systemName: model.icon)
.resizable()
.frame(width: 15, height: 15)
.foregroundColor(Color.black)
Text(model.title)
.font(.system(size: 16))
.foregroundColor(Color.black)
}
Text(model.info)
.font(.caption)
.font(.system(size: 12))
.foregroundColor(Color.gray)
}
.padding(12)
.background(Color.white)