星火官网,前端页面(前台)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

product.css 8.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
  1. *{
  2. margin: 0;
  3. }
  4. .pro_content{
  5. background-color: white;
  6. }
  7. .pro_header{
  8. width: 100%;
  9. height: 3.9rem;
  10. position: relative;
  11. padding-top: 0.8rem;
  12. }
  13. .pro_header img{
  14. width: 100%;
  15. height: 100%;
  16. }
  17. .suspension {
  18. position: absolute;
  19. left: 2rem;
  20. top: 1.3rem;
  21. color: white;
  22. }
  23. .suspension div {
  24. font-weight: bold;
  25. font-size: 0.4rem;
  26. margin-bottom: 0.4rem;
  27. }
  28. .suspension p {
  29. font-size: 0.16rem;
  30. }
  31. .piece {
  32. width: 100%;
  33. }
  34. .piece_color{
  35. background-color: #f5f6f9ff;
  36. }
  37. .piece_item{
  38. width: 13rem;
  39. margin:0 auto;
  40. padding: 1rem 0 0.4rem;
  41. }
  42. .area_titles{
  43. font-size: 0.4rem;
  44. color: #333333;
  45. font-weight: bold;
  46. text-align: center;
  47. margin-bottom: 0.4rem;
  48. }
  49. .area_comm p{
  50. color: #000000;
  51. font-size: 0.16rem;
  52. text-align: center;
  53. letter-spacing: 0.02rem;
  54. line-height: 0.3rem;
  55. margin: 0;
  56. }
  57. .area_content{
  58. margin-top: 0.4rem;
  59. }
  60. .area_list{
  61. display: flex;
  62. justify-content: space-between;
  63. }
  64. .area_item{
  65. border-radius: 0.1rem;
  66. background: #fefeffff;
  67. border: 1px solid #f1f4fc;
  68. padding: 0 0.2rem 0.1rem;
  69. box-sizing: border-box;
  70. background-color: #fefeff;
  71. text-align: center;
  72. cursor: pointer;
  73. }
  74. .area_item img{
  75. width: 0.56rem;
  76. height: 0.56rem;
  77. display: inline-block;
  78. margin: 0;
  79. }
  80. .area_item div{
  81. text-align: center;
  82. font-size: 0.24rem;
  83. font-weight: bold;
  84. letter-spacing: 0.02rem;
  85. color: #000000;
  86. line-height: 0.6rem;
  87. }
  88. .area_item p {
  89. color: #666666;
  90. text-align: left;
  91. line-height: 0.3rem;
  92. font-size: 0.16rem;
  93. letter-spacing: 0.02rem;
  94. }
  95. .three{
  96. width: calc(33% - 0.2rem);
  97. }
  98. .four {
  99. width: calc(25% - 0.2rem);
  100. }
  101. .school_flex{
  102. display: flex;
  103. margin-top: 1rem;
  104. justify-content: center;
  105. }
  106. .school_img{
  107. width: 4.7rem;
  108. height: 4.7rem;
  109. }
  110. .school{
  111. width: 4rem;
  112. text-align: right;
  113. position: relative;
  114. }
  115. .school_item{
  116. width: 2rem;
  117. height: 0.4rem;
  118. font-weight: 900;
  119. background-color: white;
  120. border-radius: 0.04rem;
  121. box-shadow: 0 0 0.12rem #0000001a;
  122. display: flex;
  123. align-items: center;
  124. flex-direction: row-reverse;
  125. position: absolute;
  126. right: 0.5rem;
  127. }
  128. .school_itemr {
  129. width: 2rem;
  130. height: 0.4rem;
  131. background-color: white;
  132. border-radius: 0.04rem;
  133. box-shadow: 0 0 0.12rem #0000001a;
  134. display: flex;
  135. align-items: center;
  136. position: absolute;
  137. left: 0.5rem;
  138. }
  139. .school span{
  140. color: #2d8cf0;
  141. font-size: 0.16rem;
  142. text-align: center;
  143. }
  144. .school img{
  145. width: 0.54rem;
  146. height: 0.54rem;
  147. margin-right: -0.1rem;
  148. margin-left: 0.2rem;
  149. }
  150. .area_item:hover{
  151. box-shadow: 0 0 0.12rem #0000001a;
  152. transform: translate(0, -4px);
  153. }
  154. .school_itemr img{
  155. margin-left: -0.1rem;
  156. margin-right: 0.2rem;
  157. }
  158. .s1{
  159. top: 0.8rem;
  160. }
  161. .s2{
  162. top:2.4rem;
  163. right: 0.8rem;
  164. }
  165. .s3 {
  166. top: 4rem;
  167. }
  168. .s4 {
  169. top: 0.8rem;
  170. }
  171. .s5 {
  172. top: 2.4rem;
  173. left: 0.8rem;
  174. }
  175. .s6 {
  176. top: 4rem;
  177. }
  178. .exam_lbt{
  179. margin-top: 0.4rem;
  180. }
  181. .exam_container{
  182. display: flex;
  183. }
  184. .exam_pagination{
  185. display: inline-block;
  186. width: 3rem;
  187. margin-right: 0.2rem;
  188. }
  189. .exam_item {
  190. height: 0.9rem;
  191. margin-bottom: 0.2rem;
  192. position: relative;
  193. }
  194. .exam_item img{
  195. position: absolute;
  196. width: 100%;
  197. height: 100%;
  198. }
  199. .exam_content {
  200. width: 7rem;
  201. height: 5rem;
  202. position: relative;
  203. overflow: hidden;
  204. }
  205. .show_exam{
  206. width: 100%;
  207. height: 100%;
  208. position: absolute;
  209. top: 0;
  210. left: 0;
  211. }
  212. .exam_slide{
  213. width: 100%;
  214. height: 100%;
  215. position: absolute;
  216. visibility: hidden;
  217. }
  218. .exam_vise{
  219. visibility: visible;
  220. }
  221. .exam_content img {
  222. width: 100%;
  223. height: 100%;
  224. /* object-fit: cover; */
  225. }
  226. .exam_slide span{
  227. position: absolute;
  228. }
  229. .area_client {
  230. margin-top: 1rem;
  231. }
  232. .area_top {
  233. display: flex;
  234. }
  235. .area_left {
  236. flex: 3;
  237. text-align: right;
  238. }
  239. .area_num {
  240. color: #2d8cf0;
  241. font-weight: bold;
  242. font-size: 0.48rem;
  243. }
  244. .area_tit {
  245. color: #333333;
  246. font-weight: bold;
  247. font-size: 0.18rem;
  248. line-height: 0.6rem;
  249. }
  250. .area_jia {
  251. color: #2d8cf0;
  252. font-weight: bold;
  253. font-size: 0.36rem;
  254. margin-top: -0.1rem;
  255. }
  256. .area_com {
  257. color: #333333;
  258. font-size: 0.16rem;
  259. line-height: 0.3rem;
  260. text-align: left;
  261. }
  262. .area_right {
  263. flex: 3;
  264. text-align: left;
  265. }
  266. .area_spacing {
  267. padding-top: 0.3rem;
  268. height: 2.1rem;
  269. display: flex;
  270. flex-direction: column;
  271. }
  272. .area_li{
  273. display: flex;
  274. flex-direction: row-reverse;
  275. align-items: center;
  276. margin-bottom: 0.2rem;
  277. }
  278. .area_lis{
  279. display: flex;
  280. align-items: center;
  281. margin-bottom: 0.2rem;
  282. }
  283. .area_title{
  284. color: #333333;
  285. font-size: 0.18rem;
  286. font-weight: bold;
  287. margin-left: 0.1rem;
  288. }
  289. .area_top img {
  290. width: 6rem;
  291. height: 5rem;
  292. margin: 0 0.6rem;
  293. }
  294. .area_spacing img {
  295. width: 0.3rem;
  296. height: 0.3rem;
  297. margin: 0;
  298. }
  299. .area_approve {
  300. position: absolute;
  301. left: 50%;
  302. transform: translate(-50%, 0);
  303. }
  304. .area_bot {
  305. margin-top: 0.3rem;
  306. }
  307. .bot_con{
  308. width: 3rem;
  309. margin: 0 auto;
  310. }
  311. .bot_con img{
  312. width: 0.3rem;
  313. height: 0.3rem;
  314. }
  315. .area_teaching{
  316. display: flex;
  317. margin: 1rem 0 0.4rem;
  318. }
  319. .teach_item{
  320. padding: 0 0.6rem;
  321. box-sizing: border-box;
  322. height: 6.4rem;
  323. }
  324. .teach_title{
  325. display: inline-block;
  326. line-height: 0.38rem;
  327. width: 1rem;
  328. height: 0.34rem;
  329. border-radius: 0.2rem;
  330. border: 2px solid #333333;
  331. color: #000000;
  332. font-weight: bold;
  333. font-size: 0.2rem;
  334. text-align: center;
  335. margin-bottom: 0.3rem;
  336. }
  337. .teach_comm{
  338. color: #333333;
  339. font-size: 0.16rem;
  340. line-height: 0.3rem;
  341. }
  342. .teach_left{
  343. background-image: url("../img/product/teach_left.png");
  344. background-size: cover;
  345. }
  346. .teach_centre {
  347. background-image: url("../img/product/teach_centre.png");
  348. background-size: cover;
  349. }
  350. .teach_right {
  351. background-image: url("../img/product/teach_right.png");
  352. background-size: cover;
  353. }
  354. .area_ques{
  355. width: 100%;
  356. background-image: url("../img/product/ques.png");
  357. background-size: cover;
  358. }
  359. .ques_content{
  360. width: 100%;
  361. height: 7rem;
  362. position: relative;
  363. }
  364. .ques_item{
  365. width: 2rem;
  366. position: absolute;
  367. }
  368. .ques_left{
  369. top: 4rem;
  370. left: 2.5rem;
  371. }
  372. .ques_centre {
  373. top: 2.2rem;
  374. left: 50%;
  375. transform: translateX(-50%);
  376. }
  377. .ques_centre .ques_title{
  378. text-align: center;
  379. }
  380. .ques_right {
  381. width: 2rem;
  382. top: 4rem;
  383. right: 2.4rem;
  384. }
  385. .ques_right .ques_title{
  386. text-align: right;
  387. }
  388. .ques_title{
  389. color: #333333;
  390. font-weight: bold;
  391. font-size: 0.28rem;
  392. margin-bottom: 0.1rem;
  393. }
  394. .ques_comm {
  395. color: #333333;
  396. font-size: 0.16rem;
  397. line-height: 0.3rem;
  398. }
  399. .Microcourse{
  400. margin-top: 1rem;
  401. display: flex;
  402. justify-content: center;
  403. }
  404. .Microcourse .mic_pig{
  405. width: 7rem;
  406. height: 5rem;
  407. }
  408. .mic_item{
  409. width: 4.4rem;
  410. padding-right: 0.4rem;
  411. height: 2rem;
  412. display: flex;
  413. align-items: center;
  414. margin-bottom: 0.2rem;
  415. }
  416. .mic_title{
  417. color: #333333;
  418. font-size: 0.26rem;
  419. margin-bottom: 0.2rem;
  420. }
  421. .mic_comm{
  422. color: #666666;
  423. font-size: 0.16rem;
  424. line-height: 0.3rem;
  425. }
  426. .mic_item img{
  427. margin: 0 0.4rem;
  428. width: 0.46rem;
  429. height: 0.46rem;
  430. }
  431. .mic_item:hover{
  432. cursor: pointer;
  433. border-radius:0.04rem ;
  434. box-shadow: 0 0 0.12rem #0000001a;
  435. transform: translate(0, -4px);
  436. }
  437. .nav{
  438. position: fixed;
  439. top: 5rem;
  440. left: 0.6rem;
  441. border-radius: 0.08rem;
  442. background: #ffffffff;
  443. box-shadow: 1px 0 3px 0 #0000001a;
  444. }
  445. .nav>div{
  446. font-size: 0.14rem;
  447. text-align: center;
  448. color: #666666;
  449. width: 1.2rem;
  450. border-bottom: 1px solid #f7f7f7f7 ;
  451. cursor: pointer;
  452. padding: 0.1rem 0;
  453. }
  454. .nav div:first-of-type {
  455. border-top-right-radius:0.08rem;
  456. border-top-left-radius: 0.08rem;
  457. line-height: 0.4rem;
  458. }
  459. .nav div:last-of-type{
  460. border-bottom-right-radius: 0.08rem;
  461. border-bottom-left-radius: 0.08rem;
  462. }
  463. .nav img{
  464. width: 0.16rem;
  465. height: 0.16rem;
  466. }
  467. .nav p{
  468. line-height: 0.26rem;
  469. }
  470. .nav .active {
  471. color: #2d8cf0;
  472. }
  473. /* 过度动画 */
  474. .flip-scale-down-hor {
  475. -webkit-animation: flip-scale-down-hor 0.5s linear both;
  476. animation: flip-scale-down-hor 0.5s linear both;
  477. }
  478. @keyframes flip-scale-down-hor {
  479. 0% {
  480. -webkit-transform: scale(1) ;
  481. transform: scale(1) ;
  482. }
  483. 50% {
  484. -webkit-transform: scale(0.5) ;
  485. transform: scale(0.5);
  486. }
  487. 100% {
  488. -webkit-transform: scale(0);
  489. transform: scale(0) ;
  490. transform-origin: top center;
  491. }
  492. }
  493. .flip-scale-up-hor {
  494. -webkit-animation: flip-scale-up-hor 0.5s linear both;
  495. animation: flip-scale-up-hor 0.5s linear both;
  496. }
  497. @keyframes flip-scale-up-hor {
  498. 0% {
  499. -webkit-transform: scale(0);
  500. transform: scale(0) ;
  501. transform-origin: bottom center;
  502. }
  503. 50% {
  504. -webkit-transform: scale(0.5);
  505. transform: scale(0.5);
  506. }
  507. 100% {
  508. -webkit-transform: scale(1);
  509. transform: scale(1);
  510. transform-origin: center center;
  511. }
  512. }