优化企业网站功能
This commit is contained in:
@@ -1478,6 +1478,167 @@ p {
|
||||
|
||||
|
||||
|
||||
/*===== news-center-area =====*/
|
||||
.news-center-area {
|
||||
background-color: var(--light-3);
|
||||
padding-top: 100px;
|
||||
padding-bottom: 80px;
|
||||
}
|
||||
@media only screen and (min-width: 768px) and (max-width: 991px) {
|
||||
.news-center-area {
|
||||
padding-top: 80px;
|
||||
padding-bottom: 60px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.news-center-area {
|
||||
padding-top: 60px;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
}
|
||||
.news-center-area .news-center-tabs {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.news-center-area .news-center-tabs .nav-tabs {
|
||||
border: none;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.news-center-area .news-center-tabs .nav-link {
|
||||
border: none;
|
||||
color: var(--dark-1);
|
||||
font-weight: 600;
|
||||
background-color: var(--white);
|
||||
padding: 10px 22px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.news-center-area .news-center-tabs .nav-link:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
.news-center-area .news-center-tabs .nav-link.active {
|
||||
background-color: var(--primary);
|
||||
color: var(--white);
|
||||
}
|
||||
.news-center-area .news-center-item {
|
||||
margin-top: 30px;
|
||||
background: var(--white);
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
height: calc(100% - 30px);
|
||||
}
|
||||
.news-center-area .news-center-item .image {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
min-height: 160px;
|
||||
background: var(--light-2);
|
||||
}
|
||||
.news-center-area .news-center-item .image img {
|
||||
width: 100%;
|
||||
height: 180px;
|
||||
object-fit: cover;
|
||||
transition: all 0.4s ease;
|
||||
}
|
||||
.news-center-area .news-center-item .image .meta-details {
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
bottom: 12px;
|
||||
background-color: var(--primary);
|
||||
color: var(--white);
|
||||
padding: 4px 12px;
|
||||
border-radius: 20px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.news-center-area .news-center-item .content-body {
|
||||
padding: 18px 16px 20px;
|
||||
}
|
||||
.news-center-area .news-center-item .content-body .title {
|
||||
margin: 0 0 10px 0;
|
||||
font-size: 16px;
|
||||
}
|
||||
.news-center-area .news-center-item .content-body .title a {
|
||||
color: var(--black);
|
||||
}
|
||||
.news-center-area .news-center-item .content-body .title a:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
.news-center-area .news-center-item .content-body p {
|
||||
color: var(--dark-3);
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
.news-center-area .news-center-item:hover .image .thumb {
|
||||
transform: scale(1.08);
|
||||
}
|
||||
.news-center-area .news-center-more {
|
||||
text-align: center;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
/*===== news-list-page =====*/
|
||||
.news-list-page {
|
||||
padding-top: 0;
|
||||
}
|
||||
.news-list-page .section-title-five {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.news-list-page .news-item-meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px 16px;
|
||||
margin-top: 12px;
|
||||
color: var(--gray-1);
|
||||
font-size: 12px;
|
||||
}
|
||||
.news-list-page .news-item-meta span {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
.news-list-page .news-item-meta i {
|
||||
color: var(--primary);
|
||||
font-size: 14px;
|
||||
}
|
||||
.news-list-pager {
|
||||
margin-top: 40px;
|
||||
margin-bottom: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
.news-list-pager .yz-pagination {
|
||||
display: inline-flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.news-list-pager .yz-page {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 38px;
|
||||
height: 38px;
|
||||
padding: 0 12px;
|
||||
border: 1px solid var(--gray-4);
|
||||
border-radius: 6px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: var(--dark-2);
|
||||
background: var(--white);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
.news-list-pager .yz-page:hover {
|
||||
color: var(--primary);
|
||||
border-color: var(--primary);
|
||||
}
|
||||
.news-list-pager .yz-page.current {
|
||||
background: var(--primary);
|
||||
border-color: var(--primary);
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
/*===== latest-news-area =====*/
|
||||
.latest-news-area {
|
||||
background: var(--white);
|
||||
@@ -1905,3 +2066,400 @@ p {
|
||||
color: var(--white);
|
||||
background-color: var(--primary-dark);
|
||||
}
|
||||
|
||||
/*===== article-detail-area =====*/
|
||||
.article-detail-area {
|
||||
padding-bottom: 80px;
|
||||
background-color: var(--light-3);
|
||||
}
|
||||
.article-detail-breadcrumb-wrap {
|
||||
padding-top: 120px;
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
@media (max-width: 991px) {
|
||||
.article-detail-breadcrumb-wrap {
|
||||
padding-top: 100px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
}
|
||||
.article-detail-breadcrumb {
|
||||
justify-content: flex-start;
|
||||
margin-bottom: 0;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
font-size: 14px;
|
||||
}
|
||||
.article-detail-breadcrumb .breadcrumb-item a {
|
||||
color: var(--dark-3);
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
.article-detail-breadcrumb .breadcrumb-item a:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
.article-detail-breadcrumb .breadcrumb-item.active {
|
||||
color: var(--black);
|
||||
font-weight: 500;
|
||||
max-width: 420px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.article-detail-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
|
||||
color: var(--gray-2);
|
||||
}
|
||||
.article-detail-card {
|
||||
background: var(--white);
|
||||
border-radius: 12px;
|
||||
box-shadow: var(--shadow-2);
|
||||
padding: 40px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.article-detail-card {
|
||||
padding: 24px 20px;
|
||||
}
|
||||
}
|
||||
.article-detail-thumb {
|
||||
margin-bottom: 28px;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.article-detail-thumb .article-cover {
|
||||
width: 100%;
|
||||
max-height: 420px;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
.article-detail-title {
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
line-height: 1.35;
|
||||
color: var(--black);
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.article-detail-title {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
.article-detail-meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 16px 24px;
|
||||
padding-bottom: 24px;
|
||||
margin-bottom: 28px;
|
||||
border-bottom: 1px solid var(--gray-4);
|
||||
color: var(--dark-3);
|
||||
font-size: 14px;
|
||||
}
|
||||
.article-detail-meta span {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
.article-detail-meta i {
|
||||
color: var(--primary);
|
||||
font-size: 16px;
|
||||
}
|
||||
.article-detail-content {
|
||||
color: var(--dark-2);
|
||||
font-size: 16px;
|
||||
line-height: 1.85;
|
||||
word-break: break-word;
|
||||
}
|
||||
.article-detail-content p {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.article-detail-content img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
border-radius: 8px;
|
||||
margin: 12px 0 20px;
|
||||
}
|
||||
.article-detail-content h2,
|
||||
.article-detail-content h3,
|
||||
.article-detail-content h4 {
|
||||
color: var(--black);
|
||||
font-weight: 700;
|
||||
margin: 28px 0 14px;
|
||||
}
|
||||
.article-detail-content h2 {
|
||||
font-size: 24px;
|
||||
}
|
||||
.article-detail-content h3 {
|
||||
font-size: 20px;
|
||||
}
|
||||
.article-detail-content h4 {
|
||||
font-size: 18px;
|
||||
}
|
||||
.article-detail-content ul,
|
||||
.article-detail-content ol {
|
||||
margin: 0 0 16px 20px;
|
||||
padding: 0;
|
||||
}
|
||||
.article-detail-content li {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.article-detail-content blockquote {
|
||||
margin: 20px 0;
|
||||
padding: 16px 20px;
|
||||
border-left: 4px solid var(--primary);
|
||||
background: var(--primary-light);
|
||||
border-radius: 0 8px 8px 0;
|
||||
color: var(--dark-2);
|
||||
}
|
||||
.article-detail-content a {
|
||||
color: var(--primary);
|
||||
}
|
||||
.article-detail-content a:hover {
|
||||
color: var(--primary-dark);
|
||||
}
|
||||
.article-detail-content table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.article-detail-content table th,
|
||||
.article-detail-content table td {
|
||||
border: 1px solid var(--gray-4);
|
||||
padding: 10px 12px;
|
||||
}
|
||||
.article-detail-back {
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.article-detail-back .btn i {
|
||||
margin-right: 6px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/*===== 首页产品与解决方案展示 =====*/
|
||||
.product-showcase-grid {
|
||||
row-gap: 24px;
|
||||
}
|
||||
.product-showcase-card {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
min-height: 320px;
|
||||
padding: 36px 32px 30px;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--gray-4);
|
||||
border-radius: 16px;
|
||||
background: var(--white);
|
||||
box-shadow: var(--shadow-2);
|
||||
transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
|
||||
}
|
||||
.product-showcase-card::after {
|
||||
position: absolute;
|
||||
right: -46px;
|
||||
bottom: -58px;
|
||||
width: 180px;
|
||||
height: 180px;
|
||||
border-radius: 50%;
|
||||
background: var(--primary-light);
|
||||
content: "";
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
.product-showcase-card:hover {
|
||||
transform: translateY(-8px);
|
||||
border-color: var(--primary);
|
||||
box-shadow: var(--shadow-5);
|
||||
}
|
||||
.product-showcase-card:hover::after {
|
||||
transform: scale(1.25);
|
||||
}
|
||||
.product-showcase-card--primary {
|
||||
border-color: var(--primary);
|
||||
background: var(--gradient-1);
|
||||
}
|
||||
.product-showcase-card--primary::after {
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
}
|
||||
.product-showcase-icon,
|
||||
.product-showcase-tag,
|
||||
.product-showcase-card h3,
|
||||
.product-showcase-card p,
|
||||
.product-showcase-link {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.product-showcase-icon {
|
||||
display: flex;
|
||||
width: 52px;
|
||||
height: 52px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 26px;
|
||||
border-radius: 14px;
|
||||
background: var(--primary-light);
|
||||
color: var(--primary);
|
||||
font-size: 24px;
|
||||
}
|
||||
.product-showcase-tag {
|
||||
display: inline-block;
|
||||
margin-bottom: 12px;
|
||||
color: var(--primary);
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
}
|
||||
.product-showcase-card h3 {
|
||||
margin-bottom: 14px;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.product-showcase-card p {
|
||||
margin-bottom: 25px;
|
||||
color: var(--dark-3);
|
||||
line-height: 1.75;
|
||||
}
|
||||
.product-showcase-link,
|
||||
.solution-showcase-link {
|
||||
color: var(--primary);
|
||||
font-weight: 700;
|
||||
}
|
||||
.product-showcase-link i,
|
||||
.solution-showcase-link i {
|
||||
margin-left: 6px;
|
||||
font-size: 12px;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
.product-showcase-link:hover i,
|
||||
.solution-showcase-link:hover i {
|
||||
transform: translateX(4px);
|
||||
}
|
||||
.product-showcase-card--primary .product-showcase-icon {
|
||||
background: rgba(255, 255, 255, 0.16);
|
||||
color: var(--white);
|
||||
}
|
||||
.product-showcase-card--primary .product-showcase-tag,
|
||||
.product-showcase-card--primary .product-showcase-link,
|
||||
.product-showcase-card--primary h3,
|
||||
.product-showcase-card--primary p {
|
||||
color: var(--white);
|
||||
}
|
||||
.solution-area {
|
||||
padding: 100px 0;
|
||||
background: var(--light-3);
|
||||
}
|
||||
.solution-showcase-card {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
padding: 38px 34px 32px;
|
||||
border: 1px solid var(--gray-4);
|
||||
border-radius: 16px;
|
||||
background: var(--white);
|
||||
box-shadow: var(--shadow-2);
|
||||
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
||||
}
|
||||
.solution-showcase-card:hover {
|
||||
transform: translateY(-8px);
|
||||
box-shadow: var(--shadow-5);
|
||||
}
|
||||
.solution-showcase-card--featured {
|
||||
border-color: var(--primary);
|
||||
}
|
||||
.solution-showcase-index {
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
right: 28px;
|
||||
color: var(--gray-3);
|
||||
font-size: 42px;
|
||||
font-weight: 800;
|
||||
line-height: 1;
|
||||
}
|
||||
.solution-showcase-icon {
|
||||
display: flex;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 28px;
|
||||
border-radius: 50%;
|
||||
background: var(--primary-light);
|
||||
color: var(--primary);
|
||||
font-size: 22px;
|
||||
}
|
||||
.solution-showcase-card h3 {
|
||||
margin-bottom: 14px;
|
||||
font-size: 23px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.solution-showcase-card p {
|
||||
min-height: 78px;
|
||||
margin-bottom: 20px;
|
||||
color: var(--dark-3);
|
||||
line-height: 1.75;
|
||||
}
|
||||
.solution-showcase-card ul {
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
.solution-showcase-card li {
|
||||
margin-bottom: 10px;
|
||||
color: var(--dark-2);
|
||||
}
|
||||
.solution-showcase-card li::before {
|
||||
display: inline-block;
|
||||
width: 18px;
|
||||
color: var(--primary);
|
||||
content: "✓";
|
||||
font-weight: 700;
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.product-showcase-card,
|
||||
.solution-showcase-card {
|
||||
min-height: 0;
|
||||
padding: 30px 24px;
|
||||
}
|
||||
.solution-area {
|
||||
padding: 70px 0;
|
||||
}
|
||||
.solution-showcase-card p {
|
||||
min-height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.page-inner-page.about-five,
|
||||
.page-inner-page.contact-section {
|
||||
padding-top: 0;
|
||||
padding-bottom: 80px;
|
||||
background-color: var(--light-3);
|
||||
}
|
||||
.page-inner-page.contact-section {
|
||||
background-color: var(--white);
|
||||
}
|
||||
.onepage-content {
|
||||
color: var(--dark-2);
|
||||
font-size: 16px;
|
||||
line-height: 1.85;
|
||||
word-break: break-word;
|
||||
}
|
||||
.onepage-content p {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.onepage-content img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
border-radius: 8px;
|
||||
margin: 12px 0 20px;
|
||||
}
|
||||
.onepage-content h2,
|
||||
.onepage-content h3,
|
||||
.onepage-content h4 {
|
||||
color: var(--black);
|
||||
font-weight: 700;
|
||||
margin: 28px 0 14px;
|
||||
}
|
||||
.onepage-content a {
|
||||
color: var(--primary);
|
||||
}
|
||||
.onepage-content a:hover {
|
||||
color: var(--primary-dark);
|
||||
}
|
||||
.about-five-content .onepage-content {
|
||||
margin-top: 24px;
|
||||
}
|
||||
.contact-page-content {
|
||||
margin-bottom: 24px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user