This commit is contained in:
2024-01-24 18:02:39 +08:00
parent e681d68c65
commit 2d7d3dc836
7 changed files with 161 additions and 50 deletions

View File

@@ -0,0 +1,25 @@
//
// UserAccountCard.swift
// demo
//
// Created by Jason on 2024/1/24.
//
import SwiftUI
struct UserAccountCard: View {
var model: UserAccountCardModel
var body: some View {
VStack {
HStack {
Image(systemName: model.icon)
Text(model.title)
}
Text(model.info)
.font(.caption)
}
.padding(12)
.background(Color.white)
.cornerRadius(8)
}
}