tsg2.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086
  1. body {
  2. color: #000;
  3. font-size: 16px;
  4. }
  5. a {
  6. color: #000;
  7. }
  8. a:hover {
  9. color: #ff1111;
  10. text-decoration: none;
  11. }
  12. .wrap-larger {
  13. width: 1320px;
  14. margin: 0 auto;
  15. }
  16. .header-top {
  17. width: 100%;
  18. height: 30px;
  19. line-height: 30px;
  20. position: relative;
  21. background-color: #d7cfcf;
  22. border: 1px solid #bbb;
  23. border-left: 0;
  24. border-right: 0;
  25. padding: 0 15px;
  26. color: #fff;
  27. }
  28. .header-top .wrap {
  29. position: relative;
  30. }
  31. .header-img {
  32. position: relative;
  33. }
  34. .header-img img {
  35. width: auto;
  36. height: 90px;
  37. }
  38. .header-right {
  39. float: right;
  40. }
  41. .header-right a:hover{
  42. color: #ac3b3b;
  43. }
  44. /* 导航 */
  45. .header{
  46. box-shadow: 0 0 12px rgba(0, 0, 0, .4);
  47. }
  48. .header>.wrap{
  49. position: relative;
  50. }
  51. .header-nav {
  52. position: absolute;
  53. right: 0;
  54. top: 50%;
  55. transform: translateY(-50%);
  56. background-color: transparent;
  57. z-index: 101;
  58. }
  59. .header-nav {
  60. width: 50%;
  61. }
  62. .header-nav ul li {
  63. flex: auto;
  64. }
  65. .header-nav ul li:last-child a{
  66. height: 44px;
  67. line-height: 44px;
  68. background-color: #ac3b3b;
  69. color: #fff;
  70. margin-top: 23px;
  71. margin-left: 20px;
  72. border-radius: 4px;
  73. }
  74. .header-nav ul li:last-child a:hover{
  75. background-color: #C90303;
  76. }
  77. .nav-secondLevel {
  78. top: 90px;
  79. }
  80. .header-nav .nav-secondLevel li {
  81. width: 33.33%;
  82. margin-top: 10px;
  83. }
  84. .header-nav li a {
  85. box-sizing: content-box;
  86. position: relative;
  87. line-height: 90px;
  88. height: 90px;
  89. color: #000;
  90. }
  91. .header-nav li:hover>a {
  92. background-color: #ac3b3b;
  93. color: #fff;
  94. }
  95. .header-nav .nav-secondLevel li a{
  96. background-image: none;
  97. padding-bottom: 0;
  98. text-align: left;
  99. }
  100. .header-nav .nav-secondLevel li a:hover{
  101. background-color: rgba(233, 217, 217, 1) !important;
  102. }
  103. .header-nav>ul>li:hover .nav-secondLevel {
  104. width: 2400px;
  105. position: fixed;
  106. left: -1200px;
  107. background-color: #e8e8e8;
  108. min-height: 150px;
  109. padding: 10px 0 20px;
  110. }
  111. .header-nav>ul>li:hover .nav-secondLevel .wrap {
  112. background: url(../images/tsg/nav.jpg) no-repeat right bottom;
  113. background-size: 300px;
  114. }
  115. .header-nav>ul>li:hover .nav-secondLevel .nav-secondLevel-wrap {
  116. display: flex;
  117. flex-wrap: wrap;
  118. width: 700px;
  119. margin: 0 auto;
  120. }
  121. .header-nav .nav-secondLevel li a {
  122. background: transparent url(../images/tsg/icon/dot.png) no-repeat 8px center;
  123. background-size: 6px;
  124. border: 0;
  125. color: #ac3b3b;
  126. padding: 0 20px;
  127. font-weight: normal;
  128. }
  129. .header-nav .nav-secondLevel li:last-child a {
  130. margin: 0;
  131. background-color: transparent;
  132. line-height: 40px;
  133. color: #ac3b3b;
  134. }
  135. .header-nav .nav-secondLevel li:last-child:hover a {
  136. background-color: transparent;
  137. }
  138. /* 三级 */
  139. .header-nav .nav-threeLevel {
  140. position: relative;
  141. top: 0;
  142. left: 0;
  143. width: 100%;
  144. background-color: transparent;
  145. font-size: 14px;
  146. display: block !important;
  147. }
  148. .header-nav .nav-threeLevel li {
  149. width: 100% !important;
  150. margin-top: 0 !important;
  151. }
  152. .header-nav .nav-threeLevel li a {
  153. background: none !important;
  154. color: #000 !important;
  155. }
  156. .header-nav .nav-secondLevel li a span {
  157. display: none;
  158. }
  159. /* 主体 */
  160. .content {
  161. /* margin-top: 30px; */
  162. }
  163. /* 馆藏资源搜索组件 */
  164. :root {
  165. --theme-color-1: #b4190f;
  166. --theme-color-2: #343977;
  167. --theme-color-3: #6c9350;
  168. --theme-color-4: #de882f;
  169. }
  170. body[data-menu-type="1"] {
  171. --current-theme-color: var(--theme-color-1);
  172. }
  173. body[data-menu-type="2"] {
  174. --current-theme-color: var(--theme-color-2);
  175. }
  176. body[data-menu-type="3"] {
  177. --current-theme-color: var(--theme-color-3);
  178. }
  179. body[data-menu-type="4"] {
  180. --current-theme-color: var(--theme-color-4);
  181. }
  182. .search-container {
  183. max-width: 1200px;
  184. width: 100%;
  185. position: relative;
  186. margin: 0 auto;
  187. box-sizing: border-box;
  188. }
  189. .search-panel {
  190. top: 100%;
  191. left: 0;
  192. width: 100%;
  193. background: #fff;
  194. display: none;
  195. box-sizing: border-box;
  196. border-radius: 0 0 10px 10px;
  197. overflow: hidden;
  198. }
  199. .left-menu {
  200. width: 200px;
  201. flex: 0 0 200px;
  202. text-align: center;
  203. background: #f8f8f8;
  204. }
  205. .left-menu ul {
  206. list-style: none;
  207. padding: 0;
  208. margin: 0;
  209. }
  210. .left-menu li {
  211. padding: 8px 20px;
  212. cursor: pointer;
  213. color: #333;
  214. }
  215. .left-menu li.active {
  216. color: #fff;
  217. background-color: var(--current-theme-color);
  218. }
  219. .right-search {
  220. flex: 3;
  221. min-width: 0;
  222. padding: 20px;
  223. background: var(--current-theme-color);
  224. display: flex;
  225. flex-direction: column;
  226. justify-content: flex-start;
  227. }
  228. .search-title {
  229. color: #fff;
  230. font-size: 20px;
  231. font-weight: bold;
  232. }
  233. .search-box {
  234. display: flex;
  235. margin: 15px 0;
  236. }
  237. .search-tip {
  238. color: #fff;
  239. font-size: 14px;
  240. font-weight: 400;
  241. }
  242. .search-input {
  243. flex: 1;
  244. min-width: 0;
  245. padding: 13px 15px;
  246. border: none;
  247. border-radius: 4px 0 0 4px;
  248. font-size: 16px;
  249. }
  250. .search-input:focus {
  251. outline: none;
  252. }
  253. .search-btn {
  254. background: rgba(58, 58, 58, .5);
  255. color: #fff;
  256. border: none;
  257. padding: 0 25px;
  258. cursor: pointer;
  259. border-radius: 0 4px 4px 0;
  260. font-size: 16px;
  261. }
  262. .search-trigger-area {
  263. position: relative;
  264. display: flex;
  265. align-items: center;
  266. justify-content: space-between;
  267. border-radius: 10px;
  268. overflow: hidden;
  269. background: #fff;
  270. box-sizing: border-box;
  271. height: 50px;
  272. }
  273. .search-trigger {
  274. width: 200px;
  275. flex: 0 0 200px;
  276. background: #a63334;
  277. color: #fff;
  278. padding: 10px 15px;
  279. font-size: 18px;
  280. height: 100%;
  281. display: flex;
  282. align-items: center;
  283. justify-content: center;
  284. box-sizing: border-box;
  285. cursor: pointer;
  286. }
  287. .icon-search {
  288. display: inline-block;
  289. width: 20px;
  290. height: 20px;
  291. background: url(../images/icon/search.png) no-repeat;
  292. background-size: 100%;
  293. margin-right: 8px;
  294. filter: brightness(0) invert(1);
  295. }
  296. .icon-arrow {
  297. display: inline-block;
  298. margin-left: 8px;
  299. width: 8px;
  300. height: 8px;
  301. border-right: 2px solid #fff;
  302. border-bottom: 2px solid #fff;
  303. transform: rotate(45deg);
  304. transition: transform .3s;
  305. }
  306. .search-panel-visible .icon-arrow {
  307. transform: rotate(-135deg);
  308. }
  309. .search-tabs {
  310. height: 100%;
  311. flex: 3;
  312. min-width: 0;
  313. background: #ebebeb;
  314. border-radius: 0 10px 0 0;
  315. overflow-x: auto;
  316. }
  317. .search-tabs ul {
  318. height: 100%;
  319. display: flex;
  320. align-items: center;
  321. list-style: none;
  322. margin: 0;
  323. padding: 0;
  324. }
  325. .search-tabs li {
  326. padding: 12px 25px;
  327. cursor: pointer;
  328. color: #000;
  329. position: relative;
  330. transition: all .3s;
  331. height: 100%;
  332. box-sizing: border-box;
  333. display: flex;
  334. align-items: center;
  335. white-space: nowrap;
  336. }
  337. .search-tabs li.active {
  338. color: var(--current-theme-color);
  339. }
  340. .search-tabs li.active::after {
  341. content: '';
  342. position: absolute;
  343. bottom: 0;
  344. left: 50%;
  345. transform: translateX(-50%) rotate(180deg);
  346. width: 0;
  347. height: 0;
  348. border-left: 6px solid transparent;
  349. border-right: 6px solid transparent;
  350. border-top: 8px solid var(--current-theme-color);
  351. background: none;
  352. opacity: 0;
  353. transition: opacity .3s;
  354. }
  355. .search-panel-visible .search-tabs li.active::after {
  356. opacity: 1;
  357. }
  358. .search-tabs li:hover {
  359. color: var(--current-theme-color);
  360. }
  361. .banner{
  362. position: relative;
  363. }
  364. .banner,
  365. .banner img{
  366. width: 100%;
  367. }
  368. .banner img {
  369. height: 450px;
  370. object-fit: cover;
  371. }
  372. /* 搜索 */
  373. .search {
  374. position: absolute;
  375. top: 0;
  376. bottom: 0;
  377. left: 0;
  378. right: 0;
  379. margin: auto;
  380. z-index: 100;
  381. background-color: #ac3b3b;
  382. height: 60%;
  383. padding: 0 50px;
  384. border: 1px solid #bbb;
  385. }
  386. .search-wrap {
  387. width: 100%;
  388. height: 56px;
  389. display: flex;
  390. margin: 60px 0 40px;
  391. }
  392. .search-wrap-item {
  393. border-radius: 6px;
  394. border: 0;
  395. outline: none;
  396. font-size: 16px;
  397. }
  398. .search-wrap select {
  399. padding: 0 12px;
  400. width: 140px;
  401. cursor: pointer;
  402. }
  403. .search-wrap input {
  404. margin: 0 20px;
  405. padding: 0 15px;
  406. flex: auto;
  407. }
  408. .search-wrap button {
  409. padding: 0 45px;
  410. background: #fff url(../images/icon/search.png) no-repeat 16px center;
  411. background-size: 22px;
  412. cursor: pointer;
  413. }
  414. .search-wrap button:hover {
  415. background-color: rgba(255, 255, 255, .9);
  416. }
  417. .search-wrap button:active {
  418. background-color: rgba(255, 255, 255, .7);
  419. }
  420. .search-ranking {
  421. color: #fff;
  422. display: flex;
  423. line-height: 28px;
  424. }
  425. .search-ranking ul {
  426. margin-left: 10px;
  427. flex: 1;
  428. }
  429. .search-ranking ul li {
  430. display: inline-block;
  431. margin-right: 25px;
  432. }
  433. .search-ranking a {
  434. color: #fff;
  435. text-decoration: underline;
  436. }
  437. .search-ranking a:hover {
  438. color: #ffff00;
  439. }
  440. /* 轮播 */
  441. .swiper-pagination-bullet-active {
  442. color: #fff;
  443. background: rgba(174, 28, 3, 1);
  444. }
  445. .swiper-slide {
  446. position: relative;
  447. }
  448. .swiper-slide img {
  449. display: block;
  450. width: 100%;
  451. }
  452. .swiper-slide .swiper-title {
  453. height: 26px;
  454. line-height: 26px;
  455. padding: 0 10px;
  456. box-sizing: border-box;
  457. width: 100%;
  458. overflow: hidden;
  459. text-overflow: ellipsis;
  460. white-space: nowrap;
  461. text-align: center;
  462. background-color: #fff;
  463. margin-top: 6px;
  464. }
  465. /* 宫格 */
  466. .content-grid {
  467. display: flex;
  468. flex-wrap: wrap;
  469. border: 1px solid #ccc;
  470. border-left: 0;
  471. border-bottom: 0;
  472. margin: 65px auto;
  473. box-shadow: 0 0 12px rgba(0, 0, 0, .4);
  474. }
  475. .content-grid a {
  476. display: block;
  477. width: calc(100% / 6);
  478. text-align: center;
  479. border-left: 1px solid #ccc;
  480. border-bottom: 1px solid #ccc;
  481. padding: 30px 0;
  482. }
  483. .content-grid dt img {
  484. width: 60px;
  485. transition: all .2s;
  486. }
  487. .content-grid a:hover img {
  488. transform:scale(1.2);
  489. }
  490. .content-grid dd {
  491. margin-top: 20px;
  492. }
  493. /* 标签页 */
  494. .content-tabs h2{
  495. text-align: center;
  496. font-size: 24px;
  497. font-weight: bold;
  498. }
  499. .content-tabs .slideTxtBox {
  500. margin: 40px 0;
  501. }
  502. .content-tabs .hd {
  503. border-bottom: 1px solid #bbb;
  504. }
  505. .content-tabs .hd li {
  506. display: inline-block;
  507. font-weight: bold;
  508. padding: 22px 28px;
  509. }
  510. .content-tabs .hd .on {
  511. background-color: #ac3b3b;
  512. }
  513. .content-tabs .hd .on a {
  514. color: #fff;
  515. }
  516. .content-tabs .bd ul{
  517. margin: 0 30px;
  518. }
  519. .content-tabs .bd li:first-child {
  520. border-bottom: 1px solid #ccc;
  521. }
  522. .content-tabs .bd a {
  523. display: block;
  524. width: 100%;
  525. height: 100%;
  526. padding: 34px 0;
  527. }
  528. .content-tabs .bd p{
  529. display: inline-block;
  530. width: calc(100% - 300px);
  531. overflow: hidden;
  532. text-overflow:ellipsis;
  533. white-space: nowrap;
  534. }
  535. .content-tabs .bd span {
  536. float: right;
  537. color: #999;
  538. }
  539. .content-tabs .bd a:hover span {
  540. color: #ff1111;
  541. }
  542. .content-tabs .bd a:hover .desc span {
  543. color: #999;
  544. }
  545. .content-tabs .desc {
  546. line-height: 26px;
  547. display: flex;
  548. justify-content: space-between;
  549. margin-top: 14px;
  550. }
  551. .content-tabs .desc p {
  552. display: -webkit-box;
  553. -webkit-box-orient: vertical;
  554. -webkit-line-clamp: 2;
  555. overflow: hidden;
  556. white-space: normal;
  557. color: #888;
  558. }
  559. .content-right{
  560. width: 70%;
  561. }
  562. .footer {
  563. margin-top: 20px;
  564. }
  565. /* 目录页 */
  566. .catalog{
  567. padding: 0;
  568. }
  569. .catalog .content-wrap li p{
  570. width: calc(100% - 135px);
  571. }
  572. /* 列表页 */
  573. .list .content-wrap li p{
  574. width: calc(100% - 280px);
  575. }
  576. .crumbs {
  577. line-height: 40px;
  578. overflow: hidden;
  579. font-weight: normal;
  580. color: #333;
  581. margin: 45px auto 25px;
  582. padding: 0;
  583. }
  584. .crumbs a {
  585. color: #333;
  586. float: none !important;
  587. padding: 0 !important;
  588. }
  589. .crumbs a:hover {
  590. color: #AE1C03;
  591. }
  592. .crumbs span{
  593. background: none !important;
  594. padding: 0 !important;
  595. color: #333 !important;
  596. }
  597. .content-left {
  598. width: 260px;
  599. margin-right: 25px;
  600. background-color: transparent;
  601. }
  602. .content-left,
  603. .content-right {
  604. box-shadow: 0 0 12px rgba(0, 0, 0, .4);
  605. border-radius: 4px;
  606. overflow: hidden;
  607. margin-bottom: 10px;
  608. }
  609. .content-left h2,
  610. .content-right .content-wrap-title {
  611. background-color: transparent;
  612. color: #ac3b3b;
  613. font-size: 22px;
  614. border-bottom: 1px solid #ccc;
  615. padding: 30px 0 20px;
  616. height: auto;
  617. line-height: normal;
  618. }
  619. .content-right .content-wrap-title {
  620. text-align: center;
  621. border-bottom: 0;
  622. }
  623. .content-left-list li a {
  624. text-align: left;
  625. padding: 0 12px;
  626. line-height: 56px;
  627. }
  628. .list-wrap li>a {
  629. padding-left: 15px;
  630. background: url(../images/technical/icon/dot.png) no-repeat left center;
  631. line-height: 46px;
  632. }
  633. .list-wrap .list-time {
  634. color: #999;
  635. }
  636. .catalog {
  637. border: none;
  638. }
  639. .catalog-item {
  640. margin-bottom: 15px;
  641. border: 1px solid #D8E0E8;
  642. border-top: none;
  643. border-radius: 4px;
  644. padding-bottom: 10px;
  645. }
  646. .catalog-item:last-child {
  647. margin-bottom: 0;
  648. }
  649. /* 底部 */
  650. .footer-mesg {
  651. background-color: #ac3b3b;
  652. background-size: cover;
  653. }
  654. .footer-link {
  655. background-color: #C1D6E3;
  656. line-height: 36px;
  657. }
  658. .footer-link ul {
  659. display: inline-block;
  660. }
  661. .footer-link ul li {
  662. display: inline-block;
  663. margin-right: 15px;
  664. }
  665. .mobile-nav-icon span {
  666. background-color: #ac3b3b;
  667. }
  668. /* 响应式 */
  669. @media screen and (max-width: 1320px) {
  670. .wrap {
  671. width: 95%;
  672. }
  673. .header-top {
  674. padding: 0;
  675. }
  676. }
  677. @media screen and (max-width: 1200px) {
  678. .header-nav>ul>li:hover .nav-secondLevel .wrap {
  679. background-position: 70% bottom;
  680. }
  681. }
  682. @media screen and (max-width: 1024px) {
  683. .banner img {
  684. height: 400px;
  685. }
  686. }
  687. @media screen and (max-width: 980px) {
  688. .header>.wrap{
  689. width: 100%;
  690. }
  691. .header-nav {
  692. background-repeat: repeat;
  693. background-position: left top;
  694. }
  695. .header-nav ul {
  696. height: auto;
  697. }
  698. /* flex布局,item元素补全 */
  699. .header-nav ul::after {
  700. content: "";
  701. width: 50%;
  702. }
  703. .content-item {
  704. width: 100% !important;
  705. }
  706. .content-col {
  707. width: 100% !important;
  708. }
  709. }
  710. @media screen and (max-width: 768px) {
  711. .content-item {
  712. width: 100%;
  713. }
  714. .content-left {
  715. width: 100%;
  716. margin-right: 0;
  717. margin-bottom: 20px;
  718. }
  719. }
  720. @media screen and (max-width: 640px) {
  721. .header-right {
  722. font-size: 14px;
  723. }
  724. .header-img {
  725. width: 100%;
  726. }
  727. .header-img img {
  728. width: 100%;
  729. height: auto;
  730. display: block;
  731. }
  732. .mobile-nav-icon {
  733. right: 18px;
  734. }
  735. .content-wrap li p {
  736. width: calc(100% - 100px);
  737. }
  738. .search {
  739. padding: 0 20px;
  740. height: 70%;
  741. }
  742. .search-wrap {
  743. margin: 30px 0 25px;
  744. flex-wrap: wrap;
  745. height: auto;
  746. }
  747. .search-wrap-item {
  748. height: 40px;
  749. line-height: 40px;
  750. }
  751. .search-wrap select {
  752. width: 100%;
  753. margin-bottom: 15px;
  754. }
  755. .search-wrap input {
  756. width: 50%;
  757. margin: 0 15px 0 0;
  758. }
  759. .search-wrap button {
  760. padding: 0 36px;
  761. background-position: 10px center;
  762. }
  763. .content {
  764. margin-top: 101px !important;
  765. }
  766. .search-ranking {
  767. display: block;
  768. }
  769. .content-grid {
  770. margin: 50px auto;
  771. }
  772. .content-grid a {
  773. width: calc(100% / 4);
  774. }
  775. .content-grid dt img {
  776. width: 50px;
  777. }
  778. .content-tabs .hd ul {
  779. display: flex;
  780. }
  781. .content-tabs .hd li {
  782. padding: 22px 0;
  783. flex: auto;
  784. text-align: center;
  785. }
  786. .content-tabs .bd ul {
  787. margin: 0 15px;
  788. }
  789. .content-tabs .bd li:first-child a {
  790. padding: 34px 0;
  791. }
  792. .content-tabs .bd a {
  793. overflow: hidden;
  794. padding: 30px 0 0px;
  795. }
  796. .content-tabs .bd p {
  797. width: calc(100% - 0px);
  798. }
  799. .content-tabs .bd span {
  800. margin-top: 10px;
  801. }
  802. .content-tabs .desc {
  803. display: block;
  804. margin-top: 32px;
  805. }
  806. .content-tabs .desc p {
  807. width: 100%;
  808. }
  809. /* 列表页 */
  810. .list .content-wrap li{
  811. height: auto;
  812. overflow: hidden;
  813. background-position: left 10px;
  814. }
  815. .list .content-wrap li p{
  816. width: 96%;
  817. float: none;
  818. }
  819. .list-wrap .list-title {
  820. width: 100%;
  821. }
  822. .list-wrap li {
  823. padding: 5px 15px;
  824. }
  825. .list-wrap li a {
  826. background-position: left 14px;
  827. line-height: 28px;
  828. }
  829. .crumbs {
  830. padding-top: 25px;
  831. }
  832. }
  833. /* 馆藏资源搜索组件移动端 */
  834. @media screen and (max-width: 768px) {
  835. .search-container {
  836. width: 95%;
  837. }
  838. .search-trigger-area {
  839. height: auto;
  840. min-height: 50px;
  841. flex-direction: column;
  842. align-items: stretch;
  843. }
  844. .search-trigger {
  845. width: 100%;
  846. flex: 0 0 50px;
  847. height: 50px;
  848. }
  849. .search-tabs {
  850. width: 100%;
  851. flex: none;
  852. border-radius: 0;
  853. }
  854. .search-tabs ul {
  855. width: 100%;
  856. justify-content: flex-start;
  857. }
  858. .search-tabs li {
  859. flex: 1 0 auto;
  860. justify-content: center;
  861. padding: 12px 10px;
  862. }
  863. .search-panel {
  864. flex-direction: column;
  865. }
  866. .left-menu {
  867. width: 100%;
  868. flex: none;
  869. overflow-x: auto;
  870. }
  871. .left-menu ul {
  872. display: flex;
  873. min-width: max-content;
  874. }
  875. .left-menu li {
  876. flex: 1 0 auto;
  877. white-space: nowrap;
  878. }
  879. .right-search {
  880. width: 100%;
  881. padding: 16px;
  882. }
  883. .search-title {
  884. font-size: 18px;
  885. }
  886. .search-box {
  887. margin: 12px 0;
  888. }
  889. .search-btn {
  890. padding: 0 18px;
  891. }
  892. }