| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118 |
- body {
- color: #000;
- font-size: 16px;
- }
- a {
- color: #000;
- }
- a:hover {
- color: #ff1111;
- text-decoration: none;
- }
- .wrap-larger {
- width: 1320px;
- margin: 0 auto;
- }
- .header-top {
- width: 100%;
- height: 30px;
- line-height: 30px;
- position: relative;
- background-color: #d7cfcf;
- border: 1px solid #bbb;
- border-left: 0;
- border-right: 0;
- padding: 0 15px;
- color: #fff;
- }
- .header-top .wrap {
- position: relative;
- }
- .header-img {
- position: relative;
- }
- .header-img img {
- width: auto;
- height: 90px;
- }
- .header-right {
- float: right;
- }
- .header-right a:hover{
- color: #ac3b3b;
- }
- /* 导航 */
- .header{
- box-shadow: 0 0 12px rgba(0, 0, 0, .4);
- }
- .header>.wrap{
- position: relative;
- }
- .header-nav {
- position: absolute;
- right: 0;
- top: 50%;
- transform: translateY(-50%);
- background-color: transparent;
- z-index: 101;
- }
- .header-nav {
- width: 50%;
- }
- .header-nav ul li {
- flex: auto;
- }
- .header-nav ul li:last-child a{
- height: 44px;
- line-height: 44px;
- background-color: #ac3b3b;
- color: #fff;
- margin-top: 23px;
- margin-left: 20px;
- border-radius: 4px;
- }
- .header-nav ul li:last-child a:hover{
- background-color: #C90303;
- }
- .nav-secondLevel {
- top: 90px;
- }
- .header-nav .nav-secondLevel li {
- width: 33.33%;
- margin-top: 10px;
- }
- .header-nav li a {
- box-sizing: content-box;
- position: relative;
- line-height: 90px;
- height: 90px;
- color: #000;
- }
- .header-nav li:hover>a {
- background-color: #ac3b3b;
- color: #fff;
- }
- .header-nav .nav-secondLevel li a{
- background-image: none;
- padding-bottom: 0;
- text-align: left;
- }
- .header-nav .nav-secondLevel li a:hover{
- background-color: rgba(233, 217, 217, 1) !important;
- }
- .header-nav>ul>li:hover .nav-secondLevel {
- width: 2400px;
- position: fixed;
- left: -1200px;
- background-color: #e8e8e8;
- min-height: 150px;
- padding: 10px 0 20px;
- }
- .header-nav>ul>li:hover .nav-secondLevel .wrap {
- background: url(../images/tsg/nav.jpg) no-repeat right bottom;
- background-size: 300px;
- }
- .header-nav>ul>li:hover .nav-secondLevel .nav-secondLevel-wrap {
- display: flex;
- flex-wrap: wrap;
- width: 700px;
- margin: 0 auto;
- }
- .header-nav .nav-secondLevel li a {
- background: transparent url(../images/tsg/icon/dot.png) no-repeat 8px center;
- background-size: 6px;
- border: 0;
- color: #ac3b3b;
- padding: 0 20px;
- font-weight: normal;
- }
- .header-nav .nav-secondLevel li:last-child a {
- margin: 0;
- background-color: transparent;
- line-height: 40px;
- color: #ac3b3b;
- }
- .header-nav .nav-secondLevel li:last-child:hover a {
- background-color: transparent;
- }
- /* 三级 */
- .header-nav .nav-threeLevel {
- position: relative;
- top: 0;
- left: 0;
- width: 100%;
- background-color: transparent;
- font-size: 14px;
- display: block !important;
- }
- .header-nav .nav-threeLevel li {
- width: 100% !important;
- margin-top: 0 !important;
- }
- .header-nav .nav-threeLevel li a {
- background: none !important;
- color: #000 !important;
- }
- .header-nav .nav-secondLevel li a span {
- display: none;
- }
- /* 主体 */
- .content {
- /* margin-top: 30px; */
- }
- /* 馆藏资源搜索组件 */
- :root {
- --theme-color-1: #b4190f;
- --theme-color-2: #343977;
- --theme-color-3: #6c9350;
- --theme-color-4: #de882f;
- }
- body[data-menu-type="1"] {
- --current-theme-color: var(--theme-color-1);
- }
- body[data-menu-type="2"] {
- --current-theme-color: var(--theme-color-2);
- }
- body[data-menu-type="3"] {
- --current-theme-color: var(--theme-color-3);
- }
- body[data-menu-type="4"] {
- --current-theme-color: var(--theme-color-4);
- }
- .search-container {
- max-width: 1200px;
- width: 100%;
- position: relative;
- margin: 0 auto;
- box-sizing: border-box;
- }
- .search-panel {
- top: 100%;
- left: 0;
- width: 100%;
- background: #fff;
- display: none;
- box-sizing: border-box;
- border-radius: 0 0 10px 10px;
- overflow: hidden;
- }
- .left-menu {
- width: 200px;
- flex: 0 0 200px;
- text-align: center;
- background: #f8f8f8;
- }
- .left-menu ul {
- list-style: none;
- padding: 0;
- margin: 0;
- }
- .left-menu li {
- padding: 8px 20px;
- cursor: pointer;
- color: #333;
- }
- .left-menu li.active {
- color: #fff;
- background-color: var(--current-theme-color);
- }
- .right-search {
- flex: 3;
- min-width: 0;
- padding: 20px;
- background: var(--current-theme-color);
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- }
- .search-title {
- color: #fff;
- font-size: 20px;
- font-weight: bold;
- }
- .search-box {
- display: flex;
- margin: 15px 0;
- }
- .search-tip {
- color: #fff;
- font-size: 14px;
- font-weight: 400;
- }
- .search-input {
- flex: 1;
- min-width: 0;
- padding: 13px 15px;
- border: none;
- border-radius: 4px 0 0 4px;
- font-size: 16px;
- }
- .search-input:focus {
- outline: none;
- }
- .search-btn {
- background: rgba(58, 58, 58, .5);
- color: #fff;
- border: none;
- padding: 0 25px;
- cursor: pointer;
- border-radius: 0 4px 4px 0;
- font-size: 16px;
- }
- .search-trigger-area {
- position: relative;
- display: flex;
- align-items: center;
- justify-content: space-between;
- border-radius: 10px;
- overflow: hidden;
- background: #fff;
- box-sizing: border-box;
- height: 50px;
- }
- .search-trigger {
- width: 200px;
- flex: 0 0 200px;
- background: #a63334;
- color: #fff;
- padding: 10px 15px;
- font-size: 18px;
- height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- box-sizing: border-box;
- cursor: pointer;
- }
- .icon-search {
- display: inline-block;
- width: 20px;
- height: 20px;
- background: url(../images/icon/search.png) no-repeat;
- background-size: 100%;
- margin-right: 8px;
- filter: brightness(0) invert(1);
- }
- .icon-arrow {
- display: inline-block;
- margin-left: 8px;
- width: 8px;
- height: 8px;
- border-right: 2px solid #fff;
- border-bottom: 2px solid #fff;
- transform: rotate(45deg);
- transition: transform .3s;
- }
- .search-panel-visible .icon-arrow {
- transform: rotate(-135deg);
- }
- .search-tabs {
- height: 100%;
- flex: 3;
- min-width: 0;
- background: #ebebeb;
- border-radius: 0 10px 0 0;
- overflow-x: auto;
- }
- .search-tabs ul {
- height: 100%;
- display: flex;
- align-items: center;
- list-style: none;
- margin: 0;
- padding: 0;
- }
- .search-tabs li {
- padding: 12px 25px;
- cursor: pointer;
- color: #000;
- position: relative;
- transition: all .3s;
- height: 100%;
- box-sizing: border-box;
- display: flex;
- align-items: center;
- white-space: nowrap;
- }
- .search-tabs li.active {
- color: var(--current-theme-color);
- }
- .search-tabs li.active::after {
- content: '';
- position: absolute;
- bottom: 0;
- left: 50%;
- transform: translateX(-50%) rotate(180deg);
- width: 0;
- height: 0;
- border-left: 6px solid transparent;
- border-right: 6px solid transparent;
- border-top: 8px solid var(--current-theme-color);
- background: none;
- opacity: 0;
- transition: opacity .3s;
- }
- .search-panel-visible .search-tabs li.active::after {
- opacity: 1;
- }
- .search-tabs li:hover {
- color: var(--current-theme-color);
- }
- /* 资源类型标签组随左侧检索入口互斥显示 */
- body[data-menu-type="1"] .search-tabs .tabs-tsg {
- display: flex !important;
- }
- body[data-menu-type="1"] .search-tabs .tabs-duxiu,
- body[data-menu-type="1"] .search-tabs .tabs-zhiwang,
- body[data-menu-type="2"] .search-tabs ul,
- body[data-menu-type="4"] .search-tabs ul {
- display: none !important;
- }
- body[data-menu-type="3"] .search-tabs .tabs-duxiu {
- display: flex !important;
- }
- body[data-menu-type="3"] .search-tabs .tabs-tsg,
- body[data-menu-type="3"] .search-tabs .tabs-zhiwang {
- display: none !important;
- }
- body[data-menu-type="5"] .search-tabs .tabs-zhiwang {
- display: flex !important;
- }
- body[data-menu-type="5"] .search-tabs .tabs-tsg,
- body[data-menu-type="5"] .search-tabs .tabs-duxiu {
- display: none !important;
- }
- .banner{
- position: relative;
- }
- .banner,
- .banner img{
- width: 100%;
- }
- .banner img {
- height: 450px;
- object-fit: cover;
- }
- /* 搜索 */
- .search {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- margin: auto;
- z-index: 100;
- background-color: #ac3b3b;
- height: 60%;
- padding: 0 50px;
- border: 1px solid #bbb;
- }
- .search-wrap {
- width: 100%;
- height: 56px;
- display: flex;
- margin: 60px 0 40px;
- }
- .search-wrap-item {
- border-radius: 6px;
- border: 0;
- outline: none;
- font-size: 16px;
- }
- .search-wrap select {
- padding: 0 12px;
- width: 140px;
- cursor: pointer;
- }
- .search-wrap input {
- margin: 0 20px;
- padding: 0 15px;
- flex: auto;
- }
- .search-wrap button {
- padding: 0 45px;
- background: #fff url(../images/icon/search.png) no-repeat 16px center;
- background-size: 22px;
- cursor: pointer;
- }
- .search-wrap button:hover {
- background-color: rgba(255, 255, 255, .9);
- }
- .search-wrap button:active {
- background-color: rgba(255, 255, 255, .7);
- }
- .search-ranking {
- color: #fff;
- display: flex;
- line-height: 28px;
-
- }
- .search-ranking ul {
- margin-left: 10px;
- flex: 1;
- }
- .search-ranking ul li {
- display: inline-block;
- margin-right: 25px;
- }
- .search-ranking a {
- color: #fff;
- text-decoration: underline;
- }
- .search-ranking a:hover {
- color: #ffff00;
- }
- /* 轮播 */
- .swiper-pagination-bullet-active {
- color: #fff;
- background: rgba(174, 28, 3, 1);
- }
- .swiper-slide {
- position: relative;
- }
- .swiper-slide img {
- display: block;
- width: 100%;
- }
- .swiper-slide .swiper-title {
- height: 26px;
- line-height: 26px;
- padding: 0 10px;
- box-sizing: border-box;
- width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- text-align: center;
- background-color: #fff;
- margin-top: 6px;
- }
- /* 宫格 */
- .content-grid {
- display: flex;
- flex-wrap: wrap;
- border: 1px solid #ccc;
- border-left: 0;
- border-bottom: 0;
- margin: 65px auto;
- box-shadow: 0 0 12px rgba(0, 0, 0, .4);
- }
- .content-grid a {
- display: block;
- width: calc(100% / 6);
- text-align: center;
- border-left: 1px solid #ccc;
- border-bottom: 1px solid #ccc;
- padding: 30px 0;
- }
- .content-grid dt img {
- width: 60px;
- transition: all .2s;
- }
- .content-grid a:hover img {
- transform:scale(1.2);
- }
- .content-grid dd {
- margin-top: 20px;
- }
- /* 标签页 */
- .content-tabs h2{
- text-align: center;
- font-size: 24px;
- font-weight: bold;
- }
- .content-tabs .slideTxtBox {
- margin: 40px 0;
- }
- .content-tabs .hd {
- border-bottom: 1px solid #bbb;
- }
- .content-tabs .hd li {
- display: inline-block;
- font-weight: bold;
- padding: 22px 28px;
- }
- .content-tabs .hd .on {
- background-color: #ac3b3b;
- }
- .content-tabs .hd .on a {
- color: #fff;
- }
- .content-tabs .bd ul{
- margin: 0 30px;
- }
- .content-tabs .bd li:first-child {
- border-bottom: 1px solid #ccc;
- }
- .content-tabs .bd a {
- display: block;
- width: 100%;
- height: 100%;
- padding: 34px 0;
- }
- .content-tabs .bd p{
- display: inline-block;
- width: calc(100% - 300px);
- overflow: hidden;
- text-overflow:ellipsis;
- white-space: nowrap;
- }
- .content-tabs .bd span {
- float: right;
- color: #999;
- }
- .content-tabs .bd a:hover span {
- color: #ff1111;
- }
- .content-tabs .bd a:hover .desc span {
- color: #999;
- }
- .content-tabs .desc {
- line-height: 26px;
- display: flex;
- justify-content: space-between;
- margin-top: 14px;
- }
- .content-tabs .desc p {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- white-space: normal;
- color: #888;
- }
- .content-right{
- width: 70%;
- }
- .footer {
- margin-top: 20px;
- }
- /* 目录页 */
- .catalog{
- padding: 0;
- }
- .catalog .content-wrap li p{
- width: calc(100% - 135px);
- }
- /* 列表页 */
- .list .content-wrap li p{
- width: calc(100% - 280px);
- }
- .crumbs {
- line-height: 40px;
- overflow: hidden;
- font-weight: normal;
- color: #333;
- margin: 45px auto 25px;
- padding: 0;
- }
- .crumbs a {
- color: #333;
- float: none !important;
- padding: 0 !important;
- }
- .crumbs a:hover {
- color: #AE1C03;
- }
- .crumbs span{
- background: none !important;
- padding: 0 !important;
- color: #333 !important;
- }
- .content-left {
- width: 260px;
- margin-right: 25px;
- background-color: transparent;
- }
- .content-left,
- .content-right {
- box-shadow: 0 0 12px rgba(0, 0, 0, .4);
- border-radius: 4px;
- overflow: hidden;
- margin-bottom: 10px;
- }
- .content-left h2,
- .content-right .content-wrap-title {
- background-color: transparent;
- color: #ac3b3b;
- font-size: 22px;
- border-bottom: 1px solid #ccc;
- padding: 30px 0 20px;
- height: auto;
- line-height: normal;
- }
- .content-right .content-wrap-title {
- text-align: center;
- border-bottom: 0;
- }
- .content-left-list li a {
- text-align: left;
- padding: 0 12px;
- line-height: 56px;
- }
- .list-wrap li>a {
- padding-left: 15px;
- background: url(../images/technical/icon/dot.png) no-repeat left center;
- line-height: 46px;
- }
- .list-wrap .list-time {
- color: #999;
- }
- .catalog {
- border: none;
- }
- .catalog-item {
- margin-bottom: 15px;
- border: 1px solid #D8E0E8;
- border-top: none;
- border-radius: 4px;
- padding-bottom: 10px;
- }
- .catalog-item:last-child {
- margin-bottom: 0;
- }
- /* 底部 */
- .footer-mesg {
- background-color: #ac3b3b;
- background-size: cover;
- }
- .footer-link {
- background-color: #C1D6E3;
- line-height: 36px;
- }
- .footer-link ul {
- display: inline-block;
- }
- .footer-link ul li {
- display: inline-block;
- margin-right: 15px;
- }
- .mobile-nav-icon span {
- background-color: #ac3b3b;
- }
- /* 响应式 */
- @media screen and (max-width: 1320px) {
- .wrap {
- width: 95%;
- }
- .header-top {
- padding: 0;
- }
- }
- @media screen and (max-width: 1200px) {
- .header-nav>ul>li:hover .nav-secondLevel .wrap {
- background-position: 70% bottom;
- }
- }
- @media screen and (max-width: 1024px) {
- .banner img {
- height: 400px;
- }
- }
- @media screen and (max-width: 980px) {
- .header>.wrap{
- width: 100%;
- }
- .header-nav {
- background-repeat: repeat;
- background-position: left top;
- }
- .header-nav ul {
- height: auto;
- }
- /* flex布局,item元素补全 */
- .header-nav ul::after {
- content: "";
- width: 50%;
- }
- .content-item {
- width: 100% !important;
- }
- .content-col {
- width: 100% !important;
- }
- }
- @media screen and (max-width: 768px) {
- .content-item {
- width: 100%;
- }
- .content-left {
- width: 100%;
- margin-right: 0;
- margin-bottom: 20px;
- }
- }
- @media screen and (max-width: 640px) {
- .header-right {
- font-size: 14px;
- }
- .header-img {
- width: 100%;
- }
- .header-img img {
- width: 100%;
- height: auto;
- display: block;
- }
- .mobile-nav-icon {
- right: 18px;
- }
- .content-wrap li p {
- width: calc(100% - 100px);
- }
- .search {
- padding: 0 20px;
- height: 70%;
- }
- .search-wrap {
- margin: 30px 0 25px;
- flex-wrap: wrap;
- height: auto;
- }
- .search-wrap-item {
- height: 40px;
- line-height: 40px;
- }
- .search-wrap select {
- width: 100%;
- margin-bottom: 15px;
- }
- .search-wrap input {
- width: 50%;
- margin: 0 15px 0 0;
- }
- .search-wrap button {
- padding: 0 36px;
- background-position: 10px center;
- }
- .content {
- margin-top: 101px !important;
- }
- .search-ranking {
- display: block;
- }
- .content-grid {
- margin: 50px auto;
- }
- .content-grid a {
- width: calc(100% / 4);
- }
- .content-grid dt img {
- width: 50px;
- }
- .content-tabs .hd ul {
- display: flex;
- }
- .content-tabs .hd li {
- padding: 22px 0;
- flex: auto;
- text-align: center;
- }
- .content-tabs .bd ul {
- margin: 0 15px;
- }
- .content-tabs .bd li:first-child a {
- padding: 34px 0;
- }
- .content-tabs .bd a {
- overflow: hidden;
- padding: 30px 0 0px;
- }
- .content-tabs .bd p {
- width: calc(100% - 0px);
- }
- .content-tabs .bd span {
- margin-top: 10px;
- }
- .content-tabs .desc {
- display: block;
- margin-top: 32px;
- }
- .content-tabs .desc p {
- width: 100%;
- }
-
- /* 列表页 */
- .list .content-wrap li{
- height: auto;
- overflow: hidden;
- background-position: left 10px;
- }
- .list .content-wrap li p{
- width: 96%;
- float: none;
- }
- .list-wrap .list-title {
- width: 100%;
- }
- .list-wrap li {
- padding: 5px 15px;
- }
- .list-wrap li a {
- background-position: left 14px;
- line-height: 28px;
- }
-
- .crumbs {
- padding-top: 25px;
- }
- }
- /* 馆藏资源搜索组件移动端 */
- @media screen and (max-width: 768px) {
- .search-container {
- width: 95%;
- }
- .search-trigger-area {
- height: auto;
- min-height: 50px;
- flex-direction: column;
- align-items: stretch;
- }
- .search-trigger {
- width: 100%;
- flex: 0 0 50px;
- height: 50px;
- }
- .search-tabs {
- width: 100%;
- height: 50px;
- flex: none;
- border-radius: 0;
- }
- .search-tabs ul {
- width: 100%;
- height: 50px;
- justify-content: flex-start;
- }
- .search-tabs li {
- flex: 1 0 auto;
- justify-content: center;
- padding: 12px 10px;
- }
- .search-panel {
- flex-direction: column;
- }
- .left-menu {
- width: 100%;
- flex: none;
- overflow-x: auto;
- }
- .left-menu ul {
- display: flex;
- min-width: max-content;
- }
- .left-menu li {
- flex: 1 0 auto;
- white-space: nowrap;
- }
- .right-search {
- width: 100%;
- padding: 16px;
- }
- .search-title {
- font-size: 18px;
- }
- .search-box {
- margin: 12px 0;
- }
- .search-btn {
- padding: 0 18px;
- }
- }
|