jjyglxy.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751
  1. .header-top{
  2. width: 100%;
  3. background-color: #f5f6fa;
  4. padding: 16px 0;
  5. }
  6. .header-right{
  7. position: absolute;
  8. right: 0;
  9. top: 50%;
  10. transform: translateY(-50%);
  11. }
  12. .header-top .wrap{
  13. position: relative;
  14. }
  15. .header-search input{
  16. height: 20px;
  17. padding: 0 10px;
  18. }
  19. .header-search-icon{
  20. display: inline-block;
  21. width: 40px;
  22. height: 24px;
  23. background: #0076F9 url(../images/icon/search-white.png) no-repeat center;
  24. background-size: 16px;
  25. vertical-align: middle;
  26. border-radius: 0 3px 3px 0;
  27. cursor: pointer;
  28. }
  29. body{
  30. color: #000;
  31. background-color: #ebebeb;
  32. }
  33. a{
  34. color: #000;
  35. }
  36. a:hover{
  37. color: #ff1111;
  38. }
  39. .header-img{
  40. position: relative;
  41. }
  42. .header-img img{
  43. width: auto;
  44. }
  45. /* 导航 */
  46. .header-nav{
  47. background-color: #87cefa;
  48. }
  49. .header-nav ul{
  50. height: 50px;
  51. line-height: 50px;
  52. background-color: transparent;
  53. }
  54. .nav-secondLevel{
  55. top: 50px;
  56. }
  57. .header-nav li:last-child{
  58. background: none;
  59. }
  60. /* .header-nav li:hover a {
  61. background-color: #FF1111 ;
  62. } */
  63. .header-nav .nav-secondLevel li a{
  64. border-color: #fff;
  65. background-color: #87cefa;
  66. color: #000;
  67. }
  68. .nav-secondLevel li:hover a {
  69. background-color: #FF1111 ;
  70. color: #ffff00;
  71. }
  72. .nav-secondLevel .nav-threeLevel a{
  73. background-color: #87cefa !important;
  74. color: #000 !important;
  75. }
  76. .header-nav .nav-threeLevel li a:hover {
  77. background-color: #FF1111 !important;
  78. color: #ffff00 !important;
  79. }
  80. .header-nav li a{
  81. position: relative;
  82. height: 50px;
  83. line-height: 50px;
  84. }
  85. .header-nav>ul>li>a{
  86. font-size: 16px;
  87. color: #000;
  88. }
  89. .header-nav a i{
  90. width: 0;
  91. height: 0;
  92. border: 6px solid transparent;
  93. border-bottom-color: #fff;
  94. position: absolute;
  95. bottom: 0;
  96. left: 50%;
  97. transform: translateX(-50%);
  98. opacity: 0;
  99. }
  100. .header-nav li:hover a i{
  101. opacity: 1;
  102. }
  103. /* 主体 */
  104. .content{
  105. margin-top: 20px;
  106. }
  107. .content-row{
  108. display: flex;
  109. justify-content: space-between;
  110. }
  111. .content-item{
  112. width: 32%;
  113. box-sizing: border-box;
  114. margin-bottom: 20px;
  115. border: 1px solid #87cefa;
  116. background-color: #fff;
  117. }
  118. .content-item-center{
  119. width: 34.5%;
  120. }
  121. .content-item h2{
  122. background-size: contain;
  123. font-size: 14px;
  124. overflow: hidden;
  125. background-color: #87cefa;
  126. padding-right: 14px;
  127. }
  128. .content-item h2 span{
  129. display: inline-block;
  130. padding: 10px 14px;
  131. font-size: 18px;
  132. }
  133. .content-item h2 span i{
  134. border-left: 6px solid #FF6600;
  135. margin-right: 12px;
  136. }
  137. .content-item h2 a{
  138. font-weight: normal;
  139. float: right;
  140. margin-top: 10px;
  141. }
  142. .content-item h2 a:hover{
  143. color: #FF0000;
  144. }
  145. .content-item h2 a:hover .triangle{
  146. border-left-color: #FF0000;
  147. }
  148. .content-wrap ul li{
  149. height: 44px;
  150. line-height: 44px;
  151. margin: 0 10px;
  152. border-bottom: 1px dashed #ccc;
  153. }
  154. .content-wrap li p{
  155. width: calc(100% - 80px);
  156. overflow: hidden;
  157. text-overflow: ellipsis;
  158. white-space: nowrap;
  159. float: left;
  160. }
  161. .content-wrap ul .content-imageText{
  162. height: auto;
  163. line-height: inherit;
  164. border-bottom: none;
  165. margin-top: 12px;
  166. }
  167. .content-wrap li dl{
  168. overflow: hidden;
  169. }
  170. .content-wrap li dl dt{
  171. width: 50%;
  172. float: left;
  173. overflow: hidden;
  174. margin-right: 10px;
  175. }
  176. .content-wrap li dl dt img{
  177. width: 100%;
  178. transition: all .2s;
  179. }
  180. .content-imageText:hover dt img{
  181. transform: scale(1.2);
  182. }
  183. .content-wrap li dl dd{
  184. line-height: 28px;
  185. display: -webkit-box;
  186. -webkit-box-orient: vertical;
  187. -webkit-line-clamp: 3;
  188. overflow: hidden;
  189. }
  190. .content-imageText-time{
  191. color: #666;
  192. }
  193. .content-wrap .list-time {
  194. float: right;
  195. color: #666;
  196. }
  197. .content-wrap a:hover .list-time {
  198. color: #ff1111;
  199. }
  200. .content-QRcode{
  201. text-align: center;
  202. display: flex;
  203. justify-content: space-around;
  204. margin: 50px 0;
  205. }
  206. .content-QRcode-item{
  207. width: 32%;
  208. }
  209. .content-QRcode-item img{
  210. width: 100%;
  211. }
  212. .content-QRcode-item p{
  213. margin-top: 10px;
  214. }
  215. /* banner轮播 */
  216. .banner{
  217. padding-bottom: 20px;
  218. }
  219. .banner .swiper-pagination-bullet{
  220. width: 12px;
  221. height: 12px;
  222. }
  223. .banner .swiper-pagination-bullet-active {
  224. color:#fff;
  225. background: #ff3300;
  226. }
  227. .banner .swiper-container-horizontal>.swiper-pagination-bullets{
  228. text-align: right;
  229. left: -8px;
  230. }
  231. .banner .swiper-slide{
  232. position: relative;
  233. }
  234. .banner .swiper-slide img{
  235. display: block;
  236. width: 100%;
  237. }
  238. .banner .swiper-slide .swiper-title{
  239. position: absolute;
  240. left: 0;
  241. bottom: 0;
  242. height: 38px;
  243. line-height: 38px;
  244. background-color: rgba(0,0,0,.6);
  245. color: #fff;
  246. padding: 0 125px 0 10px;
  247. box-sizing: border-box;
  248. width: 100%;
  249. overflow: hidden;
  250. text-overflow: ellipsis;
  251. white-space: nowrap;
  252. }
  253. /* 轮播 */
  254. .content-item-swiper .swiper-pagination-bullet{
  255. width: 22px;
  256. height: 18px;
  257. line-height: 18px;
  258. border-radius: 2px;
  259. font-size: 12px;
  260. text-align: center;
  261. background-color: rgba(0, 0, 0, .6);
  262. color: #fff;
  263. }
  264. .content-item-swiper .swiper-pagination-bullet-active {
  265. color:#fff;
  266. background: rgba(185, 13, 13, .7);
  267. }
  268. .content-item-swiper .swiper-container-horizontal>.swiper-pagination-bullets{
  269. text-align: right;
  270. left: -3px;
  271. bottom: 3px;
  272. }
  273. .content-item-swiper .swiper-slide{
  274. position: relative;
  275. }
  276. .content-item-swiper .swiper-slide img{
  277. display: block;
  278. width: 100%;
  279. }
  280. .content-item-swiper .swiper-slide .swiper-title{
  281. position: absolute;
  282. left: 0;
  283. top: 0;
  284. height: 26px;
  285. line-height: 26px;
  286. background-color: #B90D0D;
  287. color: #fff;
  288. padding: 0 10px;
  289. box-sizing: border-box;
  290. width: 100%;
  291. overflow: hidden;
  292. text-overflow: ellipsis;
  293. white-space: nowrap;
  294. text-align: center;
  295. }
  296. .sidebar{
  297. position: fixed;
  298. right: 0;
  299. top: 50%;
  300. transform: translateY(-50%);
  301. z-index: 10;
  302. }
  303. .sidebar img{
  304. display: block;
  305. }
  306. .sidebar-close{
  307. float: right;
  308. padding: 5px 10px;
  309. }
  310. /* 列表页 */
  311. .content-list-wrap,
  312. .content-left{
  313. border: 1px solid #87cefa;
  314. background-color: #fff;
  315. }
  316. .content-left-list li a{
  317. background: url(../images/icon/triangle.jpg) no-repeat 10px center;
  318. text-align: left;
  319. padding-left: 32px;
  320. }
  321. .crumbs{
  322. background-color: #87cefa;
  323. line-height: 40px;
  324. overflow: hidden;
  325. }
  326. .crumbs p {
  327. float: left;
  328. font-weight: bold;
  329. font-size: 16px;
  330. }
  331. .crumbs-right {
  332. float: right;
  333. }
  334. .list-wrap .list-time{
  335. color: #666;
  336. }
  337. /* 目录页 */
  338. .catalog-title{
  339. /* border: none;
  340. background-color: #87cefa;
  341. padding: 0 20px; */
  342. border-color: #ff0000;
  343. }
  344. /* 底部 */
  345. .footer{
  346. margin-top: 20px;
  347. }
  348. .footer-mesg{
  349. background-color: #87cefa;
  350. color: #000;
  351. }
  352. .mobile-nav-icon span{
  353. background-color: #ff0000;
  354. }
  355. .mobile-header-nav .nav-threeLevel li a{
  356. background-color: #f55555;
  357. }
  358. /* 响应式 */
  359. @media screen and (max-width: 1024px) {
  360. }
  361. @media screen and (max-width: 980px) {
  362. .header-nav ul{
  363. height: auto;
  364. }
  365. /* flex布局,item元素补全 */
  366. .header-nav ul::after{
  367. content: "";
  368. width: 50%;
  369. }
  370. .header-mesg{
  371. position: relative;
  372. top: 0;
  373. left: 0;
  374. transform: translateY(0);
  375. overflow: hidden;
  376. }
  377. .header-mesg p{
  378. float: left;
  379. margin-right: 20px;
  380. margin-bottom: 8px;
  381. }
  382. .content-row{
  383. flex-wrap: wrap;
  384. }
  385. .content-item{
  386. width: 100% !important;
  387. }
  388. .header-right {
  389. right: 90px;
  390. }
  391. }
  392. @media screen and (max-width: 768px) {
  393. .content-item{
  394. width: 100%;
  395. }
  396. /* 轮播 */
  397. .content-item-swiper .swiper-container{
  398. width: 100%;
  399. float: inherit;
  400. }
  401. .content-item-swiper ul{
  402. margin-left: 0;
  403. }
  404. .content-item-swiper .content-wrap{
  405. margin-left: 0;
  406. margin-top: 20px;
  407. }
  408. }
  409. @media screen and (max-width: 640px) {
  410. .header{
  411. box-shadow: 0 1px 3px #ddd;
  412. }
  413. .header-top .wrap{
  414. width: 100%;
  415. }
  416. .mobile-nav-icon {
  417. right: 18px;
  418. }
  419. .header-img{
  420. width: 100%;
  421. height: auto;
  422. }
  423. .header-img img{
  424. height: 60px;
  425. width: auto;
  426. padding: 5px 0;
  427. }
  428. .content-wrap li p{
  429. width: calc(100% - 100px);
  430. }
  431. .content{
  432. margin-top: 70px !important;
  433. }
  434. .header-search {
  435. display: none;
  436. }
  437. .header-top {
  438. padding: 0;
  439. }
  440. .content-flex {
  441. flex-wrap: wrap;
  442. }
  443. .content-flex-left,
  444. .content-flex-right {
  445. width: 100% !important;
  446. }
  447. }
  448. /* 新样式 */
  449. .header-nav {
  450. background-color: #7f409f;
  451. box-shadow: 0 5px 12px #e68e4a;
  452. }
  453. .header-nav>ul>li>a {
  454. color: #fff;
  455. }
  456. .header-nav .nav-secondLevel li a {
  457. background-color: #7f409f;
  458. color: #fff;
  459. }
  460. .nav-secondLevel .nav-threeLevel a {
  461. background-color: #7f409f !important;
  462. color: #fff !important;
  463. }
  464. .nav-secondLevel li:hover a {
  465. background-color: #FF1111;
  466. color: #ffff00;
  467. }
  468. .header-nav .nav-threeLevel li a:hover {
  469. background-color: #FF1111 !important;
  470. color: #ffff00 !important;
  471. }
  472. .content {
  473. margin-top: 24px;
  474. }
  475. .content-item h2 {
  476. background-color: #7f409f;
  477. color: #fff;
  478. }
  479. .content-item h2 a {
  480. color: #fff;
  481. }
  482. .content-item {
  483. border: 1px solid #e2a99c;
  484. width: 49%;
  485. }
  486. .content-flex {
  487. display: flex;
  488. justify-content: space-between;
  489. width: 100%;
  490. }
  491. .content-flex-left {
  492. width: 66%;
  493. flex-grow: 0;
  494. flex-shrink: 0;
  495. }
  496. .content-row {
  497. flex-wrap: wrap;
  498. }
  499. .content-item-center {
  500. width: 100%;
  501. }
  502. .content-flex-right {
  503. width: 32%;
  504. }
  505. .content-flex-right .content-item {
  506. width: 100%;
  507. }
  508. .content-QRcode {
  509. margin: 20px 0;
  510. }
  511. .content-QRcode-item {
  512. width: 88%;
  513. }
  514. /* 专业设置 */
  515. .content-item-special ul {
  516. display: flex;
  517. flex-wrap: wrap;
  518. justify-content: space-around;
  519. margin-top: 13px;
  520. }
  521. .content-item-special ul li {
  522. box-sizing: border-box;
  523. height: 56px;
  524. line-height: 50px;
  525. width: 91%;
  526. margin: 0;
  527. background: url(../images/technical/pic/bg-medicine3.jpg) left center;
  528. background-size: cover;
  529. margin-bottom: 13px;
  530. text-align: center;
  531. border: 3px solid #a2e5ac;
  532. padding-left: 0;
  533. }
  534. .content-item-special ul li:nth-child(2),
  535. .content-item-special ul li:nth-child(11) {
  536. background-image: url(../images/technical/pic/bg-medicine8.jpg);
  537. border-color: #dbd2b1;
  538. }
  539. .content-item-special ul li:nth-child(3),
  540. .content-item-special ul li:nth-child(12) {
  541. background-image: url(../images/technical/pic/bg-medicine3.jpg);
  542. border-color: #96cdd3;
  543. }
  544. .content-item-special ul li:nth-child(4),
  545. .content-item-special ul li:nth-child(13) {
  546. background-image: url(../images/technical/pic/bg-medicine5.jpg);
  547. border-color: #a0c7a6;
  548. }
  549. .content-item-special ul li:nth-child(5),
  550. .content-item-special ul li:nth-child(14) {
  551. background-image: url(../images/technical/pic/bg-medicine6.jpg);
  552. border-color: #b4c2da;
  553. }
  554. .content-item-special ul li:nth-child(6),
  555. .content-item-special ul li:nth-child(15) {
  556. background-image: url(../images/technical/pic/bg-medicine7.jpg);
  557. border-color: #b9bad9;
  558. }
  559. .content-item-special ul li:nth-child(7),
  560. .content-item-special ul li:nth-child(16) {
  561. background-image: url(../images/technical/pic/bg-medicine8.jpg);
  562. border-color: #bcda9d;
  563. }
  564. .content-item-special ul li:nth-child(8),
  565. .content-item-special ul li:nth-child(17) {
  566. background-image: url(../images/technical/pic/bg-medicine3.jpg);
  567. border-color: #e5afb2;
  568. }
  569. .content-item-special ul li:nth-child(9),
  570. .content-item-special ul li:nth-child(18) {
  571. background-image: url(../images/technical/pic/bg-medicine5.jpg);
  572. border-color: #9abce7;
  573. }
  574. .content-item-special ul li:nth-child(10),
  575. .content-item-special ul li:nth-child(19) {
  576. background-image: url(../images/technical/pic/bg-medicine9.jpg);
  577. border-color: #9be1ad;
  578. }
  579. .content-item-special li p {
  580. box-sizing: border-box;
  581. width: 100%;
  582. height: 100%;
  583. padding: 0 10px;
  584. background-color: rgba(255, 255, 255, .3);
  585. font-size: 18px;
  586. }
  587. .footer {
  588. box-shadow: 0px -5px 12px #e68e4a;
  589. margin-top: 24px;
  590. }
  591. .footer-mesg {
  592. background-color: #7f409f;
  593. color: #fff;
  594. }
  595. .crumbs {
  596. background-color: #7f409f;
  597. color: #fff;
  598. }
  599. .crumbs a {
  600. color: #fff;
  601. }
  602. .content-list-wrap, .content-left {
  603. border-color: #e2a99c;
  604. }