diff --git a/src/assets/style/base.css b/src/assets/style/base.css
index b4b5adf..36d6917 100644
--- a/src/assets/style/base.css
+++ b/src/assets/style/base.css
@@ -23,9 +23,18 @@ body {
'Droid Sans',
'Helvetica Neue',
sans-serif;
- font-size: 16px;
+
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
user-select: none;
}
+
+:root {
+ font-size: 32px; /* 设计稿是双倍设计的 */
+ --primaryColor: #1989FA;
+ --headerHeight: 4.375rem;
+ --footerHeight: 4.375rem;
+ --menuAreaWidth: 11.875rem;
+ --bgColor: #e9e9e9;
+}
\ No newline at end of file
diff --git a/src/assets/style/tailwind.css b/src/assets/style/tailwind.css
index bd6213e..5009eec 100644
--- a/src/assets/style/tailwind.css
+++ b/src/assets/style/tailwind.css
@@ -1,3 +1,27 @@
@tailwind base;
@tailwind components;
-@tailwind utilities;
\ No newline at end of file
+@tailwind utilities;
+
+@layer utilities {
+ .btn-dark {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ background: linear-gradient(90deg, #0657c0 24%, #096ae0 101%);
+ border-radius: 4px;
+ color: white;
+ }
+ .btn-light {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ background: linear-gradient(180deg, #ebf1fa 0%, #f8fafd 100%);
+ box-shadow: 0px -1px 0px 0px rgba(255, 255, 255, 0.3), 0px 1px 5px 0px rgba(173, 173, 173, 0.47);
+ border-radius: 4px;
+ color: var(--primaryColor);
+ }
+ .component-page {
+ height: calc(100vh - var(--headerHeight) - var(--footerHeight));
+ width: calc(100vw - var(--menuAreaWidth));
+ }
+}
\ No newline at end of file
diff --git a/src/views/components/Footer.vue b/src/views/components/Footer.vue
new file mode 100644
index 0000000..e26aad4
--- /dev/null
+++ b/src/views/components/Footer.vue
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/src/views/components/Header.vue b/src/views/components/Header.vue
index 9507c79..d7c4f5b 100644
--- a/src/views/components/Header.vue
+++ b/src/views/components/Header.vue
@@ -93,7 +93,7 @@
display: flex;
align-items: center;
background: #e9e9e9;
- height: 108px;
+ height: var(--headerHeight);
.header_logo{
padding:10px 10px;
}
diff --git a/src/views/components/Menu.vue b/src/views/components/Menu.vue
index 93cce45..e1a86e2 100644
--- a/src/views/components/Menu.vue
+++ b/src/views/components/Menu.vue
@@ -1,5 +1,5 @@
-