| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650 |
- body {
- color: #000;
- }
- a {
- color: #000;
- }
- a:hover {
- color: #941c1e;
- }
- .header {
- background: #941c1e url("/main/dist/websites/images/index/header-bg.png")
- no-repeat;
- background-size: cover;
- background-position: center;
- }
- .gallery {
- display: flex;
- justify-content: space-around;
- align-items: center;
- }
- .thumbnail {
- width: 100px;
- /* 初始大小 */
- transition: transform 0.3s ease;
- /* 平滑过渡效果 */
- }
- .thumbnail:hover {
- transform: scale(1.5);
- /* 鼠标经过时放大到1.5倍 */
- }
- .content-list-wrap,
- .banner-list {
- margin-bottom: 20px;
- }
- .banner-list,
- .banner-list img {
- width: 100%;
- height: 150px;
- object-fit: cover;
- }
- .swiper-wrapper {
- height: auto;
- }
- .mobile-nav-icon {
- top: calc(50% + 3px);
- }
- .header-top-bg {
- width: 100%;
- height: 14px;
- /* background-image: url('/main/dist/websites/images/gjjl/header-bg.png'); */
- }
- .header-top .header-top-left {
- /* width: 100%; */
- padding: 0 30px;
- float: left;
- }
- .header-top .header-top-right {
- /* width: 100%; */
- padding: 0 30px;
- float: right;
- }
- .header-top-left span:last-child,
- .header-top-right span:last-child {
- border: none;
- /* float: right; */
- }
- /* .header-top .header-top-left span:nth-last-of-type(1),
- .header-top .header-top-left span:nth-last-of-type(2),
- .header-top .header-top-left span:nth-last-of-type(3) {
- float: right;
- } */
- /* .header-top .header-top-left span:nth-last-of-type(3),.header-top .header-top-left span:nth-last-of-type(4){
-
- border: none;
- } */
- .header-top div span {
- padding: 0 10px;
- color: white;
- border-right: 1px solid #fff;
- }
- .header-top div span:first-child {
- padding-left: 0;
- }
- .header-top div span a {
- color: white;
- }
- .header-img {
- clear: both;
- display: flex;
- justify-content: center;
- align-items: center;
- margin-bottom: 10px;
- }
- .header-img .header-img-line {
- width: 1px;
- height: 50px;
- margin: 10px;
- background-color: white;
- }
- .header-img img {
- display: inline-block;
- width: auto;
- height: 50px;
- }
- /* 导航 */
- .header-nav {
- background-color: transparent;
- display: flex;
- justify-content: center;
- }
- /* .wrap{
- width: 100%;
- } */
- .header-nav > ul {
- /* width: 100%; */
- height: 40px;
- line-height: 40px;
- background-color: transparent;
- display: inline-block;
- }
- .header-nav > ul > li {
- width: 100px;
- float: left;
- display: flex;
- align-items: center;
- height: 40px;
- justify-content: center;
- }
- .header-nav > ul > li a {
- /* line-height: 50px; */
- font-size: 16px;
- }
- .nav-secondLevel {
- top: 40px;
- }
- .header-nav li:last-child {
- background: none;
- }
- .header-nav li:hover a {
- background-color: transparent;
- }
- .header-nav .nav-secondLevel {
- background-color: #c90303;
- }
- .header-nav .nav-secondLevel li a {
- border-color: #9f0d0d;
- background-color: #c90303;
- }
- .header-nav .nav-secondLevel li a:hover {
- color: #ffff00;
- background-color: #ff1111;
- }
- .header-nav .nav-threeLevel li a:hover {
- background-color: #ff1111;
- }
- .header-nav li a {
- position: relative;
- font-weight: normal;
- }
- .header-nav a i {
- width: 0;
- height: 0;
- border: 6px solid transparent;
- border-bottom-color: #fff;
- position: absolute;
- bottom: 0;
- left: 50%;
- transform: translateX(-50%);
- opacity: 0;
- }
- .header-nav li:hover a i {
- opacity: 1;
- }
- .content-row {
- width: 100%;
- }
- /* 主体 */
- .swiper-slide img {
- display: block;
- width: 100%;
- }
- .banner .slide-content {
- position: absolute;
- top: 0;
- left: 3rem;
- right: 0;
- bottom: 3rem;
- display: flex;
- justify-content: end;
- /* align-items: center; */
- text-align: left;
- flex-direction: column;
- color: #fff;
- opacity: 1;
- z-index: 1111;
- }
- .banner .slide-content h2 {
- width: 30%;
- font-size: 2rem;
- font-weight: normal;
- display: flex;
- align-items: center;
- }
- .banner .slide-content h2::before {
- content: "";
- width: 0.5rem;
- height: 0.5rem;
- margin-right: 1rem;
- border-radius: 50%;
- background-color: #fff;
- display: block;
- }
- .banner .slide-content p {
- margin-top: 1rem;
- width: 30%;
- font-size: 1rem;
- line-height: 30px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 4;
- overflow: hidden;
- }
- .tabs {
- width: 90%;
- display: flex;
- justify-content: center;
- align-items: center;
- margin: 20px auto;
- }
- .tab-button {
- width: 50%;
- background-color: #941c1e;
- border: 2px solid #941c1e;
- border-bottom: none;
- padding: 10px 20px;
- cursor: pointer;
- outline: none;
- font-size: 16px;
- color: #fff;
- position: relative;
- border-radius: 15px 15px 0 0;
- }
- .tab-button.active {
- background-color: #fff;
- color: #941c1e;
- border-radius: 15px 15px 0 0;
- }
- .tab-contents {
- width: 80%;
- margin: 3rem auto;
- padding: 20px;
- }
- .tab-content {
- display: none;
- }
- .tab-content.active {
- display: flex; /* 切换为 flex 布局时显示 */
- flex-wrap: wrap; /* 启用换行 */
- justify-content: space-between;
- }
- .school-container {
- width: 48%; /* 每个容器占 48% 的宽度,保证两列布局 */
- margin-bottom: 20px; /* 底部留出间距 */
- box-sizing: border-box;
- }
- .school-title {
- font-size: 24px;
- font-weight: bold;
- color: #0c3c91; /* 蓝色字体 */
- display: flex;
- align-items: center;
- }
- .school-icon {
- color: #941c1e; /* 红色图标 */
- margin-left: 10px;
- font-size: 20px;
- }
- .school-divider {
- border: none;
- border-top: 1px solid #000; /* 红色细横线 */
- margin: 10px 0;
- }
- .school-divider::after {
- content: "";
- width: 10%;
- height: 2px;
- background-color: #941c1e;
- display: block;
- }
- .school-content {
- width: 80%;
- margin: 0 auto;
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- }
- .school-course-list {
- list-style-type: none;
- padding: 0;
- margin: 0;
- flex: 1;
- }
- .school-course-list li {
- font-size: 16px;
- margin-bottom: 8px;
- list-style: disc;
- }
- .school-course-list a {
- text-decoration: none;
- color: #000;
- transition: color 0.3s ease;
- }
- .school-course-list a:hover {
- color: #941c1e; /* 悬停时变成红色 */
- }
- .school-course-image {
- display: block;
- width: 86%;
- margin: 0 auto 8px;
- height: auto;
- }
- /* 底部 */
- .footer {
- padding-top: 5px;
- background: #580b0c url(/main/dist/websites/images/index/stripe6.png)
- no-repeat center bottom;
- background-size: 50%;
- }
- .footer-white-line {
- width: 98%;
- height: 5px;
- background-color: #fff;
- margin: 0 auto;
- }
- .footer-logo {
- padding: 30px 0;
- width: 15%;
- margin: 0 auto;
- }
- .footer-logo img {
- width: 100%;
- }
- .footer-mesg {
- background-color: transparent;
- display: flex;
- justify-content: space-between;
- padding: 10px 0;
- width: 98%;
- margin: 0 auto;
- }
- .footer-mesg > div {
- width: 33%;
- /* height: 100%; */
- display: flex;
- padding-top: 10px;
- padding-left: 50px;
- text-align: left;
- justify-content: space-between;
- flex-direction: column;
- border-right: 1px solid #fff;
- }
- .footer-mesg > div:first-child p {
- line-height: 20px;
- }
- .footer-mesg > div:last-child {
- border: none;
- }
- .footer-mesg > div:nth-of-type(2) {
- padding-left: 0;
- }
- .footer-mesg > div:nth-of-type(2) h2 {
- text-align: center;
- }
- .footer-mesg .lxwm > div {
- display: flex;
- align-items: center;
- }
- .footer-mesg .lxwm img {
- width: 25px;
- height: 25px;
- margin-right: 10px;
- }
- .footer-mesg .gzwm {
- display: flex;
- justify-content: space-around;
- margin-bottom: 30px;
- /* flex-direction: row; */
- }
- .footer-mesg .gzwm p {
- text-align: center;
- }
- .footer-mesg .gzwm img {
- width: 100px;
- height: 100px;
- }
- .footer-mesg a {
- text-decoration: none;
- }
- .footer-mesg a:hover {
- color: white;
- }
- .footer-link {
- background-color: #c1d6e3;
- line-height: 36px;
- }
- .footer-link ul {
- display: inline-block;
- }
- .footer-link ul li {
- display: inline-block;
- margin-right: 15px;
- }
- /* 列表页 */
- .content-list-wrap {
- width: 95%;
- border: 1px solid #941c1e;
- margin: 20px auto;
- }
- .crumbs {
- background-color: #941c1e;
- color: #fff;
- }
- .crumbs a {
- color: #fff;
- }
- /* 目录页 */
- .catalog-title {
- border-color: #941c1e;
- }
- .mobile-nav-icon span {
- background-color: #fff;
- }
- .mobile-header-nav > ul {
- background-color: #941c1e;
- }
- .mobile-header-nav > ul > li {
- background-color: #941c1e;
- }
- /*
- .mobile-header-nav li a {
- border-color: #47ade8;
- }
- .mobile-header-nav .nav-secondLevel {
- background-color: #0099ff;
- }
- .mobile-header-nav .nav-threeLevel {
- background-color: #6dbedc;
- } */
- /* 响应式 */
- @media screen and (max-width: 1600px) {
- }
- @media screen and (max-width: 1280px) {
- }
- @media screen and (max-width: 1080px) {
- }
- @media screen and (max-width: 980px) {
- .mobile-nav-icon,
- .mobile-header-nav {
- display: none;
- }
- .header-top .wrap {
- width: 100%;
- }
- .header-img img {
- width: auto;
- }
- .footer-mesg {
- flex-direction: column;
- }
- .footer-mesg > div {
- width: 100%;
- border: none;
- padding-left: 10px;
- }
- }
- @media screen and (max-width: 780px) {
- .school-container {
- width: 98%; /* 每个容器占 48% 的宽度,保证两列布局 */
- margin-bottom: 20px; /* 底部留出间距 */
- box-sizing: border-box;
- }
- .mobile-nav-icon,
- .mobile-header-nav {
- display: block;
- }
- .header-nav {
- display: none;
- }
- .header-img {
- width: 90%;
- flex-direction: column;
- }
- .header-top-left,
- .header-top-right {
- display: none;
- }
- .mobile-nav-icon {
- right: 20px;
- }
- .header-nav {
- display: none;
- }
- .header-top .wrap {
- width: 100%;
- }
- .header-img {
- width: 90%;
- flex-direction: column;
- }
- .header-top-left,
- .header-top-right {
- display: none;
- }
- .header-img img {
- width: 80%;
- object-fit: contain;
- margin-bottom: unset;
- margin-top: 10px;
- }
- .mobile-nav-icon {
- right: 20px;
- }
- .wrap {
- width: 90%;
- }
- .footer-logo {
- width: 80%;
- padding: 30px 0 0 0;
- }
- }
- @media screen and (max-width: 640px) {
- .content {
- margin-top: 105px !important;
- }
- .banner .slide-content{
- left: 1rem;
- bottom: 1rem;
- }
- .banner .slide-content h2{
- font-size: 1.4rem;
- }
- .banner .slide-content p{
- line-height: 1rem;
- }
- .tab-contents{
- padding: 0;
- }
- }
|