forked from Reisa/Reisaye
网站和推流制作完成
This commit is contained in:
BIN
EyeVue/src/assets/a.png
Normal file
BIN
EyeVue/src/assets/a.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 65 KiB |
BIN
EyeVue/src/assets/flight.png
Normal file
BIN
EyeVue/src/assets/flight.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.0 KiB |
BIN
EyeVue/src/assets/flight2.png
Normal file
BIN
EyeVue/src/assets/flight2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
BIN
EyeVue/src/assets/flight3.png
Normal file
BIN
EyeVue/src/assets/flight3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
BIN
EyeVue/src/assets/icon.png
Normal file
BIN
EyeVue/src/assets/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
48
EyeVue/src/assets/styles/colors.css
Normal file
48
EyeVue/src/assets/styles/colors.css
Normal file
@@ -0,0 +1,48 @@
|
||||
:root {
|
||||
/* 主色调 */
|
||||
--color-primary: #3b82f6;
|
||||
--color-primary-dark: #2563eb;
|
||||
--color-primary-light: #60a5fa;
|
||||
--color-primary-10: rgba(59, 130, 246, 0.1);
|
||||
|
||||
/* 背景色 */
|
||||
--color-bg-main: #ffffff;
|
||||
--color-bg-secondary: #f9fafb;
|
||||
--color-bg-tertiary: #f3f4f6;
|
||||
|
||||
/* 文本颜色 */
|
||||
--color-text-primary: #111827;
|
||||
--color-text-secondary: #4b5563;
|
||||
--color-text-tertiary: #6b7280;
|
||||
|
||||
/* 边框颜色 */
|
||||
--color-border: #e5e7eb;
|
||||
--color-border-light: #f3f4f6;
|
||||
|
||||
/* 卡片阴影 */
|
||||
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
||||
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
||||
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
||||
}
|
||||
|
||||
/* 深色模式 */
|
||||
:root[class~="dark"] {
|
||||
/* 背景色 */
|
||||
--color-bg-main: #111827;
|
||||
--color-bg-secondary: #1f2937;
|
||||
--color-bg-tertiary: #374151;
|
||||
|
||||
/* 文本颜色 */
|
||||
--color-text-primary: #f9fafb;
|
||||
--color-text-secondary: #e5e7eb;
|
||||
--color-text-tertiary: #d1d5db;
|
||||
|
||||
/* 边框颜色 */
|
||||
--color-border: #374151;
|
||||
--color-border-light: #1f2937;
|
||||
|
||||
/* 卡片阴影 */
|
||||
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
|
||||
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.3);
|
||||
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
|
||||
}
|
||||
72
EyeVue/src/assets/styles/main.css
Normal file
72
EyeVue/src/assets/styles/main.css
Normal file
@@ -0,0 +1,72 @@
|
||||
@import "./colors.css";
|
||||
@import "./variables.css";
|
||||
@import "tailwindcss/base";
|
||||
@import "tailwindcss/components";
|
||||
@import "tailwindcss/utilities";
|
||||
|
||||
/* 添加字体定义 */
|
||||
@font-face {
|
||||
font-family: "LXWK";
|
||||
font-weight: 100 900;
|
||||
font-display: swap;
|
||||
font-style: normal;
|
||||
src: url("https://cdn.jsdmirror.com/gh/acanyo/mmm.sd@master/assets/font/lxwk.woff2")
|
||||
format("woff2");
|
||||
}
|
||||
|
||||
@layer base {
|
||||
html {
|
||||
font-family:
|
||||
"LXWK",
|
||||
-apple-system,
|
||||
BlinkMacSystemFont,
|
||||
"Segoe UI",
|
||||
Roboto,
|
||||
"Helvetica Neue",
|
||||
Arial,
|
||||
sans-serif;
|
||||
scroll-behavior: smooth;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
body {
|
||||
@apply bg-main text-primary antialiased;
|
||||
}
|
||||
|
||||
/* 移动端优化 */
|
||||
@media (max-width: 768px) {
|
||||
html {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
/* 移动端点击态优化 */
|
||||
@media (hover: none) {
|
||||
.hover\:scale-105:active {
|
||||
transform: scale(1.02);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@layer components {
|
||||
.btn-primary {
|
||||
@apply inline-block px-6 py-3 bg-primary text-white rounded-lg
|
||||
hover:bg-primary-dark transition-colors duration-300;
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
@apply inline-block px-6 py-3 border-2 border-primary text-primary rounded-lg
|
||||
hover:bg-primary hover:text-white transition-colors duration-300;
|
||||
}
|
||||
|
||||
.card {
|
||||
@apply bg-main border border-light rounded-2xl shadow-sm
|
||||
hover:shadow-md transition-all duration-300;
|
||||
}
|
||||
}
|
||||
|
||||
/* 移动端滚动优化 */
|
||||
.smooth-scroll {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
16
EyeVue/src/assets/styles/variables.css
Normal file
16
EyeVue/src/assets/styles/variables.css
Normal file
@@ -0,0 +1,16 @@
|
||||
:root {
|
||||
--font-family-custom: "LXWK";
|
||||
--font-family-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
||||
"Helvetica Neue", Arial, sans-serif;
|
||||
--font-family: var(--font-family-custom), var(--font-family-system);
|
||||
}
|
||||
|
||||
/* 添加字体定义 */
|
||||
@font-face {
|
||||
font-family: "LXWK";
|
||||
font-weight: 100 900;
|
||||
font-display: swap;
|
||||
font-style: normal;
|
||||
src: url("https://cdn.jsdmirror.com/gh/acanyo/mmm.sd@master/assets/font/lxwk.woff2")
|
||||
format("woff2");
|
||||
}
|
||||
Reference in New Issue
Block a user