/* 基础样式与水墨效果 */ .crm-home { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; color: #333; padding-bottom: 40px; position: relative; background-color: #f9f5f0; // background-image: url('../src/assets/images/paper-texture.webp'); background-attachment: fixed; } .ink-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0.1; } .ink-particle { position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(47,125,173,0.3) 0%, rgba(255,255,255,0) 70%); border-radius: 50%; filter: blur(10px); animation: float 15s infinite ease-in-out; &:nth-child(2) { animation-delay: 5s; background: radial-gradient(circle, rgba(91,140,90,0.3) 0%, rgba(255,255,255,0) 70%); } &:nth-child(3) { animation-delay: 8s; background: radial-gradient(circle, rgba(212,177,106,0.3) 0%, rgba(255,255,255,0) 70%); } } @keyframes float { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(20px, 20px); } 50% { transform: translate(-20px, 10px); } 75% { transform: translate(10px, -20px); } } /* 区块背景 */ .section-mountain-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; // background: url('assets/images/mountain-silhouette.png') bottom center repeat-x; opacity: 0.05; z-index: 0; } .section-water-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; // background: url('assets/images/water-ink.png') center no-repeat; opacity: 0.08; z-index: 0; } .section-rice-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; // background: url('assets/images/rice-pattern.png') center repeat; opacity: 0.1; z-index: 0; } .section-cloud-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; // background: url('assets/images/cloud-ink.png') center no-repeat; opacity: 0.08; z-index: 0; } /* 标题样式 */ .section-header { position: relative; display: flex; justify-content: space-between; align-items: center; margin: 40px 5% 25px; padding-bottom: 15px; z-index: 1; h2 { font-size: 1.8rem; color: #2F7DAD; display: flex; align-items: center; font-family: "赣锋体", serif; text-shadow: 1px 1px 2px rgba(0,0,0,0.1); i { margin-right: 12px; color: #D4B16A; font-size: 1.5rem; } } .title-ink { position: relative; &::after { content: ""; position: absolute; bottom: -5px; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, #2F7DAD, #5B8C5A); border-radius: 3px; } } } .more-link { color: #5B8C5A; text-decoration: none; font-size: 0.95rem; display: flex; align-items: center; transition: all 0.3s; &:hover { color: #2F7DAD; i { transform: translateX(3px); } } i { margin-left: 5px; transition: all 0.3s; } } /* 水墨按钮样式 */ .ink-button { position: relative; background: none; border: none; color: #2F7DAD; padding: 8px 15px; font-size: 0.9rem; cursor: pointer; overflow: hidden; display: inline-flex; align-items: center; transition: all 0.3s; &::before { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: #D4B16A; transform: scaleX(0); transform-origin: right; transition: transform 0.3s; } &:hover { color: #5B8C5A; &::before { transform: scaleX(1); transform-origin: left; } i { transform: translateX(3px); } } i { margin-left: 5px; transition: all 0.3s; } } /* 智能Banner系统 */ .banner-section { position: relative; padding: 30px 0 40px; background: linear-gradient(135deg, rgba(245,247,250,0.8) 0%, rgba(195,207,226,0.6) 100%); overflow: hidden; } .banner-container { max-width: 1200px; margin: 0 auto; padding: 0 5%; position: relative; z-index: 2; } .carousel { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.15); height: 350px; } .carousel-inner { height: 100%; position: relative; } .carousel-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; &.active { opacity: 1; } } .ink-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%); } .carousel-caption { position: absolute; bottom: 80px; left: 60px; color: white; text-shadow: 2px 2px 5px rgba(0,0,0,0.5); max-width: 600px; h3 { font-size: 2.5rem; margin-bottom: 15px; font-family: "赣锋体", serif; position: relative; display: inline-block; &::before { content: attr(data-text); position: absolute; top: 0; left: 0; color: transparent; -webkit-text-stroke: 1px white; z-index: 1; } } p { font-size: 1.3rem; margin-bottom: 20px; } } .brush-stroke { position: absolute; bottom: -15px; left: 0; width: 150px; height: 8px; background: #D4B16A; border-radius: 4px; opacity: 0.8; } .carousel-control { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.3); border: none; width: 50px; height: 50px; border-radius: 50%; color: white; font-size: 1.5rem; cursor: pointer; transition: all 0.3s; z-index: 3; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); &:hover { background: rgba(255,255,255,0.5); transform: translateY(-50%) scale(1.1); } &.prev { left: 30px; } &.next { right: 30px; } } .carousel-indicators { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s; &.active { background: #D4B16A; transform: scale(1.2); } } } /* 快速入口 */ .quick-access { display: flex; justify-content: center; margin-top: 30px; gap: 25px; } .quick-item { position: relative; width: 120px; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); i { font-size: 2.5rem; color: white; margin-bottom: 10px; transition: all 0.3s; position: relative; z-index: 2; } span { font-size: 1rem; color: white; position: relative; z-index: 2; text-align: center; transition: all 0.3s; } } .ceramic-disk { &::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #2F7DAD, #5B8C5A); border-radius: 50%; z-index: 1; transition: all 0.5s; } &:hover { transform: translateY(-10px) rotate(5deg); &::before { transform: scale(1.05); box-shadow: 0 10px 25px rgba(47,125,173,0.4); } .disk-border { opacity: 0.8; } i { transform: scale(1.1); } } } .disk-border { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; border: 2px solid rgba(212,177,106,0.5); opacity: 0; transition: all 0.5s; z-index: 2; } .disk-shadow { position: absolute; bottom: -10px; left: 10%; width: 80%; height: 20px; background: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 80%); filter: blur(5px); z-index: 0; transition: all 0.5s; } /* 数智动态区 */ .dynamic-section { position: relative; padding: 40px 0; background: rgba(255,255,255,0.7); backdrop-filter: blur(5px); margin: 30px 0; border-top: 1px solid rgba(212,177,106,0.2); border-bottom: 1px solid rgba(212,177,106,0.2); } .dynamic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 25px; margin: 0 5%; position: relative; z-index: 1; } .dynamic-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.1); position: relative; border: 1px solid rgba(212,177,106,0.1); &:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); .card-header { background-size: 120%; } } } .scroll-fade { opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; &.visible { opacity: 1; transform: translateY(0); } } .card-header { padding: 18px 25px; background: linear-gradient(90deg, #2F7DAD, #5B8C5A); color: white; display: flex; justify-content: space-between; align-items: center; position: relative; overflow: hidden; transition: all 0.5s; h3 { margin: 0; font-size: 1.3rem; display: flex; align-items: center; position: relative; z-index: 2; } i { margin-right: 10px; font-size: 1.3rem; } } .title-container { display: flex; align-items: center; } .ink-splash { position: absolute; top: -50px; right: -50px; width: 150px; height: 150px; background: radial-gradient(circle, rgba(212,177,106,0.3) 0%, rgba(212,177,106,0) 70%); border-radius: 50%; z-index: 1; } .tag { padding: 5px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: bold; position: relative; z-index: 2; &.ai-tag { background: rgba(227,242,253,0.9); color: #1976D2; } &.blockchain-tag { background: rgba(232,245,233,0.9); color: #388E3C; } &.kg-tag { background: rgba(243,229,245,0.9); color: #8E24AA; } } .card-content { padding: 20px 25px; } /* 新闻动态卡片 */ .news-list { list-style: none; padding: 0; margin: 0 0 20px; } .news-item { padding: 12px 0; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s; &:last-child { border-bottom: none; } &:hover { background: rgba(245,247,250,0.5); .news-title { color: #2F7DAD; } .news-dot { transform: scale(1.2); background: #D4B16A; } } } .news-dot { width: 8px; height: 8px; border-radius: 50%; background: #5B8C5A; margin-right: 12px; transition: all 0.3s; } .news-title { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.95rem; transition: all 0.3s; } .news-date { color: #888; margin-left: 10px; font-size: 0.85rem; min-width: 50px; text-align: right; } .news-chart { height: 180px; margin-top: 15px; position: relative; .echarts-container { width: 100%; height: 100%; } } /* 文件传达卡片 */ .document-item { display: flex; align-items: center; padding: 12px 0; cursor: pointer; transition: all 0.3s; &:hover { background: rgba(245,247,250,0.5); .document-title { color: #2F7DAD; } .gold-border { opacity: 1; transform: scale(1.05); } } } .document-icon { width: 40px; height: 40px; border-radius: 8px; background: #f5f5f5; display: flex; align-items: center; justify-content: center; margin-right: 15px; position: relative; i { color: #D4B16A; font-size: 1.3rem; } } .gold-border { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 1px solid #D4B16A; border-radius: 8px; opacity: 0; transition: all 0.3s; } .document-info { flex: 1; min-width: 0; } .document-title { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.95rem; margin-bottom: 3px; transition: all 0.3s; } .document-meta { display: flex; font-size: 0.8rem; color: #888; .document-size { margin-right: 10px; } .document-hash { font-family: monospace; background: #f5f5f5; padding: 2px 5px; border-radius: 3px; } } .blockchain-visual { height: 150px; margin-top: 15px; background: #f9f9f9; border-radius: 8px; overflow: hidden; .echarts-container { width: 100%; height: 100%; } } /* 学术前沿卡片 */ .knowledge-poem { text-align: center; margin-bottom: 20px; font-family: "赣锋体", serif; .poem-line { font-size: 1.3rem; color: #2F7DAD; margin: 5px 0; line-height: 1.6; } .poem-author { font-size: 0.9rem; color: #888; margin-top: 10px; font-style: italic; } } .knowledge-graph { height: 250px; position: relative; .echarts-container { width: 100%; height: 100%; } } .graph-legend { position: absolute; bottom: 10px; left: 10px; display: flex; gap: 15px; background: rgba(255,255,255,0.8); padding: 5px 10px; border-radius: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); .legend-item { font-size: 0.8rem; color: #555; display: flex; align-items: center; } .legend-dot { width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; &.cultural { background: #2F7DAD; } &.scenic { background: #5B8C5A; } &.figure { background: #D4B16A; } } } /* 共创展示区 */ .showcase-section { position: relative; padding: 40px 0; background: rgba(249,245,240,0.7); backdrop-filter: blur(3px); } .showcase-tabs { display: flex; margin: 0 5% 25px; border-bottom: 1px solid rgba(212,177,106,0.3); position: relative; z-index: 1; } .tab-btn { padding: 12px 25px; background: none; border: none; position: relative; cursor: pointer; font-size: 1rem; color: #666; transition: all 0.3s; display: flex; flex-direction: column; align-items: center; &.active { color: #2F7DAD; .tab-ink { transform: translateY(0); } .ink-underline { width: 100%; opacity: 1; } } } .ink-tab { overflow: hidden; .tab-ink { display: inline-block; transition: all 0.3s; transform: translateY(100%); } .ink-underline { width: 0; height: 3px; background: #D4B16A; border-radius: 3px; margin-top: 5px; opacity: 0; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); } } .showcase-content { margin: 0 5%; } .showcase-panel { display: none; &.active { display: block; animation: fadeIn 0.5s ease-out; } } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* 数字文创展廊 */ .aigc-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; } .gallery-item { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.1); height: 350px; &:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); .gallery-caption { transform: translateY(0); } .gallery-view { opacity: 1; transform: translateY(0); } .gallery-ink { opacity: 0.3; } } } .gallery-ink { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, rgba(47,125,173,0.5) 0%, rgba(47,125,173,0) 70%); opacity: 0; transition: all 0.5s; z-index: 1; } .gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; } .gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%); color: white; padding: 20px; transform: translateY(30px); transition: all 0.5s; z-index: 2; h4 { margin: 0 0 5px; font-size: 1.3rem; } p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.8); } } .caption-border { position: absolute; bottom: 15px; left: 20px; width: 50px; height: 2px; background: #D4B16A; } .gallery-view { position: absolute; top: 20px; right: 20px; background: rgba(212,177,106,0.9); color: white; border: none; padding: 8px 15px; border-radius: 20px; font-size: 0.9rem; cursor: pointer; opacity: 0; transform: translateY(-20px); transition: all 0.5s; z-index: 3; display: flex; align-items: center; &:hover { background: #2F7DAD; } i { margin-left: 5px; } } /* 文旅IP孵化榜 */ .ip-ranking { background: white; border-radius: 12px; padding: 25px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); } .ip-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; h3 { margin: 0; color: #2F7DAD; font-size: 1.4rem; } } .ip-filter { display: flex; gap: 10px; span { padding: 5px 12px; border-radius: 15px; font-size: 0.85rem; cursor: pointer; transition: all 0.3s; &.filter-active { background: #5B8C5A; color: white; } &:not(.filter-active):hover { background: #f5f5f5; color: #2F7DAD; } } } .ip-list { margin-bottom: 25px; } .ip-item { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px solid #eee; &:last-child { border-bottom: none; } } .ip-rank { width: 30px; height: 30px; background: #D4B16A; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; font-weight: bold; flex-shrink: 0; } .ip-avatar { width: 50px; height: 50px; border-radius: 50%; background-size: cover; background-position: center; margin-right: 15px; border: 2px solid #f5f5f5; flex-shrink: 0; } .ip-info { flex: 1; min-width: 0; h4 { margin: 0 0 5px; color: #2F7DAD; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ip-desc { margin: 0; color: #666; font-size: 0.85rem; } } .ip-stats { display: flex; gap: 15px; margin-top: 8px; .stat-item { display: flex; align-items: center; font-size: 0.8rem; color: #888; i { margin-right: 5px; color: #5B8C5A; } } } .ip-chart { width: 80px; height: 40px; flex-shrink: 0; .mini-echarts { width: 100%; height: 100%; } } .ip-map { height: 250px; background: #f9f9f9; border-radius: 8px; overflow: hidden; .echarts-container { width: 100%; height: 100%; } } /* XR云展厅 */ .xr-showroom { background: white; border-radius: 12px; padding: 25px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); } .xr-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; h3 { margin: 0; color: #2F7DAD; font-size: 1.4rem; } } .xr-controls { display: flex; gap: 10px; } .xr-btn { background: rgba(91,140,90,0.1); border: 1px solid rgba(91,140,90,0.3); color: #5B8C5A; padding: 8px 15px; border-radius: 20px; font-size: 0.9rem; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; &:hover { background: rgba(91,140,90,0.2); } i { margin-right: 5px; } } .webgl-container { position: relative; height: 400px; background: #f5f5f5; border-radius: 8px; overflow: hidden; } .xr-placeholder { width: 100%; height: 100%; position: relative; img { width: 100%; height: 100%; object-fit: cover; } } .xr-loading { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; color: white; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); .tea-leaf { width: 40px; height: 40px; // background: url('assets/images/tea-leaf.png') center no-repeat; background-size: contain; animation: float 2s infinite ease-in-out; margin-bottom: 10px; } } .xr-exhibits { position: absolute; bottom: 20px; left: 20px; display: flex; gap: 10px; z-index: 2; } .exhibit-item { width: 60px; height: 60px; border-radius: 8px; background: white; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; overflow: hidden; position: relative; &.active { box-shadow: 0 0 0 2px #D4B16A; &::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(212,177,106,0.1); } } &:hover { transform: translateY(-5px); } } .exhibit-icon { width: 40px; height: 40px; border-radius: 4px; background-size: cover; background-position: center; } .exhibit-item span { font-size: 0.7rem; margin-top: 2px; color: #333; } .enter-btn { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); background: linear-gradient(to right, #2F7DAD, #5B8C5A); color: white; border: none; padding: 12px 30px; border-radius: 30px; font-size: 1rem; cursor: pointer; transition: all 0.3s; overflow: hidden; z-index: 2; display: flex; align-items: center; &:hover { transform: translateX(-50%) scale(1.05); box-shadow: 0 5px 15px rgba(47,125,173,0.4); } } .gold-button { background: linear-gradient(to right, #D4B16A, #E8C878); position: relative; .gold-effect { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient( to bottom right, rgba(255,255,255,0) 45%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 55% ); transform: rotate(30deg); transition: all 0.5s; opacity: 0; } &:hover .gold-effect { opacity: 1; animation: shine 1.5s; } } @keyframes shine { 0% { left: -50%; top: -50%; } 100% { left: 150%; top: 150%; } } /* 协会智能体 */ .ai-agent-section { position: relative; padding: 40px 0 60px; background: rgba(255,255,255,0.7); backdrop-filter: blur(5px); margin-top: 30px; } .ai-agent-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 25px; margin: 0 5%; position: relative; z-index: 1; } .ai-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: all 0.5s; border: 1px solid rgba(212,177,106,0.1); &:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); } } .chatbot-card .card-header { background: linear-gradient(90deg, #5B8C5A, #8BC34A); } .dashboard-card .card-header { background: linear-gradient(90deg, #2F7DAD, #64B5F6); } .online-status { background: #4CAF50; padding: 5px 10px; border-radius: 15px; font-size: 0.75rem; color: white; display: flex; align-items: center; &::before { content: ""; width: 8px; height: 8px; background: white; border-radius: 50%; margin-right: 5px; animation: pulse 1.5s infinite; } } @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } } .update-time { color: rgba(255,255,255,0.8); font-size: 0.8rem; } .chat-preview { background: #f9f9f9; border-radius: 8px; padding: 20px; margin-bottom: 20px; } .chat-message { display: flex; margin-bottom: 15px; &.ai-message { .message-content { background: white; border: 1px solid #eee; &::before { border-right-color: white; } } } } .message-avatar { width: 40px; height: 40px; border-radius: 50%; margin-right: 10px; flex-shrink: 0; position: relative; img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; position: relative; z-index: 1; } .wave-animation { position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px; border: 2px solid rgba(91,140,90,0.3); border-radius: 50%; animation: wave 2s infinite; opacity: 0; } } @keyframes wave { 0% { transform: scale(0.8); opacity: 0; } 50% { opacity: 0.8; } 100% { transform: scale(1.2); opacity: 0; } } .message-content { background: #5B8C5A; color: white; padding: 12px 15px; border-radius: 18px; position: relative; max-width: 80%; &::before { content: ""; position: absolute; left: -8px; top: 15px; border-width: 8px 8px 8px 0; border-style: solid; border-color: transparent #5B8C5A transparent transparent; } p { margin: 0; font-size: 0.95rem; } .message-time { font-size: 0.7rem; color: rgba(255,255,255,0.7); text-align: right; margin-top: 5px; } } .quick-questions { display: flex; flex-wrap: wrap; gap: 8px; } .quick-question { background: rgba(91,140,90,0.1); border: none; color: #5B8C5A; padding: 6px 12px; border-radius: 15px; font-size: 0.8rem; cursor: pointer; transition: all 0.3s; &:hover { background: rgba(91,140,90,0.2); } } .chat-btn { width: 100%; padding: 12px; background: linear-gradient(to right, #5B8C5A, #8BC34A); color: white; border: none; border-radius: 8px; font-size: 1rem; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; &:hover { background: linear-gradient(to right, #4a7a49, #7ab239); box-shadow: 0 5px 15px rgba(91,140,90,0.3); } i { margin-right: 8px; font-size: 1.2rem; } } /* 数据看板卡片 */ .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 20px; } .stat-item { background: #f9f9f9; border-radius: 8px; padding: 15px; text-align: center; position: relative; } .stat-icon { width: 40px; height: 40px; background: rgba(47,125,173,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; i { color: #2F7DAD; font-size: 1.2rem; } } .stat-value { font-size: 1.8rem; font-weight: bold; color: #2F7DAD; margin-bottom: 5px; } .stat-label { font-size: 0.9rem; color: #666; } .mini-echarts { width: 100%; height: 40px; margin-top: 10px; } .data-timeline { height: 200px; background: #f9f9f9; border-radius: 8px; .echarts-container { width: 100%; height: 100%; } } /* 水墨过渡效果 */ .ink-transition { position: fixed; top: 0; left: 0; width: 100%; height: 100%; // background: url('assets/images/ink-transition.png') center no-repeat; background-size: cover; pointer-events: none; z-index: 1000; opacity: 0; transition: opacity 0.8s; &.active { opacity: 1; } } /* 响应式设计 */ @media (max-width: 992px) { .dynamic-grid, .ai-agent-grid { grid-template-columns: 1fr; } .aigc-gallery { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } } @media (max-width: 768px) { .carousel { height: 250px; } .carousel-caption { bottom: 50px; left: 30px; h3 { font-size: 1.8rem; } p { font-size: 1.1rem; } } .quick-access { flex-wrap: wrap; justify-content: center; } .quick-item { width: 100px; height: 100px; } .showcase-tabs { overflow-x: auto; white-space: nowrap; padding-bottom: 5px; &::-webkit-scrollbar { display: none; } } .tab-btn { padding: 10px 15px; font-size: 0.9rem; } .webgl-container { height: 300px; } } @media (max-width: 576px) { .section-header h2 { font-size: 1.5rem; } .carousel { height: 200px; } .carousel-caption { bottom: 30px; left: 20px; h3 { font-size: 1.5rem; } p { font-size: 1rem; } } .quick-item { width: 80px; height: 80px; i { font-size: 2rem; } span { font-size: 0.9rem; } } } /* 新增的页脚样式 */ .footer { background: linear-gradient(135deg, #2F7DAD, #1a4b6b); color: white; padding: 60px 0 30px; position: relative; margin-top: 60px; &::before { content: ""; position: absolute; top: -50px; left: 0; width: 100%; height: 50px; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(47,125,173,0.3)); } } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 5%; } .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; } .footer-col { h3 { font-size: 1.2rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; font-family: "赣锋体", serif; &::after { content: ""; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: #D4B16A; } } } .footer-links { list-style: none; padding: 0; margin: 0; li { margin-bottom: 12px; } a { color: rgba(255,255,255,0.8); text-decoration: none; transition: all 0.3s; font-size: 0.95rem; display: inline-block; position: relative; &::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: #D4B16A; transition: width 0.3s; } &:hover { color: white; transform: translateX(5px); &::after { width: 100%; } } } } .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.6); p { margin: 0; } } /* 响应式设计 */ @media (max-width: 768px) { .footer { padding: 40px 0 20px; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } } @media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 25px; } .footer-col { h3 { font-size: 1.1rem; margin-bottom: 15px; } } .footer-links a { font-size: 0.9rem; } .footer-bottom { font-size: 0.8rem; } }