|
@@ -0,0 +1,399 @@
|
|
|
+/**
|
|
|
+ * This style power by Mure.Yang (2024/05/11)
|
|
|
+
|
|
|
+ - Colors:
|
|
|
+ - black { color: rgb(31 41 55); }
|
|
|
+ - gray { color: rgb(156 163 175); }
|
|
|
+ - red { color: rgb(220 38 38); }
|
|
|
+ - green { color: rgb(22 163 74); }
|
|
|
+ - blue, .link, a.link { color: rgb(59 130 246); }
|
|
|
+ - prima { color: #e5ac00; }
|
|
|
+ */
|
|
|
+
|
|
|
+.hjcl-layout-top {
|
|
|
+ height: 35px; border-bottom: 1px solid #e8e8e8;
|
|
|
+ display: flex; justify-content: space-between;
|
|
|
+}
|
|
|
+.hjcl-layout-top > .wrapper { display: flex; align-items: center; justify-content: space-between; }
|
|
|
+
|
|
|
+.hjcl-layout-header {
|
|
|
+ position: relative; height: 100px;
|
|
|
+ display: flex; justify-content: space-between;
|
|
|
+}
|
|
|
+.hjcl-layout-header > .wrapper {
|
|
|
+ display: flex; align-items: center; justify-content: center;
|
|
|
+}
|
|
|
+.hjcl-layout-header .header-logo { display: block; height: 46px; margin: 0 40px;}
|
|
|
+
|
|
|
+.hjcl-layout-header .nav-menu,
|
|
|
+.hjcl-layout-header .nav-right-bar { display: none; }
|
|
|
+
|
|
|
+.hjcl-layout-header .nav { display: flex; align-items: center; }
|
|
|
+.hjcl-layout-header .nav-mask { display: none; }
|
|
|
+.hjcl-layout-header .nav-mask.active { display: block; }
|
|
|
+.hjcl-layout-header .nav li {
|
|
|
+ position: relative; font-size: 16px; margin: 0 40px;
|
|
|
+ display: flex; align-items: center; justify-content: center;
|
|
|
+ height: 100px;
|
|
|
+}
|
|
|
+.hjcl-layout-header .nav li.first-nav-item { display: none; }
|
|
|
+.hjcl-layout-header .nav li.middle-l { margin-right: 100px; }
|
|
|
+.hjcl-layout-header .nav li.middle-r { margin-left: 100px; }
|
|
|
+
|
|
|
+.hjcl-layout-header .nav li a { display: block; padding: 15px 0;color: #444; }
|
|
|
+.hjcl-layout-header .nav li a:hover,
|
|
|
+.hjcl-layout-header .nav li a.active {
|
|
|
+ color: #e5ac00; text-decoration: none;
|
|
|
+ background: url("/images/nav-active.png") no-repeat center bottom;
|
|
|
+}
|
|
|
+
|
|
|
+.hjcl-layout-header .nav li .navSub {
|
|
|
+ display: none;
|
|
|
+ position: absolute; left: 50%; top: 101px; z-index: 9901; background: #fff;
|
|
|
+ width: 100px; max-height: 300px; overflow-y: scroll;
|
|
|
+ margin-left: -50px; text-align: center; font-size: 14px;
|
|
|
+}
|
|
|
+.hjcl-layout-header .nav li:hover .navSub { display: block; }
|
|
|
+.hjcl-layout-header .nav li .navSub a { padding: 10px 0; background: none; }
|
|
|
+
|
|
|
+.hjcl-layout-header .nav li .nav-more { display: none; }
|
|
|
+
|
|
|
+.header-logo-link {
|
|
|
+ position: absolute; top: 50%; left: 50%;
|
|
|
+ display: flex; align-items: center; justify-content: center;
|
|
|
+ width: 120px; height: 46px; margin-top: -23px; margin-left: -60px;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+.hjcl-layout-container {}
|
|
|
+
|
|
|
+/* 首页 */
|
|
|
+/*height: 500px;*/
|
|
|
+.index-banner { position: relative; max-height: 500px; background: rgba(42, 49, 57, 1); }
|
|
|
+.index-banner .swiper-slide { background: transparent; }
|
|
|
+.index-banner .swiper-pagination { bottom: 20px; }
|
|
|
+.index-banner .swiper-pagination .swiper-pagination-bullet { width: 12px; height: 12px; }
|
|
|
+.index-banner .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
|
|
|
+ background: #e5ac00;
|
|
|
+}
|
|
|
+
|
|
|
+.index-banner .banner-img { max-width: 1440px; max-height: 500px; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+.hjcl-layout-footer { color: #777; height: 80px; font-size: 12px; background: #2a3138; transition: color 0.3s; }
|
|
|
+.hjcl-layout-footer a { color: #777; }
|
|
|
+.hjcl-layout-footer a:hover { color: #aaa; }
|
|
|
+
|
|
|
+.index-search-bar {
|
|
|
+ position: absolute; top: 0; left: 0; right: 0; bottom: 0;
|
|
|
+ z-index: 10; width: 450px; height: 40px; margin: auto;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding-top: 35px;
|
|
|
+}
|
|
|
+.index-search {
|
|
|
+ display: flex; justify-content: space-between; align-items: center;
|
|
|
+ width: 100%; height: 40px;
|
|
|
+ border-radius: 20px; background: #fff;
|
|
|
+}
|
|
|
+.index-search .index-search-input {
|
|
|
+ width: 100%;
|
|
|
+ font-size: 16px;
|
|
|
+ margin: 0 18px;
|
|
|
+ border: 0;
|
|
|
+}
|
|
|
+.index-search .index-search-btn {
|
|
|
+ display: flex; align-items: center; justify-content: center;
|
|
|
+ width: 60px; height: 36px; margin-right: 2px; border-radius: 18px; background: #f4c231;
|
|
|
+ transition: background-color 0.3s;
|
|
|
+}
|
|
|
+.index-search .index-search-btn:hover { background: #dbaf2c; }
|
|
|
+.index-search .index-search-btn:active { background: #c29b27; }
|
|
|
+
|
|
|
+.icon-search-white {
|
|
|
+ display: block;
|
|
|
+ width: 16px;
|
|
|
+ height: 16px;
|
|
|
+ background: url("/images/icon-search-white.png") no-repeat;
|
|
|
+}
|
|
|
+
|
|
|
+.sub-banner {
|
|
|
+ width: 100%;
|
|
|
+ height: 120px;
|
|
|
+ background: url("/images/sub-banner.jpg") repeat-x;
|
|
|
+}
|
|
|
+
|
|
|
+.article-list { margin-top: 10px; }
|
|
|
+.article-list .article-item {
|
|
|
+ display: flex; justify-content: space-between;
|
|
|
+ margin-bottom: 10px; padding: 20px; box-sizing: border-box;
|
|
|
+ background: #fff;
|
|
|
+}
|
|
|
+.article-list .article-item .article-thumb img { display: block; width: 220px; height: 220px; }
|
|
|
+
|
|
|
+.article-info { position: relative; width: 440px; height: 220px; padding: 10px 0; box-sizing: border-box; }
|
|
|
+.article-info .article-info-title { display: block; font-size: 18px; color: #333e46; margin-bottom: 10px; }
|
|
|
+.article-info .article-info-title:hover { color: #e5ac00; }
|
|
|
+.article-info .article-info-description {
|
|
|
+ font-size: 14px; color: #aaa; line-height: 24px;
|
|
|
+ display: -webkit-box; overflow: hidden; text-overflow: -o-ellipsis-lastline;
|
|
|
+ -webkit-line-clamp: 5; -webkit-box-orient: vertical; text-overflow: ellipsis;
|
|
|
+}
|
|
|
+.article-info .article-info-bottom { position: absolute; bottom: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; }
|
|
|
+.article-info .article-info-time { font-size: 12px; color: #aaa; }
|
|
|
+.article-info .article-info-btn {
|
|
|
+ display: flex; align-items: center; justify-content: center;
|
|
|
+ height: 32px; padding: 0 16px; border-radius: 16px;
|
|
|
+ font-size: 12px; color: #fff; background: #333e46; transition: background-color 0.3s;
|
|
|
+}
|
|
|
+.article-info .article-info-btn:hover { background-color: #45545e; }
|
|
|
+.article-info .article-info-btn:active { background-color: #3c4852; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+/* 新闻列表布局 一行三列 */
|
|
|
+.article-list.column { overflow: hidden; }
|
|
|
+.article-list.column .article-item { display: block; float: left; width: 220px; margin: 0 10px 20px; }
|
|
|
+.article-list.column .article-item .article-thumb img { width: 180px; height: 180px; }
|
|
|
+.article-list.column .article-item .article-info { width: auto; height: auto; padding-bottom: 0; }
|
|
|
+.article-list.column .article-item .article-info .article-info-title {
|
|
|
+ font-size: 14px; margin-bottom: 5px;
|
|
|
+ text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
|
|
|
+}
|
|
|
+.article-list.column .article-item .article-info .article-info-bottom { display: none; }
|
|
|
+.article-list.column .article-item .article-info .article-info-description { font-size: 12px; line-height: 18px; height: 36px; -webkit-line-clamp: 2; }
|
|
|
+/* **************** */
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+.article-detail {}
|
|
|
+.article-detail-title { display: flex; align-items: end; margin-bottom: 10px; }
|
|
|
+.article-detail-subtitle {
|
|
|
+ display: flex; align-items: center; justify-content: space-between;
|
|
|
+ font-size: 14px; color: #aaa;
|
|
|
+}
|
|
|
+
|
|
|
+.article-video-bar { text-align: center; }
|
|
|
+.article-video { width: 500px; height: 320px; margin: 20px auto; }
|
|
|
+
|
|
|
+.article-category ul li { margin-bottom: 20px; }
|
|
|
+.article-category ul li:last-child { margin-bottom: 0; }
|
|
|
+.article-category ul li a.active { color: #e5ac00; font-weight: bold; }
|
|
|
+
|
|
|
+.article-category.horizontal ul li { display: inline-block; margin: 0 10px 10px 0; }
|
|
|
+
|
|
|
+.index-section { padding: 30px 0; }
|
|
|
+.index-section-hd { margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center }
|
|
|
+.index-section-hd .index-section-title { position: relative; padding-left: 20px; box-sizing: border-box; }
|
|
|
+.index-section-hd .index-section-title:before {
|
|
|
+ display: block; content: ''; width: 4px; height: 100%; background: #f4c231;
|
|
|
+ position: absolute; left: 0; top: 0;
|
|
|
+}
|
|
|
+.index-section-hd .index-section-title .index-section-maintitle { font-size: 18px; }
|
|
|
+.index-section-hd .index-section-title .index-section-subtitle { font-size: 12px; color: #aaa; }
|
|
|
+.index-section-hd index-section-more a { font-size: 14px; color: #aaa; }
|
|
|
+
|
|
|
+.index-article-list { overflow: hidden; }
|
|
|
+.index-article-list .index-article-item { float: left; width: 250px; margin: 10px; }
|
|
|
+.index-article-list .index-article-item a { display: block; text-align: center; }
|
|
|
+.index-article-list .index-article-item .article-item-thumb { display: block; width: 250px; height: 250px; text-align: center; }
|
|
|
+.index-article-list .index-article-item .article-item-title { margin-top: 10px; font-size: 14px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
|
|
|
+
|
|
|
+.footer-menutabs {
|
|
|
+ display: none; align-items: center; background: #2a3138;
|
|
|
+ position: fixed; bottom: 0; z-index: 6000; width: 100%; height: 60px;
|
|
|
+}
|
|
|
+.footer-menutabs .footer-menutabs-item {
|
|
|
+ flex: 1; text-align: center; font-size: 12px; color: #fff;
|
|
|
+ height: 60px; padding: 8px 0; box-sizing: border-box;
|
|
|
+ transition: background-color 0.3s;
|
|
|
+}
|
|
|
+.footer-menutabs .footer-menutabs-item > img { display: block; width: 22px; height: 22px; margin: 0 auto 5px; }
|
|
|
+.footer-menutabs .footer-menutabs-item:active,
|
|
|
+.footer-menutabs .footer-menutabs-item.active { background: #21262b; }
|
|
|
+
|
|
|
+@media (max-width: 1199px) {
|
|
|
+ .hjcl-layout-header, .hjcl-layout-header .nav li { height: 80px; }
|
|
|
+ .hjcl-layout-header .nav li .navSub { top: 81px; }
|
|
|
+
|
|
|
+ .header-logo-link, .hjcl-layout-header .header-logo { height: 40px; }
|
|
|
+ .header-logo-link { margin-top: -20px; }
|
|
|
+ .hjcl-layout-header .nav li { font-size: 14px; }
|
|
|
+ .hjcl-layout-header .nav li.middle-l { margin-right: 80px; }
|
|
|
+ .hjcl-layout-header .nav li.middle-r { margin-left: 80px; }
|
|
|
+
|
|
|
+
|
|
|
+ .index-article-list .index-article-item { width: 210px; }
|
|
|
+ .index-article-list .index-article-item .article-item-thumb { width: 210px; height: 210px; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ .index-banner, .index-banner .banner-img { max-height: 400px; }
|
|
|
+ .index-search-bar { padding-top: 30px; }
|
|
|
+ .sub-banner { height: 100px; }
|
|
|
+
|
|
|
+ .article-list .article-item .article-thumb img { width: 180px; height: 180px; }
|
|
|
+ .article-info { width: 360px; height: 180px; }
|
|
|
+
|
|
|
+ .article-list.column .article-item { width: 180px; padding: 10px; }
|
|
|
+ .article-list.column .article-item .article-thumb img { width: 160px; height: 160px; }
|
|
|
+}
|
|
|
+@media (max-width: 960px) {
|
|
|
+ .hjcl-layout-header, .hjcl-layout-header .nav li { height: 60px; }
|
|
|
+ .hjcl-layout-header .nav li .navSub { top: 61px; }
|
|
|
+
|
|
|
+ .header-logo-link, .hjcl-layout-header .header-logo { height: 30px; }
|
|
|
+ .header-logo-link { margin-top: -15px; }
|
|
|
+ .hjcl-layout-header .nav li { margin: 0 20px; }
|
|
|
+ .hjcl-layout-header .nav li.middle-l { margin-right: 60px; }
|
|
|
+ .hjcl-layout-header .nav li.middle-r { margin-left: 60px; }
|
|
|
+ .hjcl-layout-header .nav li a:hover, .hjcl-layout-header .nav li a.active { background: none; }
|
|
|
+
|
|
|
+ .index-article-list .index-article-item { width: 160px; }
|
|
|
+ .index-article-list .index-article-item .article-item-thumb { width: 160px; height: 160px; }
|
|
|
+
|
|
|
+ .index-banner, .index-banner .banner-img { max-height: 300px; }
|
|
|
+ .index-search-bar { padding-top: 30px; }
|
|
|
+ .index-search .index-search-input { font-size: 14px; }
|
|
|
+ .sub-banner { height: 80px; }
|
|
|
+
|
|
|
+ .article-category ul li { margin-bottom: 10px; }
|
|
|
+ .article-list .article-item .article-thumb img { width: 140px; height: 140px; }
|
|
|
+ .article-info { width: 280px; height: 140px; }
|
|
|
+ .article-info .article-info-title { font-size: 16px; }
|
|
|
+ .article-info .article-info-btn { height: 32px; padding: 0 16px; }
|
|
|
+ .article-info .article-info-description { -webkit-line-clamp: 2; }
|
|
|
+
|
|
|
+ .article-list.column .article-item { width: 220px; }
|
|
|
+ .article-list.column .article-item .article-thumb img { width: 200px; height: 200px; }
|
|
|
+
|
|
|
+ .article-detail-subtitle, .sub-section-container .sub-section-container-title a { font-size: 12px; }
|
|
|
+ .article-video { width: 400px; height: 280px;}
|
|
|
+}
|
|
|
+@media (max-width: 767px) {
|
|
|
+
|
|
|
+ body { padding-top: 60px; }
|
|
|
+ .hjcl-layout-top { display: none; }
|
|
|
+
|
|
|
+ .hjcl-layout-header, .hjcl-layout-header .nav { position: fixed; z-index: 8000; width: 100%; background: #fff; }
|
|
|
+ .hjcl-layout-header { top: 0; z-index: 8001; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ .hjcl-layout-header .nav-right-bar,
|
|
|
+ .hjcl-layout-header .nav-menu {
|
|
|
+ position: absolute; display: block;
|
|
|
+ }
|
|
|
+ .hjcl-layout-header .nav-menu {
|
|
|
+ left: 20px; cursor: pointer; opacity: 0.4; transition: opacity 0.3;
|
|
|
+ width: 24px; height: 24px; background: url("/images/icon-menu.png") no-repeat; background-size: 100%;
|
|
|
+ }
|
|
|
+
|
|
|
+ .hjcl-layout-header .nav-right-bar {
|
|
|
+ right: 10px;
|
|
|
+ }
|
|
|
+ .hjcl-layout-header .nav-menu:hover { opacity: 0.6; }
|
|
|
+ .hjcl-layout-header .nav-menu:active, .hjcl-layout-header .nav-menu.active { opacity: 0.8; }
|
|
|
+
|
|
|
+
|
|
|
+ /* 移动端导航 上下排版 */
|
|
|
+ /*.hjcl-layout-header .nav {*/
|
|
|
+ /* top: 60px; z-index: 8000; display: block; border-top: 1px solid #eee; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
|
|
|
+ /* height: 0; opacity: 0; transition: height 0.3s, opacity 0.3s;*/
|
|
|
+ /*}*/
|
|
|
+ /*.hjcl-layout-header .nav.active { height: auto; opacity: 1; }*/
|
|
|
+ /*.hjcl-layout-header .nav.active li { display: block; }*/
|
|
|
+
|
|
|
+ /* 移动端导航 左右排版 */
|
|
|
+ .hjcl-layout-header .nav {
|
|
|
+ display: none;
|
|
|
+ top: 0; left: 0;
|
|
|
+ /*width: 220px;*/
|
|
|
+ width: 75%;
|
|
|
+ height: 100vh; z-index: 9900;
|
|
|
+ }
|
|
|
+ .hjcl-layout-header .nav.active { display: block; }
|
|
|
+
|
|
|
+ .hjcl-layout-header .nav li.first-nav-item,
|
|
|
+ .hjcl-layout-header .nav.active li.first-nav-item {
|
|
|
+ display: flex; align-items: center; justify-content: start;
|
|
|
+ height: 60px; font-size: 18px; font-weight: bold;
|
|
|
+ padding: 0 20px; box-sizing: border-box;
|
|
|
+ }
|
|
|
+
|
|
|
+ .hjcl-layout-header .nav-mask {
|
|
|
+ position: fixed; left: 0; top: 0; z-index: 9899;
|
|
|
+ width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5);
|
|
|
+ }
|
|
|
+ /*display: flex; align-items: center; justify-content: space-between;*/
|
|
|
+ .hjcl-layout-header .nav li,
|
|
|
+ .hjcl-layout-header .nav.active li { display: block; height: auto; }
|
|
|
+ .hjcl-layout-header .nav li a { padding: 5px 0; }
|
|
|
+ .hjcl-layout-header .nav li:hover .navSub { display: none; }
|
|
|
+ .hjcl-layout-header .nav li.active .navSub { display: block; }
|
|
|
+ .hjcl-layout-header .nav li .nav-more {
|
|
|
+ display: flex; align-items: center; justify-content: center;
|
|
|
+ width: 22px; cursor: pointer; font-size: 18px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .hjcl-layout-header .nav li {
|
|
|
+ display: none; border-bottom: 1px solid #eee; margin: 0;
|
|
|
+ padding: 15px 20px; box-sizing: border-box;
|
|
|
+ font-size: 16px;
|
|
|
+ }
|
|
|
+ .hjcl-layout-header .nav li:last-child { border-bottom: 0; }
|
|
|
+ .hjcl-layout-header .nav li.middle-l, .hjcl-layout-header .nav li.middle-r { margin: 0; }
|
|
|
+ .hjcl-layout-header .nav li a:hover, .hjcl-layout-header .nav li a.active { background: none; }
|
|
|
+
|
|
|
+ .hjcl-layout-header .nav li .navSub { display: none; }
|
|
|
+ .hjcl-layout-header .nav li .navSub.active { display: block; }
|
|
|
+
|
|
|
+ .hjcl-layout-header .nav li .navSub, .hjcl-layout-header .nav li:hover .navSub {
|
|
|
+ position: initial; width: 100%; text-align: left;
|
|
|
+ margin-left: 0; padding: 10px 0; margin-bottom: 15px;
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+ .hjcl-layout-header .nav li .navSub a { padding: 10px 0; }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ .hjcl-layout-top > .wrapper { padding: 0 15px; box-sizing: border-box; }
|
|
|
+
|
|
|
+ .index-banner, .index-banner .banner-img { max-height: 200px; }
|
|
|
+ .index-search-bar { display: none; padding-top: 0; }
|
|
|
+ .index-search .index-search-input { font-size: 12px; }
|
|
|
+ .sub-banner { height: 60px; }
|
|
|
+
|
|
|
+ .index-section { padding: 20px; }
|
|
|
+ .index-section-hd .index-section-title .index-section-maintitle { font-size: 16px; }
|
|
|
+ .index-section-hd .index-section-more { font-size: 12px; }
|
|
|
+ .index-subbanner { display: none; }
|
|
|
+
|
|
|
+ .index-article-list .index-article-item { width: 50%; margin: 0 0 10px; padding: 0 10px; box-sizing: border-box; }
|
|
|
+ .index-article-list .index-article-item .article-item-thumb { width: 100%; height: 100%; }
|
|
|
+
|
|
|
+ .article-list .article-item { padding: 10px; }
|
|
|
+ .article-list .article-item .article-thumb { float: left; }
|
|
|
+ .article-list .article-item .article-thumb img { width: 80px; height: 80px; }
|
|
|
+ .article-info { float: left; width: 100%; height: auto; margin-left: -80px; padding: 0 0 0 90px; box-sizing: border-box; }
|
|
|
+ .article-info .article-info-title { margin-bottom: 5px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
|
|
|
+ .article-info .article-info-description { -webkit-line-clamp: 1; }
|
|
|
+ .article-info .article-info-btn { display: none; }
|
|
|
+
|
|
|
+ .article-list.column .article-item { display: flex; float: none; width: 100%; justify-content: start; }
|
|
|
+ .article-list.column .article-item .article-thumb img { width: 80px; height: 80px; }
|
|
|
+ .article-list.column .article-item .article-info .article-info-description { -webkit-line-clamp: 3; }
|
|
|
+
|
|
|
+ .hjcl-layout-footer { height: 35px; }
|
|
|
+ .hjcl-layout-footer .footer-nav { display: none; }
|
|
|
+
|
|
|
+ .article-video { width: 80%; max-height: 280px;}
|
|
|
+}
|
|
|
+@media (max-width: 479px) {
|
|
|
+ body { padding-bottom: 60px; }
|
|
|
+ .footer-menutabs { display: flex; }
|
|
|
+}
|