|
@@ -0,0 +1,534 @@
|
|
|
|
+:host {
|
|
|
|
+ display: block;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.platform-container {
|
|
|
|
+ font-family: 'Noto Serif SC', serif;
|
|
|
|
+ background: linear-gradient(to bottom, #e0f7fa, #f5f5f5);
|
|
|
|
+ color: var(--ink-dark);
|
|
|
|
+ min-height: 100vh;
|
|
|
|
+ position: relative;
|
|
|
|
+ overflow-x: hidden;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ will-change: transform;
|
|
|
|
+
|
|
|
|
+ &::before {
|
|
|
|
+ content: "";
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 0;
|
|
|
|
+ left: 0;
|
|
|
|
+ right: 0;
|
|
|
|
+ bottom: 0;
|
|
|
|
+ background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,50 Q25,30 50,50 T100,50" fill="none" stroke="%23a5d6a7" stroke-width="0.5" opacity="0.08"/></svg>');
|
|
|
|
+ opacity: 0.1;
|
|
|
|
+ z-index: -1;
|
|
|
|
+ background-attachment: fixed;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+:host {
|
|
|
|
+ --primary-blue: #2F7DAD; /* 天青瓷 */
|
|
|
|
+ --primary-green: #5B8C5A; /* 香樟绿 */
|
|
|
|
+ --primary-gold: #D4B16A; /* 庐金 */
|
|
|
|
+ --accent: #c53d43; /* 井冈山鹃红 */
|
|
|
|
+ --dark: #2c3e50;
|
|
|
|
+ --light: #f8f9fa;
|
|
|
|
+ --ink-dark: #0d1b2a;
|
|
|
|
+ --ink-light: #415a77;
|
|
|
|
+ --water-color: #e0f7fa;
|
|
|
|
+ --mountain-color: #a5d6a7;
|
|
|
|
+ --red-culture: #b71c1c;
|
|
|
|
+ --heritage: #5d4037;
|
|
|
|
+ --animation-speed: 0.4s;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.container {
|
|
|
|
+ max-width: 1400px;
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+ padding: 20px;
|
|
|
|
+ flex: 1;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.main-content {
|
|
|
|
+ display: flex;
|
|
|
|
+ gap: 25px;
|
|
|
|
+ margin-top: 30px;
|
|
|
|
+ min-height: 0; /* 防止flex溢出 */
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* 侧边导航 */
|
|
|
|
+.sidebar {
|
|
|
|
+ width: 280px;
|
|
|
|
+ background: rgba(255, 255, 255, 0.92);
|
|
|
|
+ border-radius: 12px;
|
|
|
|
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
|
|
|
+ padding: 20px;
|
|
|
|
+ backdrop-filter: blur(10px);
|
|
|
|
+ border: 1px solid rgba(255, 255, 255, 0.5);
|
|
|
|
+ height: fit-content;
|
|
|
|
+ flex-shrink: 0;
|
|
|
|
+ will-change: transform;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.sidebar-title {
|
|
|
|
+ font-family: 'Ma Shan Zheng', cursive;
|
|
|
|
+ font-size: 1.8rem;
|
|
|
|
+ color: var(--primary-blue);
|
|
|
|
+ text-align: center;
|
|
|
|
+ margin-bottom: 20px;
|
|
|
|
+ padding-bottom: 10px;
|
|
|
|
+ border-bottom: 2px dashed var(--primary-gold);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.module-nav {
|
|
|
|
+ list-style: none;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.module-nav li {
|
|
|
|
+ margin-bottom: 8px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.module-nav a {
|
|
|
|
+ display: block;
|
|
|
|
+ padding: 12px 15px;
|
|
|
|
+ background: rgba(47, 125, 173, 0.1);
|
|
|
|
+ border-radius: 8px;
|
|
|
|
+ color: var(--dark);
|
|
|
|
+ text-decoration: none;
|
|
|
|
+ transition: all var(--animation-speed) ease;
|
|
|
|
+ position: relative;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ will-change: transform;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.module-nav a::before {
|
|
|
|
+ content: "";
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 0;
|
|
|
|
+ left: -100%;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+ background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.15), transparent);
|
|
|
|
+ transition: left var(--animation-speed) ease;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.module-nav a:hover {
|
|
|
|
+ background: rgba(47, 125, 173, 0.2);
|
|
|
|
+ transform: translateX(5px);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.module-nav a:hover::before {
|
|
|
|
+ left: 100%;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.module-nav a.active {
|
|
|
|
+ background: var(--primary-blue);
|
|
|
|
+ color: white;
|
|
|
|
+ box-shadow: 0 4px 12px rgba(47, 125, 173, 0.3);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.module-nav a i {
|
|
|
|
+ margin-right: 10px;
|
|
|
|
+ width: 20px;
|
|
|
|
+ text-align: center;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.sub-nav {
|
|
|
|
+ list-style: none;
|
|
|
|
+ padding-left: 30px;
|
|
|
|
+ margin-top: 5px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.sub-nav li {
|
|
|
|
+ margin-bottom: 5px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.sub-nav a {
|
|
|
|
+ padding: 8px 15px;
|
|
|
|
+ background: rgba(212, 175, 55, 0.05);
|
|
|
|
+ border-left: 3px solid var(--primary-gold);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* 内容区域 */
|
|
|
|
+.content-area {
|
|
|
|
+ flex: 1;
|
|
|
|
+ background: rgba(255, 255, 255, 0.92);
|
|
|
|
+ border-radius: 12px;
|
|
|
|
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
|
|
|
+ padding: 30px;
|
|
|
|
+ backdrop-filter: blur(10px);
|
|
|
|
+ border: 1px solid rgba(255, 255, 255, 0.5);
|
|
|
|
+ min-height: 700px;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ will-change: transform;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.content-header {
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ align-items: center;
|
|
|
|
+ margin-bottom: 30px;
|
|
|
|
+ padding-bottom: 15px;
|
|
|
|
+ border-bottom: 2px solid var(--water-color);
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
+ gap: 20px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.content-title {
|
|
|
|
+ font-family: 'Ma Shan Zheng', cursive;
|
|
|
|
+ font-size: 2.2rem;
|
|
|
|
+ color: var(--primary-blue);
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ gap: 15px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.content-title-icon {
|
|
|
|
+ color: var(--primary-gold);
|
|
|
|
+ font-size: 1.8rem;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.stats-container {
|
|
|
|
+ display: flex;
|
|
|
|
+ gap: 15px;
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.stat-card {
|
|
|
|
+ background: linear-gradient(to right, var(--primary-blue), #2a5b8c);
|
|
|
|
+ color: white;
|
|
|
|
+ padding: 12px 20px;
|
|
|
|
+ border-radius: 8px;
|
|
|
|
+ min-width: 150px;
|
|
|
|
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
|
|
+ flex: 1;
|
|
|
|
+ min-width: 140px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.stat-card h3 {
|
|
|
|
+ font-size: 0.9rem;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ margin-bottom: 5px;
|
|
|
|
+ opacity: 0.9;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.stat-card p {
|
|
|
|
+ font-size: 1.5rem;
|
|
|
|
+ font-weight: 700;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.stat-card:nth-child(2) {
|
|
|
|
+ background: linear-gradient(to right, var(--accent), #b33939);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.stat-card:nth-child(3) {
|
|
|
|
+ background: linear-gradient(to right, var(--primary-gold), #b8860b);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* 功能模块展示 */
|
|
|
|
+.module-grid {
|
|
|
|
+ display: grid;
|
|
|
|
+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
|
|
+ gap: 25px;
|
|
|
|
+ margin-top: 25px;
|
|
|
|
+ flex: 1;
|
|
|
|
+ overflow-y: auto;
|
|
|
|
+ padding-bottom: 20px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.module-card {
|
|
|
|
+ background: white;
|
|
|
|
+ border-radius: 12px;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
|
|
|
|
+ transition: all var(--animation-speed) ease;
|
|
|
|
+ border: 1px solid rgba(0, 0, 0, 0.05);
|
|
|
|
+ position: relative;
|
|
|
|
+ will-change: transform;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.module-card:hover {
|
|
|
|
+ transform: translateY(-5px);
|
|
|
|
+ box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card-header {
|
|
|
|
+ padding: 20px;
|
|
|
|
+ background: var(--primary-blue);
|
|
|
|
+ color: white;
|
|
|
|
+ position: relative;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card-header::after {
|
|
|
|
+ content: "";
|
|
|
|
+ position: absolute;
|
|
|
|
+ bottom: -15px;
|
|
|
|
+ left: 20px;
|
|
|
|
+ width: 30px;
|
|
|
|
+ height: 30px;
|
|
|
|
+ background: var(--primary-blue);
|
|
|
|
+ transform: rotate(45deg);
|
|
|
|
+ z-index: 1;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card-icon {
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 20px;
|
|
|
|
+ right: 20px;
|
|
|
|
+ font-size: 2rem;
|
|
|
|
+ opacity: 0.2;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card-title {
|
|
|
|
+ font-size: 1.4rem;
|
|
|
|
+ margin-bottom: 5px;
|
|
|
|
+ position: relative;
|
|
|
|
+ z-index: 2;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card-subtitle {
|
|
|
|
+ font-size: 0.9rem;
|
|
|
|
+ opacity: 0.8;
|
|
|
|
+ position: relative;
|
|
|
|
+ z-index: 2;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card-body {
|
|
|
|
+ padding: 30px 20px 20px;
|
|
|
|
+ position: relative;
|
|
|
|
+ z-index: 2;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card-features {
|
|
|
|
+ list-style: none;
|
|
|
|
+ margin-bottom: 20px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card-features li {
|
|
|
|
+ padding: 8px 0;
|
|
|
|
+ border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card-features li:last-child {
|
|
|
|
+ border-bottom: none;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card-features li i {
|
|
|
|
+ color: var(--primary-gold);
|
|
|
|
+ margin-right: 10px;
|
|
|
|
+ min-width: 20px;
|
|
|
|
+ text-align: center;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.card-actions {
|
|
|
|
+ display: flex;
|
|
|
|
+ gap: 10px;
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.btn {
|
|
|
|
+ padding: 10px 20px;
|
|
|
|
+ border-radius: 6px;
|
|
|
|
+ border: none;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ font-family: inherit;
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ transition: all var(--animation-speed) ease;
|
|
|
|
+ display: inline-flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ gap: 8px;
|
|
|
|
+ will-change: transform;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.btn:active {
|
|
|
|
+ transform: scale(0.98);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.btn-primary {
|
|
|
|
+ background: var(--primary-blue);
|
|
|
|
+ color: white;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.btn-primary:hover {
|
|
|
|
+ background: #1a6aa2;
|
|
|
|
+ box-shadow: 0 4px 12px rgba(47, 125, 173, 0.3);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.btn-outline {
|
|
|
|
+ background: transparent;
|
|
|
|
+ border: 1px solid var(--primary-blue);
|
|
|
|
+ color: var(--primary-blue);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.btn-outline:hover {
|
|
|
|
+ background: rgba(47, 125, 173, 0.1);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* 水墨山水装饰元素 */
|
|
|
|
+.ink-mountain {
|
|
|
|
+ position: absolute;
|
|
|
|
+ bottom: 0;
|
|
|
|
+ left: 0;
|
|
|
|
+ width: 300px;
|
|
|
|
+ height: 150px;
|
|
|
|
+ background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><path d="M0,400 Q200,250 400,300 T800,400 L800,500 L0,500 Z" fill="%232c3e50" opacity="0.05"/></svg>');
|
|
|
|
+ background-size: contain;
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
+ z-index: -1;
|
|
|
|
+ will-change: transform;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.ink-water {
|
|
|
|
+ position: absolute;
|
|
|
|
+ bottom: 0;
|
|
|
|
+ right: 0;
|
|
|
|
+ width: 250px;
|
|
|
|
+ height: 120px;
|
|
|
|
+ background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 200"><path d="M0,200 Q100,150 200,180 T400,160 T600,190 T800,150 L800,300 L0,300 Z" fill="%231a6aa2" opacity="0.05"/></svg>');
|
|
|
|
+ background-size: contain;
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
+ z-index: -1;
|
|
|
|
+ will-change: transform;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* 轮播图 */
|
|
|
|
+.swiper-container {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 300px;
|
|
|
|
+ border-radius: 12px;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ margin-top: 20px;
|
|
|
|
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
|
|
|
+ will-change: transform;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.swiper-slide {
|
|
|
|
+ background-size: cover;
|
|
|
|
+ background-position: center;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: flex-end;
|
|
|
|
+ padding: 30px;
|
|
|
|
+ position: relative;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.swiper-slide::before {
|
|
|
|
+ content: "";
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 0;
|
|
|
|
+ left: 0;
|
|
|
|
+ right: 0;
|
|
|
|
+ bottom: 0;
|
|
|
|
+ background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.slide-content {
|
|
|
|
+ position: relative;
|
|
|
|
+ z-index: 2;
|
|
|
|
+ color: white;
|
|
|
|
+ max-width: 70%;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.slide-title {
|
|
|
|
+ font-size: 1.8rem;
|
|
|
|
+ margin-bottom: 10px;
|
|
|
|
+ font-weight: 700;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* 防止动画闪烁 */
|
|
|
|
+.no-flash {
|
|
|
|
+ -webkit-backface-visibility: hidden;
|
|
|
|
+ backface-visibility: hidden;
|
|
|
|
+ -webkit-perspective: 1000;
|
|
|
|
+ perspective: 1000;
|
|
|
|
+ transform: translate3d(0,0,0);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* 缩放比例优化 */
|
|
|
|
+@media screen and (min-width: 1600px) {
|
|
|
|
+ .container {
|
|
|
|
+ max-width: 1600px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .sidebar {
|
|
|
|
+ width: 320px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .module-grid {
|
|
|
|
+ grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* 响应式调整 */
|
|
|
|
+@media (max-width: 1200px) {
|
|
|
|
+ .main-content {
|
|
|
|
+ gap: 20px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .sidebar {
|
|
|
|
+ width: 260px;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+@media (max-width: 992px) {
|
|
|
|
+ .main-content {
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .sidebar {
|
|
|
|
+ width: 100%;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .module-grid {
|
|
|
|
+ grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+@media (max-width: 768px) {
|
|
|
|
+ .stats-container {
|
|
|
|
+ width: 100%;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .stat-card {
|
|
|
|
+ min-width: 120px;
|
|
|
|
+ padding: 10px 15px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .stat-card p {
|
|
|
|
+ font-size: 1.3rem;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .content-header {
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ align-items: flex-start;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .content-title {
|
|
|
|
+ font-size: 1.8rem;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+@media (max-width: 480px) {
|
|
|
|
+ .module-grid {
|
|
|
|
+ grid-template-columns: 1fr;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .swiper-container {
|
|
|
|
+ height: 250px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .slide-content {
|
|
|
|
+ max-width: 90%;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .slide-title {
|
|
|
|
+ font-size: 1.5rem;
|
|
|
|
+ }
|
|
|
|
+}
|