diff --git a/packages/ui/certd-client/src/api/modules/api.user.ts b/packages/ui/certd-client/src/api/modules/api.user.ts
index 735c3bf5..6c757fa3 100644
--- a/packages/ui/certd-client/src/api/modules/api.user.ts
+++ b/packages/ui/certd-client/src/api/modules/api.user.ts
@@ -18,6 +18,7 @@ export interface UserInfoRes {
id: string | number;
username: string;
nickName: string;
+ avatar: string;
roleIds: number[];
}
diff --git a/packages/ui/certd-client/src/style/common.less b/packages/ui/certd-client/src/style/common.less
index a33cacbd..b7b80271 100644
--- a/packages/ui/certd-client/src/style/common.less
+++ b/packages/ui/certd-client/src/style/common.less
@@ -64,6 +64,10 @@ h1, h2, h3, h4, h5, h6 {
display: flex;
align-items: center;
}
+.flex-inline {
+ display: inline-flex;
+ align-items: center;
+}
.flex-1 {
flex: 1;
@@ -84,7 +88,16 @@ h1, h2, h3, h4, h5, h6 {
.m-3{
margin:3px
}
+.m-5{
+ margin:5px
+}
+.m-10 {
+ margin: 10px;
+}
+.m-20{
+ margin:20px
+}
.mb-2 {
margin-bottom: 2px;
}
@@ -136,9 +149,6 @@ h1, h2, h3, h4, h5, h6 {
margin-bottom: 10px;
}
-.m-10 {
- margin: 10px;
-}
.p-5 {
padding: 5px;
diff --git a/packages/ui/certd-client/src/views/framework/home/dashboard/index.vue b/packages/ui/certd-client/src/views/framework/home/dashboard/index.vue
new file mode 100644
index 00000000..49848600
--- /dev/null
+++ b/packages/ui/certd-client/src/views/framework/home/dashboard/index.vue
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/ui/certd-client/src/views/framework/home/dashboard/statistic-card.vue b/packages/ui/certd-client/src/views/framework/home/dashboard/statistic-card.vue
new file mode 100644
index 00000000..7318c22e
--- /dev/null
+++ b/packages/ui/certd-client/src/views/framework/home/dashboard/statistic-card.vue
@@ -0,0 +1,83 @@
+
+
+
+
+
diff --git a/packages/ui/certd-client/src/views/framework/home/index.vue b/packages/ui/certd-client/src/views/framework/home/index.vue
index 7fc007dd..f1b24c96 100644
--- a/packages/ui/certd-client/src/views/framework/home/index.vue
+++ b/packages/ui/certd-client/src/views/framework/home/index.vue
@@ -1,15 +1,16 @@
-
+
+
-
-
+