123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678 |
- /* 全局样式 */
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- font-family: "阿里巴巴普惠体", sans-serif;
- }
- body {
- background-color: #f8f4e8;
- // background-image: url('paper-texture.png');
- color: #333;
- line-height: 1.6;
- display: flex;
- justify-content: center;
- align-items: center;
- min-height: 100vh;
- padding: 20px;
- }
- /* 自定义字体 */
- @font-face {
- font-family: "赣锋体";
- src: url("/assets/fonts/ganfeng.ttf"); /* 修改为正确的相对路径 */
- }
- /* 主色调定义 */
- :host {
- --primary-blue: #2F7DAD; /* 天青瓷 */
- --primary-green: #5B8C5A; /* 香樟绿 */
- --primary-gold: #D4B16A; /* 庐金 */
- --secondary-gray: #6D6D6D; /* 婺源黛瓦灰 */
- --secondary-red: #C53D43; /* 井冈山鹃红 */
- --secondary-white: #F0F0F0; /* 鄱阳湖银白 */
- }
- /* PPT容器 */
- .ppt-container {
- width: 100%;
- max-width: 1400px;
- background-color: white;
- border-radius: 12px;
- overflow: hidden;
- box-shadow: 0 10px 30px rgba(0,0,0,0.1);
- display: flex;
- flex-direction: column;
- min-height: 800px;
- }
- /* 主要内容区域 */
- .ppt-main {
- display: flex;
- flex: 1;
- overflow: hidden;
- }
- /* 左侧目录 */
- .sidebar {
- width: 280px;
- background-color: #f9f9f9;
- border-right: 1px solid #eee;
- padding: 30px 20px;
- overflow-y: auto;
- }
- .sidebar-title {
- font-family: "赣锋体", serif;
- font-size: 1.5rem;
- color: var(--primary-blue);
- margin-bottom: 25px;
- padding-bottom: 10px;
- border-bottom: 2px solid var(--primary-blue);
- }
- .sidebar-menu {
- list-style: none;
- }
- .sidebar-item {
- margin-bottom: 15px;
- }
- .sidebar-link {
- display: block;
- padding: 10px 15px;
- color: var(--secondary-gray);
- text-decoration: none;
- border-radius: 6px;
- transition: all 0.3s ease;
- position: relative;
- font-size: 1.05rem;
- }
- .sidebar-link:hover {
- background-color: rgba(47, 125, 173, 0.08);
- color: var(--primary-blue);
- }
- .sidebar-link.active {
- background-color: rgba(47, 125, 173, 0.15);
- color: var(--primary-blue);
- font-weight: bold;
- }
- .sidebar-link.active::before {
- content: "";
- position: absolute;
- left: 0;
- top: 50%;
- transform: translateY(-50%);
- width: 4px;
- height: 70%;
- background-color: var(--primary-gold);
- border-radius: 0 2px 2px 0;
- }
- /* 子菜单 */
- .submenu {
- list-style: none;
- margin-left: 25px;
- margin-top: 10px;
- display: none;
- }
- .submenu.active {
- display: block;
- }
- .submenu-item {
- margin-bottom: 8px;
- }
- .submenu-link {
- display: block;
- padding: 8px 10px;
- color: var(--secondary-gray);
- text-decoration: none;
- border-radius: 4px;
- transition: all 0.3s ease;
- font-size: 0.95rem;
- }
- .submenu-link:hover {
- background-color: rgba(47, 125, 173, 0.05);
- color: var(--primary-blue);
- }
- .submenu-link.active {
- background-color: rgba(47, 125, 173, 0.1);
- color: var(--primary-blue);
- font-weight: 500;
- }
- /* 内容区域 */
- .content-area {
- flex: 1;
- padding: 40px 50px;
- overflow-y: auto;
- }
- .section-header {
- display: flex;
- align-items: center;
- margin-bottom: 30px;
- position: relative;
- }
- .section-number {
- font-family: "赣锋体", serif;
- font-size: 3rem;
- color: var(--primary-blue);
- font-weight: bold;
- margin-right: 20px;
- line-height: 1;
- }
- .section-title {
- font-family: "赣锋体", serif;
- font-size: 2.2rem;
- color: var(--primary-blue);
- position: relative;
- padding-bottom: 10px;
- }
- .section-title::after {
- content: "";
- display: block;
- width: 60px;
- height: 3px;
- background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
- margin-top: 10px;
- }
- .section-desc {
- color: var(--secondary-gray);
- margin-bottom: 40px;
- max-width: 900px;
- }
- /* 统计卡片 */
- .stats-container {
- display: grid;
- grid-template-columns: repeat(4, 1fr);
- gap: 20px;
- margin-bottom: 50px;
- }
- .stats-card {
- background-color: white;
- border-radius: 8px;
- padding: 20px;
- box-shadow: 0 4px 12px rgba(0,0,0,0.08);
- transition: all 0.3s ease;
- border-left: 4px solid var(--primary-blue);
- }
- .stats-card:hover {
- transform: translateY(-5px);
- box-shadow: 0 8px 20px rgba(0,0,0,0.12);
- }
- .stats-value {
- font-family: "赣锋体", serif;
- font-size: 2.5rem;
- color: var(--primary-blue);
- font-weight: bold;
- margin-bottom: 5px;
- }
- .stats-label {
- color: var(--secondary-gray);
- font-size: 1.1rem;
- }
- /* 内容块 */
- .content-block {
- display: none;
- }
- .content-block.active {
- display: block;
- }
- .block-title {
- font-family: "赣锋体", serif;
- font-size: 1.8rem;
- color: var(--primary-blue);
- margin-bottom: 30px;
- padding-bottom: 10px;
- border-bottom: 2px solid #eee;
- }
- /* 特性卡片 */
- .feature-grid {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- gap: 25px;
- margin-bottom: 40px;
- }
- .feature-card {
- background-color: white;
- border-radius: 10px;
- box-shadow: 0 4px 15px rgba(0,0,0,0.08);
- overflow: hidden;
- transition: all 0.3s ease;
- border: 1px solid #eee;
- }
- .feature-card:hover {
- transform: translateY(-5px);
- box-shadow: 0 8px 25px rgba(0,0,0,0.12);
- }
- .card-header {
- display: flex;
- align-items: center;
- padding: 15px 20px;
- background-color: rgba(47, 125, 173, 0.05);
- border-bottom: 1px solid #eee;
- }
- .card-icon {
- font-size: 1.5rem;
- margin-right: 15px;
- color: var(--primary-blue);
- }
- .card-title {
- font-size: 1.2rem;
- color: var(--primary-blue);
- font-weight: 600;
- }
- .card-content {
- padding: 20px;
- }
- .card-desc {
- color: var(--secondary-gray);
- margin-bottom: 15px;
- }
- .card-list {
- list-style: none;
- }
- .card-list li {
- margin-bottom: 8px;
- color: #555;
- display: flex;
- align-items: center;
- }
- .card-list li::before {
- content: "•";
- color: var(--primary-blue);
- margin-right: 8px;
- }
- .card-footer {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 15px 20px;
- background-color: rgba(47, 125, 173, 0.03);
- border-top: 1px solid #eee;
- }
- .card-link {
- color: var(--primary-blue);
- text-decoration: none;
- font-weight: 500;
- transition: all 0.3s ease;
- }
- .card-link:hover {
- color: var(--primary-gold);
- }
- .card-status {
- padding: 4px 10px;
- border-radius: 4px;
- font-size: 0.9rem;
- font-weight: 500;
- }
- .card-status[status="已上线"] {
- background-color: rgba(91, 140, 90, 0.15);
- color: var(--primary-green);
- }
- .card-status[status="测试中"] {
- background-color: rgba(212, 177, 106, 0.15);
- color: var(--primary-gold);
- }
- .card-status[status="开发中"] {
- background-color: rgba(47, 125, 173, 0.15);
- color: var(--primary-blue);
- }
- .card-status[status="规划中"] {
- background-color: rgba(109, 109, 109, 0.15);
- color: var(--secondary-gray);
- }
- /* 流程图 */
- .flow-chart {
- margin-bottom: 40px;
- padding: 25px;
- background-color: white;
- border-radius: 10px;
- box-shadow: 0 4px 15px rgba(0,0,0,0.08);
- }
- .flow-title {
- font-size: 1.3rem;
- color: var(--primary-blue);
- margin-bottom: 25px;
- font-weight: 600;
- }
- .flow-steps {
- display: flex;
- justify-content: space-between;
- align-items: center;
- position: relative;
- }
- .flow-steps::before {
- content: "";
- position: absolute;
- top: 50%;
- left: 0;
- right: 0;
- height: 2px;
- background-color: #eee;
- transform: translateY(-50%);
- z-index: 1;
- }
- .flow-step {
- position: relative;
- z-index: 2;
- text-align: center;
- width: 100%;
- }
- .step-number {
- width: 40px;
- height: 40px;
- border-radius: 50%;
- background-color: var(--primary-blue);
- color: white;
- display: flex;
- justify-content: center;
- align-items: center;
- margin: 0 auto 10px;
- font-weight: bold;
- }
- .step-label {
- color: var(--secondary-gray);
- font-weight: 500;
- }
- /* 案例展示 */
- .case-studies {
- margin-top: 40px;
- }
- .case-title {
- font-size: 1.3rem;
- color: var(--primary-blue);
- margin-bottom: 25px;
- font-weight: 600;
- }
- .case-grid {
- display: grid;
- grid-template-columns: repeat(2, 1fr);
- gap: 25px;
- }
- .case-card {
- background-color: white;
- border-radius: 10px;
- box-shadow: 0 4px 15px rgba(0,0,0,0.08);
- overflow: hidden;
- transition: all 0.3s ease;
- }
- .case-card:hover {
- transform: translateY(-5px);
- box-shadow: 0 8px 25px rgba(0,0,0,0.12);
- }
- .case-image {
- height: 200px;
- background-size: cover;
- background-position: center;
- }
- .case-content {
- padding: 20px;
- }
- .case-name {
- font-size: 1.2rem;
- color: var(--primary-blue);
- font-weight: 600;
- margin-bottom: 10px;
- }
- .case-desc {
- color: var(--secondary-gray);
- margin-bottom: 15px;
- }
- .case-meta {
- display: flex;
- flex-wrap: wrap;
- gap: 8px;
- }
- .case-tag {
- padding: 3px 10px;
- background-color: rgba(47, 125, 173, 0.08);
- color: var(--primary-blue);
- border-radius: 4px;
- font-size: 0.9rem;
- }
- /* 图表容器 */
- .chart-container {
- margin-bottom: 40px;
- background-color: white;
- border-radius: 10px;
- box-shadow: 0 4px 15px rgba(0,0,0,0.08);
- padding: 25px;
- }
- .chart-title {
- font-size: 1.3rem;
- color: var(--primary-blue);
- margin-bottom: 25px;
- font-weight: 600;
- }
- .chart {
- position: relative;
- }
- .placeholder-text {
- color: var(--secondary-gray);
- font-size: 1.1rem;
- }
- /* 时间线 */
- .timeline {
- margin-bottom: 40px;
- }
- .timeline-item {
- display: flex;
- margin-bottom: 30px;
- }
- .timeline-marker {
- min-width: 60px;
- height: 60px;
- border-radius: 50%;
- background-color: var(--primary-blue);
- color: white;
- display: flex;
- justify-content: center;
- align-items: center;
- font-weight: bold;
- margin-right: 20px;
- position: relative;
- }
- .timeline-marker::after {
- content: "";
- position: absolute;
- bottom: -30px;
- left: 50%;
- width: 2px;
- height: 30px;
- background-color: #eee;
- }
- .timeline-item:last-child .timeline-marker::after {
- display: none;
- }
- .timeline-content {
- flex: 1;
- }
- .timeline-title {
- font-size: 1.2rem;
- color: var(--primary-blue);
- font-weight: 600;
- margin-bottom: 5px;
- }
- .timeline-date {
- color: var(--primary-gold);
- font-weight: 500;
- margin-bottom: 10px;
- }
- .timeline-desc {
- color: var(--secondary-gray);
- }
- /* 表格 */
- .table {
- width: 100%;
- border-collapse: collapse;
- }
- .table th, .table td {
- padding: 15px;
- border: 1px solid #eee;
- text-align: left;
- }
- .table th {
- background-color: rgba(47, 125, 173, 0.05);
- color: var(--primary-blue);
- font-weight: 600;
- }
- .table tr:hover {
- background-color: rgba(47, 125, 173, 0.03);
- }
- /* 响应式设计 */
- @media (max-width: 1200px) {
- .feature-grid {
- grid-template-columns: repeat(2, 1fr);
- }
-
- .stats-container {
- grid-template-columns: repeat(2, 1fr);
- }
-
- .case-grid {
- grid-template-columns: 1fr;
- }
-
- .sidebar {
- width: 240px;
- }
- }
- @media (max-width: 992px) {
- .content-area {
- padding: 30px 40px;
- }
-
- .flow-steps {
- flex-direction: column;
- }
-
- .flow-steps::before {
- top: 0;
- left: 50%;
- right: auto;
- bottom: 0;
- width: 2px;
- height: 100%;
- transform: translateX(-50%);
- }
-
- .flow-step {
- margin-bottom: 30px;
- }
-
- .step-number {
- margin-bottom: 15px;
- }
- }
- @media (max-width: 768px) {
- .ppt-main {
- flex-direction: column;
- }
-
- .sidebar {
- width: 100%;
- border-right: none;
- border-bottom: 1px solid #eee;
- }
-
- .section-number {
- font-size: 2.5rem;
- }
-
- .section-title {
- font-size: 1.8rem;
- }
-
- .block-title {
- font-size: 1.5rem;
- }
-
- .feature-grid {
- grid-template-columns: 1fr;
- }
-
- .stats-container {
- grid-template-columns: 1fr;
- }
- }
|