|
@@ -1,3 +1,4 @@
|
|
|
+@charset "UTF-8";
|
|
|
/* 基础样式 */
|
|
|
:root {
|
|
|
--color-primary: #db5f46;
|
|
@@ -7,7 +8,6 @@
|
|
|
--color-border: #999;
|
|
|
--color-box: #f9fafb;
|
|
|
--color-mask: rgba(0, 0, 0, 0.4);
|
|
|
-
|
|
|
--swiper-navigation-color: var(--color-primary);
|
|
|
--swiper-pagination-color: var(--color-primary);
|
|
|
--container-width: 1200px;
|
|
@@ -17,15 +17,20 @@ html, body {
|
|
|
position: relative;
|
|
|
color: var(--color-text);
|
|
|
line-height: 1.6;
|
|
|
- font-family: 'PingFang SC', 'STSongtiSC', "Microsoft YaHei", sans-serif;
|
|
|
+ font-family: "PingFang SC", "STSongtiSC", "Microsoft YaHei", sans-serif;
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
a {
|
|
|
+ transition: color 0.3s;
|
|
|
text-decoration: none;
|
|
|
color: var(--color-text);
|
|
|
}
|
|
|
+a:hover {
|
|
|
+ color: var(--color-primary);
|
|
|
+}
|
|
|
+
|
|
|
ul {
|
|
|
list-style: none;
|
|
|
}
|
|
@@ -45,7 +50,7 @@ header .inner {
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
header .logo {
|
|
|
- font-family: 'STSongtiSC', "Microsoft YaHei", sans-serif;
|
|
|
+ font-family: "STSongtiSC", "Microsoft YaHei", sans-serif;
|
|
|
font-size: 24px;
|
|
|
font-weight: bold;
|
|
|
color: var(--color-primary);
|
|
@@ -75,27 +80,27 @@ button i {
|
|
|
nav {
|
|
|
position: relative;
|
|
|
}
|
|
|
-.nav-list {
|
|
|
+nav .nav-list {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
-.nav-item {
|
|
|
+nav .nav-item {
|
|
|
position: relative;
|
|
|
}
|
|
|
-.nav-item a {
|
|
|
+nav .nav-item.active a {
|
|
|
+ font-weight: bold;
|
|
|
+ color: var(--color-primary);
|
|
|
+}
|
|
|
+nav a {
|
|
|
display: block;
|
|
|
color: var(--color-text);
|
|
|
padding: 12px 20px;
|
|
|
font-weight: 500;
|
|
|
transition: background-color 0.3s;
|
|
|
}
|
|
|
-.nav-item a:hover {
|
|
|
- color: var(--color-primary);
|
|
|
-}
|
|
|
-.nav-item.active a {
|
|
|
- font-weight: bold;
|
|
|
+nav a:hover, nav a:active {
|
|
|
color: var(--color-primary);
|
|
|
}
|
|
|
|
|
@@ -133,11 +138,13 @@ nav {
|
|
|
width: 100%;
|
|
|
padding: 40px 0;
|
|
|
}
|
|
|
+
|
|
|
.main-box {
|
|
|
background-color: var(--color-box);
|
|
|
border-radius: 10px;
|
|
|
padding: 26px;
|
|
|
}
|
|
|
+
|
|
|
.main-hr {
|
|
|
border-color: var(--color-border);
|
|
|
margin: 50px 0;
|
|
@@ -152,17 +159,48 @@ nav {
|
|
|
border-bottom: 2px solid var(--color-primary);
|
|
|
}
|
|
|
.section-title h2 {
|
|
|
+ position: relative;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ align-items: center;
|
|
|
font-family: "STSongtiSC";
|
|
|
font-synthesis: none;
|
|
|
font-size: 20px;
|
|
|
color: var(--color-primary);
|
|
|
margin-right: 15px;
|
|
|
}
|
|
|
+.section-title h2 i {
|
|
|
+ margin-right: 10px;
|
|
|
+}
|
|
|
+.section-title h2.button {
|
|
|
+ cursor: pointer;
|
|
|
+ color: var(--color-text);
|
|
|
+}
|
|
|
+.section-title h2.button.icon::before, .section-title h2.button.icon::after {
|
|
|
+ display: none;
|
|
|
+}
|
|
|
+.section-title h2.button.active.icon::before, .section-title h2.button.active.icon::after {
|
|
|
+ display: inline-block;
|
|
|
+}
|
|
|
+.section-title h2.button.active {
|
|
|
+ color: var(--color-primary);
|
|
|
+}
|
|
|
+.section-title h2.icon::before, .section-title h2.icon::after {
|
|
|
+ display: inline-block;
|
|
|
+ content: "";
|
|
|
+ margin: 0 10px;
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ background-size: 20px 20px;
|
|
|
+ background-image: url(/images/badge.png);
|
|
|
+ background-position: center;
|
|
|
+}
|
|
|
.section-title .sub-title {
|
|
|
color: #666;
|
|
|
padding-left: 15px;
|
|
|
border-left: 1px solid #ddd;
|
|
|
}
|
|
|
+
|
|
|
.section-more {
|
|
|
margin-left: auto;
|
|
|
color: #666;
|
|
@@ -177,31 +215,54 @@ nav {
|
|
|
gap: 30px;
|
|
|
margin-bottom: 40px;
|
|
|
}
|
|
|
+
|
|
|
.notice-item {
|
|
|
+ position: relative;
|
|
|
padding: 15px 0;
|
|
|
border-bottom: 1px dashed #ddd;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
align-items: center;
|
|
|
}
|
|
|
+.notice-item > div {
|
|
|
+ max-width: 86%;
|
|
|
+ flex: 1;
|
|
|
+ flex-direction: column;
|
|
|
+ margin-right: 15px;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+.notice-item p {
|
|
|
+ opacity: 0;
|
|
|
+ height: 0px;
|
|
|
+ margin-bottom: 0;
|
|
|
+ transition: all ease-in-out 0.25s;
|
|
|
+}
|
|
|
.notice-item:last-child {
|
|
|
border-bottom: none;
|
|
|
}
|
|
|
+.notice-item:hover .notice-title {
|
|
|
+ font-size: 20px;
|
|
|
+ opacity: 1;
|
|
|
+}
|
|
|
+.notice-item:hover p {
|
|
|
+ opacity: 1;
|
|
|
+ height: 85px;
|
|
|
+}
|
|
|
+
|
|
|
.notice-title {
|
|
|
- flex: 1;
|
|
|
- margin-right: 15px;
|
|
|
+ display: block;
|
|
|
+ width: 100%;
|
|
|
white-space: nowrap;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
- transition: color 0.3s;
|
|
|
-}
|
|
|
-.notice-title:hover {
|
|
|
- color: var(--color-primary);
|
|
|
+ transition: all 0.3s;
|
|
|
}
|
|
|
+
|
|
|
.notice-date {
|
|
|
color: #999;
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
+
|
|
|
.featured-image {
|
|
|
border-radius: 6px;
|
|
|
overflow: hidden;
|
|
@@ -245,7 +306,7 @@ nav {
|
|
|
.news-item:last-child {
|
|
|
border-bottom: none;
|
|
|
}
|
|
|
-.news-title {
|
|
|
+.news-item .title {
|
|
|
flex: 1;
|
|
|
margin-right: 15px;
|
|
|
white-space: nowrap;
|
|
@@ -253,10 +314,10 @@ nav {
|
|
|
text-overflow: ellipsis;
|
|
|
transition: color 0.3s;
|
|
|
}
|
|
|
-.news-title:hover {
|
|
|
+.news-item .title:hover {
|
|
|
color: var(--color-primary);
|
|
|
}
|
|
|
-.news-date {
|
|
|
+.news-item .date {
|
|
|
color: #999;
|
|
|
font-size: 14px;
|
|
|
}
|
|
@@ -265,30 +326,21 @@ nav {
|
|
|
.featured-section {
|
|
|
margin-bottom: 40px;
|
|
|
}
|
|
|
+
|
|
|
.featured-grid {
|
|
|
display: grid;
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
gap: 20px;
|
|
|
}
|
|
|
+
|
|
|
.featured-card {
|
|
|
position: relative;
|
|
|
border: 1px solid #eee;
|
|
|
border-radius: 5px;
|
|
|
overflow: hidden;
|
|
|
- transition:
|
|
|
- transform 0.3s,
|
|
|
- box-shadow 0.3s;
|
|
|
+ transition: transform 0.3s, box-shadow 0.3s;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
-.featured-card:hover {
|
|
|
- transform: translateY(-5px);
|
|
|
- box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
|
|
|
-}
|
|
|
-.featured-card img {
|
|
|
- width: 100%;
|
|
|
- height: 200px;
|
|
|
- object-fit: cover;
|
|
|
-}
|
|
|
.featured-card p {
|
|
|
position: absolute;
|
|
|
bottom: 0;
|
|
@@ -300,6 +352,15 @@ nav {
|
|
|
z-index: 1;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
+.featured-card img {
|
|
|
+ width: 100%;
|
|
|
+ height: 200px;
|
|
|
+ object-fit: cover;
|
|
|
+}
|
|
|
+.featured-card:hover {
|
|
|
+ transform: translateY(-5px);
|
|
|
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
|
|
|
+}
|
|
|
|
|
|
/* 公共服务区域 */
|
|
|
.services-section {
|
|
@@ -308,6 +369,12 @@ nav {
|
|
|
flex-direction: row;
|
|
|
align-items: center;
|
|
|
}
|
|
|
+.services-section .title {
|
|
|
+ width: 220px;
|
|
|
+ height: 220px;
|
|
|
+ z-index: 10;
|
|
|
+}
|
|
|
+
|
|
|
.services-grid {
|
|
|
flex: 1;
|
|
|
display: grid;
|
|
@@ -321,33 +388,26 @@ nav {
|
|
|
z-index: 0;
|
|
|
z-index: 0;
|
|
|
}
|
|
|
-.service-card h3 {
|
|
|
- font-size: 15px;
|
|
|
-}
|
|
|
+
|
|
|
.service-card {
|
|
|
background-color: #fff;
|
|
|
border-radius: 8px;
|
|
|
padding: 30px 20px;
|
|
|
margin-top: -15px;
|
|
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
|
|
|
- transition:
|
|
|
- transform 0.3s,
|
|
|
- box-shadow 0.3s;
|
|
|
-
|
|
|
+ transition: transform 0.3s, box-shadow 0.3s;
|
|
|
}
|
|
|
-.service-card:hover {
|
|
|
- transform: translateY(-5px);
|
|
|
- box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
|
|
|
+.service-card h3 {
|
|
|
+ font-size: 15px;
|
|
|
}
|
|
|
-.service-icon {
|
|
|
+.service-card .icon {
|
|
|
width: 40px;
|
|
|
height: 40px;
|
|
|
margin-bottom: 10px;
|
|
|
}
|
|
|
-.services-section .title {
|
|
|
- width: 220px;
|
|
|
- height: 220px;
|
|
|
- z-index: 10;
|
|
|
+.service-card:hover {
|
|
|
+ transform: translateY(-5px);
|
|
|
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
|
|
|
}
|
|
|
|
|
|
/* 底部区域 */
|
|
@@ -359,12 +419,14 @@ footer {
|
|
|
background-size: cover;
|
|
|
padding: 40px 0 20px;
|
|
|
}
|
|
|
+
|
|
|
.footer-links {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
margin-bottom: 20px;
|
|
|
flex-wrap: wrap;
|
|
|
}
|
|
|
+
|
|
|
.footer-link {
|
|
|
margin: 0 15px;
|
|
|
color: #eee;
|
|
@@ -372,26 +434,29 @@ footer {
|
|
|
.footer-link:hover {
|
|
|
color: #fcacb9;
|
|
|
}
|
|
|
+
|
|
|
.footer-info {
|
|
|
text-align: center;
|
|
|
color: #eee;
|
|
|
font-size: 14px;
|
|
|
line-height: 1.8;
|
|
|
}
|
|
|
+
|
|
|
.footer-select {
|
|
|
text-align: center;
|
|
|
margin-bottom: 20px;
|
|
|
+ color: var(--color-text-light);
|
|
|
}
|
|
|
.footer-select select {
|
|
|
- padding: 8px 15px;
|
|
|
- border: 1px solid #ddd;
|
|
|
- border-radius: 4px;
|
|
|
- background-color: #fff;
|
|
|
+ color: #666;
|
|
|
+ padding: 8px 45px 8px 15px;
|
|
|
+ border: 1px solid rgba(221, 221, 221, 0.6);
|
|
|
+ border-radius: 6px;
|
|
|
+ background-color: rgba(255, 255, 255, 0.25);
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
|
@media (max-width: 992px) {
|
|
|
-
|
|
|
.featured-image {
|
|
|
width: 100%;
|
|
|
height: 300px;
|
|
@@ -400,7 +465,6 @@ footer {
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
@media (max-width: 768px) {
|
|
|
.nav-list {
|
|
|
flex-wrap: wrap;
|
|
@@ -412,7 +476,6 @@ footer {
|
|
|
grid-template-columns: 1fr;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
@media (max-width: 576px) {
|
|
|
header nav {
|
|
|
position: absolute;
|
|
@@ -466,3 +529,5 @@ footer {
|
|
|
padding: 210px 30px 40px 30px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+/*# sourceMappingURL=style.css.map */
|