base.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924
  1. @font-face {
  2. font-family: 'NumberFont';
  3. src: url('/static/index/font/poppins/Poppins-Bold.woff') format('woff'),
  4. url('/static/index/font/poppins/Poppins-Medium.woff') format('woff'),
  5. url('/static/index/font/poppins/Poppins-Regular.woff') format('woff');
  6. unicode-range: U+30-39; /* 只针对数字0-9 */
  7. }
  8. @font-face {
  9. font-family: 'syht';
  10. src: url('/static/index/font/syht/SourceHanSansSC-Bold-2.woff') format('woff'),
  11. url('/static/index/font/syht/SourceHanSansSC-Medium-2.woff') format('woff'),
  12. url('/static/index/font/syht/SourceHanSansSC-Regular-2.woff') format('woff');
  13. }
  14. body {font-family: 'syht', 'Poppins', sans-serif !important;}
  15. body {
  16. color: #333;
  17. background: #ffffff;
  18. }
  19. body,
  20. h1,
  21. h2,
  22. h3,
  23. h4,
  24. h5,
  25. h6,
  26. .h1,
  27. .h2,
  28. .h3,
  29. .h4,
  30. .h5,
  31. .h6,
  32. a {
  33. /* font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", STHeiti, "Microsoft YaHei"; */
  34. }
  35. h1,
  36. h2,
  37. h3,
  38. h4,
  39. h5 {
  40. margin: 0;
  41. }
  42. ul,
  43. li {
  44. list-style: none;
  45. margin: 0;
  46. padding: 0;
  47. }
  48. a:hover,
  49. a:focus {
  50. text-decoration: none;
  51. }
  52. a,
  53. a:focus,
  54. .btn:focus,
  55. .btn:active:focus,
  56. .btn.active:focus,
  57. .btn.focus,
  58. .btn.focus:active,
  59. .btn.active.focus {
  60. outline: none;
  61. }
  62. /*theme color 主题色*/
  63. .text_default,
  64. .text_default:focus {
  65. color: #fb8d5c;
  66. }
  67. a.text_default:hover {
  68. color: #fb5d0c;
  69. }
  70. .text_tips {
  71. color: #ff4646;
  72. }
  73. a.text_tips:hover {
  74. color: #ff5757;
  75. }
  76. .a_link {
  77. color: #357ebc;
  78. font-size: 12px;
  79. }
  80. .color_666 {
  81. color: #666;
  82. }
  83. .color_80 {
  84. color: #808080;
  85. }
  86. .fz_14 {
  87. font-size: 14px;
  88. }
  89. .bg_default,
  90. .btn_default {
  91. background: #5c92ef;
  92. }
  93. .bg_ccc {
  94. background: #ccc;
  95. }
  96. .btn_success {
  97. background: #78bf78;
  98. }
  99. .btn_white {
  100. background: #fff;
  101. border: 1px solid #fb8d5c;
  102. }
  103. .btn_tips {
  104. background: #f96363;
  105. }
  106. .btn_default,
  107. .btn_success,
  108. .btn_tips {
  109. color: #fff;
  110. }
  111. .btn_hot {
  112. background: #f96363;
  113. }
  114. .btn_success {
  115. background: #78bf78;
  116. }
  117. .btn_default {
  118. background: #5c92ef;
  119. }
  120. .btn_hot,
  121. .btn_success,
  122. .btn_default {
  123. vertical-align: middle;
  124. color: #fff;
  125. outline: none;
  126. }
  127. .btn_dismiss,
  128. .btn_dismiss:hover {
  129. border: 1px solid #fc8e5d;
  130. background: #fff;
  131. color: #fc8e5d;
  132. outline: none;
  133. }
  134. .btn_hot:hover,
  135. .btn_success:hover,
  136. .btn_default:hover,
  137. .btn_hot:focus,
  138. .btn_success:focus,
  139. .btn_default:focus {
  140. color: #fff;
  141. outline: none;
  142. }
  143. .fz_20 {
  144. font-size: 20px;
  145. }
  146. .m-b_40 {
  147. margin-bottom: 40px;
  148. }
  149. .m-t_60 {
  150. margin-top: 60px;
  151. }
  152. .color_4c {
  153. color: #4c4c4c;
  154. }
  155. /*导航条*/
  156. #nav-box {
  157. position: relative;
  158. min-height: 70px;
  159. margin-bottom: 0;
  160. border: none;
  161. }
  162. #nav-box .container-fluid {
  163. max-width: 1170px;
  164. }
  165. #nav-box.navbar-default {
  166. background-color: #fff;
  167. border-bottom: 2px solid #5c92ef;
  168. }
  169. #nav-box .navbar-brand {
  170. float: left;
  171. padding: 0 15px;
  172. height: 70px;
  173. }
  174. #nav-box .navbar-brand {
  175. padding: 0;
  176. }
  177. #nav-box .navbar-brand .logo {
  178. display: block;
  179. width: 158px;
  180. height: 70px;
  181. background: url(../img/logo.png) 0 center no-repeat;
  182. }
  183. #nav-box.other_nav .navbar-brand .logo {
  184. width: auto;
  185. height: 40px;
  186. background: none;
  187. margin: 15px 0;
  188. }
  189. #nav-box.other_nav .navbar-brand .logo img {
  190. height: 40px;
  191. }
  192. #nav-box .navbar-brand h1 {
  193. height: 0;
  194. font-size: 0;
  195. overflow: hidden;
  196. text-decoration: -9999px;
  197. }
  198. #nav-box .navbar-toggle {
  199. margin-left: 15px;
  200. margin-top: 18px;
  201. }
  202. .navbar-header {
  203. float: right;
  204. }
  205. /*main-nav*/
  206. #main-nav {
  207. margin-left: 45px;
  208. }
  209. #main-nav li a {
  210. padding: 0;
  211. }
  212. #main-nav li {
  213. margin-right: 60px;
  214. }
  215. #main-nav li a {
  216. padding: 0;
  217. line-height: 70px;
  218. font-size: 16px;
  219. color: #666;
  220. }
  221. #main-nav li a:hover {
  222. color: #5c92ef;
  223. }
  224. #main-nav li.active a,
  225. #main-nav li.active a:hover,
  226. .navbar-default #main-nav li.active a:focus {
  227. color: #5c92ef;
  228. background-color: #fff;
  229. outline: none;
  230. }
  231. .header-user {
  232. float: right;
  233. display: block;
  234. }
  235. .header-user li {
  236. float: right;
  237. margin-left: 15px;
  238. line-height: 70px;
  239. }
  240. .header-user .notice-tips {
  241. display: block;
  242. font-size: 0;
  243. }
  244. .notice-tips .notice-count {
  245. display: none;
  246. vertical-align: middle;
  247. padding: 2px 10px;
  248. line-height: 1;
  249. font-size: 12px;
  250. color: #fff;
  251. border-radius: 8px;
  252. background: #ff5224;
  253. }
  254. .notice-tips img {
  255. vertical-align: middle;
  256. }
  257. .main-nav .user_btn {
  258. height: 26px;
  259. line-height: 24px;
  260. padding: 0 10px;
  261. text-align: center;
  262. border-radius: 15px;
  263. font-size: 12px;
  264. }
  265. .main-nav .sign_in_btn:hover,
  266. .main-nav .sign_in_btn:active,
  267. .main-nav .sign_in_btn:focus {
  268. color: #5c92ef;
  269. border: none;
  270. background: none;
  271. }
  272. .main-nav .register_btn,
  273. .main-nav .register_btn:hover,
  274. .main-nav .register_btn:active,
  275. .main-nav .register_btn:active,
  276. .main-nav .admin_btn,
  277. .main-nav .admin_btn:hover,
  278. .main-nav .admin_btn:active,
  279. .main-nav .admin_btn:active {
  280. color: #5c92ef;
  281. background: #fff;
  282. border: 1px solid #5c92ef;
  283. }
  284. .main-nav .sign_in_btn,
  285. .main-nav .register_btn {
  286. padding: 0 10px;
  287. }
  288. .main-nav .admin_btn {
  289. padding: 0 20px;
  290. }
  291. .main-nav .sign_in_btn {
  292. color: #666;
  293. border: none;
  294. background: none;
  295. }
  296. .other_nav {
  297. position: relative;
  298. }
  299. .other_nav .page_title {
  300. line-height: 70px;
  301. font-size: 16px;
  302. width: auto;
  303. font-weight: bold;
  304. }
  305. .other_nav_right {
  306. float: right;
  307. }
  308. .other_nav_right .back_btn {
  309. padding: 0;
  310. width: 120px;
  311. height: 30px;
  312. line-height: 28px;
  313. margin: 20px 0;
  314. border-radius: 20px;
  315. text-align: center;
  316. color: #fff;
  317. background: #5c92ef;
  318. }
  319. .two .vip_hot {
  320. display: inline-block;
  321. position: absolute;
  322. width: 14px;
  323. height: 16px;
  324. margin-top: 26px;
  325. margin-left: 2px;
  326. background: url(../img/vip/VIP_Hot.png) 0 0 no-repeat;
  327. }
  328. .one .vip_hot {
  329. position: absolute;
  330. width: 14px;
  331. height: 16px;
  332. top: 26px;
  333. margin-left: 5px;
  334. background: url(../img/vip/VIP_Hot.png) 0 0 no-repeat;
  335. }
  336. @media (max-width: 768px) {
  337. .two {
  338. display: none !important;
  339. }
  340. }
  341. @media (min-width: 768px) {
  342. .one {
  343. display: none !important;
  344. }
  345. }
  346. /*子导航*/
  347. .mini-menu-box {
  348. width: 100%;
  349. background: #f2f2f2;
  350. }
  351. #mini-menu {
  352. min-height: 40px;
  353. }
  354. #mini-menu li {
  355. float: left;
  356. height: 40px;
  357. line-height: 40px;
  358. text-align: center;
  359. width: 11%;
  360. position: relative;
  361. }
  362. #mini-menu li a {
  363. display: block;
  364. color: #666;
  365. font-size: 14px;
  366. }
  367. #mini-menu li a:hover {
  368. background: #e8effc;
  369. }
  370. #mini-menu li.active a {
  371. color: #fff;
  372. background: #5c92ef;
  373. }
  374. #mini-menu li .new_ico {
  375. position: absolute;
  376. display: inline-block;
  377. width: 26px;
  378. height: 13px;
  379. top: 3px;
  380. right: 15%;
  381. background: url(../img/index/new_ico.png) 0 0 no-repeat;
  382. }
  383. #mini-menu li.active .mergeCode_tab .new_ico {
  384. display: block;
  385. background: url(../img/index/new_ico_on.png) 0 0 no-repeat;
  386. }
  387. /*#footer*/
  388. .fix_footer {
  389. position: fixed;
  390. bottom: 0;
  391. left: 0;
  392. width: 100%;
  393. }
  394. #footer {
  395. margin-top: 25px;
  396. padding: 15px 0;
  397. background: #fff;
  398. border-top: 1px solid #e6e6e6;
  399. }
  400. #footer p {
  401. margin: 5px 0;
  402. color: #808080;
  403. font-size: 14px;
  404. }
  405. #footer .site_map a {
  406. color: #808080;
  407. }
  408. #footer .site_map a:hover {
  409. color: #fb8d5c;
  410. text-decoration: underline;
  411. }
  412. /*登陆注册*/
  413. #registerModal .modal-header,
  414. #loginModal .modal-footer,
  415. #registerModal .modal-header,
  416. #registerModal .modal-footer {
  417. padding: 0;
  418. }
  419. #loginModal .modal-footer,
  420. #registerModal .modal-footer {
  421. border: 0;
  422. }
  423. #loginModal .modal-header,
  424. #registerModal .modal-header {
  425. padding-top: 20px;
  426. padding-bottom: 20px;
  427. border-bottom: none;
  428. position: relative;
  429. }
  430. #loginModal .modal-header .close,
  431. #registerModal .modal-header .close {
  432. position: fixed;
  433. top: 20px;
  434. right: 20px;
  435. width: 12px;
  436. height: 12px;
  437. background: url(../img/x.png) 0 0 no-repeat;
  438. font-size: 0;
  439. opacity: 1;
  440. }
  441. #loginModal .modal-title,
  442. #registerModal .modal-title {
  443. padding-top: 20px;
  444. text-align: center;
  445. font-size: 18px;
  446. color: #5c92ef;
  447. }
  448. #loginModal .modal-body,
  449. #registerModal .modal-body {
  450. padding: 0;
  451. }
  452. #loginModal .modal-content,
  453. #registerModal .modal-content {
  454. overflow: hidden;
  455. }
  456. #loginModal .modal-dialog,
  457. #registerModal .modal-dialog {
  458. max-width: 420px;
  459. }
  460. #loginModal .login_form_box,
  461. #registerModal .register_form_box {
  462. width: 280px;
  463. margin: 0 auto;
  464. margin-top: 50px;
  465. }
  466. #loginModal .login_form_box .form-control,
  467. #registerModal .register_form_box .form-control {
  468. height: 40px;
  469. }
  470. #loginModal .loginPhone_box,
  471. #registerModal .registerPhone_box,
  472. #registerModal .verificationCode_box {
  473. margin-bottom: 20px;
  474. }
  475. #registerModal .registerPassword_box {
  476. margin-bottom: 0;
  477. }
  478. #loginModal .loginPassword_box {
  479. margin-bottom: 10px;
  480. }
  481. #loginModal .forget_password {
  482. color: #5c93ef;
  483. font-size: 12px;
  484. }
  485. #loginModal .submit_box,
  486. #registerModal .submit_box {
  487. padding: 30px 0;
  488. }
  489. #loginModal .submit_btn,
  490. #code_login-form .submit_btn,
  491. #registerModal .submit_btn {
  492. padding: 0;
  493. width: 180px;
  494. height: 40px;
  495. line-height: 40px;
  496. background: #5c92ef;
  497. color: #fff;
  498. }
  499. #loginModal .register_link,
  500. #registerModal .login_link {
  501. margin-top: 20px;
  502. }
  503. #loginModal .register_link span,
  504. #registerModal .login_link span {
  505. color: #999;
  506. font-size: 12px;
  507. }
  508. #loginModal .register_link a,
  509. #registerModal .login_link a {
  510. color: #5c92ef;
  511. font-size: 12px;
  512. }
  513. #loginModal .footer_content,
  514. #registerModal .footer_content {
  515. font-size: 14px;
  516. text-align: center;
  517. padding: 12px 35px;
  518. background: #fff;
  519. color: #666;
  520. }
  521. #loginModal .footer_content a,
  522. #registerModal .footer_content a {
  523. color: #ff4949;
  524. text-decoration: underline;
  525. }
  526. #loginModal .footer_content a:hover,
  527. #registerModal .footer_content a:hover {
  528. color: #fa4040;
  529. }
  530. #registerModal .getVerificationCode {
  531. background: #5c92ef;
  532. color: #fff;
  533. height: 40px;
  534. }
  535. .reg_agreement_box {
  536. margin-top: 10px;
  537. font-size: 13px;
  538. }
  539. .reg_agreement_box .reg_agreement_check {
  540. vertical-align: -2px;
  541. }
  542. .reg_agreement_box .reg_agreement_tips {
  543. display: none;
  544. width: 100%;
  545. margin-top: 10px;
  546. text-align: center;
  547. padding: 5px 0;
  548. background: #f7e1df;
  549. color: #da4949;
  550. }
  551. .reg_agreement_link {
  552. color: #5c92ef;
  553. }
  554. .bind-weixin-tab {
  555. /*width: 280px;*/
  556. margin: 0 auto;
  557. margin-bottom: 20px;
  558. display: flex;
  559. }
  560. .bind-weixin-tab .tabitem {
  561. width: 50%;
  562. height: 30px;
  563. text-align: center;
  564. font-size: 18px;
  565. color: #999;
  566. cursor: pointer;
  567. }
  568. .bind-weixin-tab .tabitem.active {
  569. color: #7F8FEF;
  570. position: relative;
  571. }
  572. .bind-weixin-tab .tabitem.active span {
  573. position: absolute;
  574. height: 2px;
  575. width: 50px;
  576. left: 50%;
  577. margin-left: -25px;
  578. bottom: 0;
  579. background-color: #7F8FEF;
  580. display: block !important;
  581. }
  582. @media (max-width: 768px) {
  583. .navbar-header {
  584. float: none;
  585. width: 100%;
  586. }
  587. .navbar-toggle {
  588. float: left;
  589. margin-right: 0;
  590. margin-left: 15px;
  591. }
  592. #nav-box .navbar-brand {
  593. margin-top: 15px;
  594. float: none;
  595. height: 40px;
  596. text-align: center;
  597. }
  598. #nav-box .navbar-brand .logo {
  599. margin: 0 auto;
  600. height: 40px;
  601. }
  602. #main-nav {
  603. margin: 0;
  604. }
  605. #main-nav li {
  606. display: inline-block;
  607. margin: 0 15px 0 0;
  608. }
  609. #main-nav li a {
  610. line-height: 40px;
  611. }
  612. }
  613. /* 绑定微信 */
  614. .bind-weixin .modal {
  615. position: relative;
  616. top: auto;
  617. right: auto;
  618. bottom: auto;
  619. left: auto;
  620. z-index: 1;
  621. display: block;
  622. }
  623. .bind-weixin .modal .modal-content {
  624. background: #fff;
  625. border: none;
  626. -webkit-box-shadow: none;
  627. box-shadow: none;
  628. }
  629. .bind-weixin .modal .close {
  630. display: none;
  631. }
  632. .bind_account-modal .modal-dialog,
  633. .wx_qrcode-modal .modal-dialog {
  634. max-width: 420px;
  635. }
  636. /*.bind_account-modal .modal-content,
  637. .wx_qrcode-modal .modal-content{
  638. background: #f7f7f7;
  639. }*/
  640. .bind_account-modal .modal-body,
  641. .wx_qrcode-modal .modal-body {
  642. padding-top: 50px;
  643. padding-bottom: 50px;
  644. }
  645. .bind_account-modal .title,
  646. .wx_qrcode-modal .title {
  647. font-size: 16px;
  648. font-weight: 400;
  649. text-align: center;
  650. }
  651. .wx_qrcode-modal .title {
  652. color: #5c92ef;
  653. padding: 35px 0;
  654. }
  655. .wx_qrcode-modal .qrcode {
  656. display: block;
  657. width: 200px;
  658. height: 200px;
  659. margin: 0 auto;
  660. }
  661. .wx_qrcode-modal .open_wx_scan {
  662. padding-top: 30px;
  663. padding-bottom: 20px;
  664. font-size: 14px;
  665. color: #333;
  666. text-align: center;
  667. }
  668. .wx_qrcode-modal .phone_login {
  669. text-align: center;
  670. color: #5c92ef;
  671. font-size: 12px;
  672. }
  673. .wx_qrcode-modal .phone_login a {
  674. color: #5c92ef;
  675. }
  676. .bind_account-modal .close,
  677. .wx_qrcode-modal .close {
  678. float: none;
  679. color: #cccccc;
  680. position: absolute;
  681. top: 20px;
  682. right: 20px;
  683. font-size: 20px;
  684. opacity: 1;
  685. line-height: 1;
  686. }
  687. .bind_account-modal .title {
  688. color: #999;
  689. padding: 35px 0 50px 0;
  690. }
  691. .bind_account-modal .bind_new_account,
  692. .bind_account-modal .bind_old_account {
  693. display: block;
  694. width: 180px;
  695. height: 40px;
  696. padding: 0;
  697. margin: 0 auto;
  698. font-size: 14px;
  699. background: none;
  700. }
  701. .bind_account-modal .bind_new_account {
  702. background: #5c92ef;
  703. color: #fff;
  704. }
  705. .bind_account-modal .bind_old_account {
  706. margin-top: 30px;
  707. border: 1px solid #5c92ef;
  708. color: #5c92ef;
  709. }
  710. /* 适配 */
  711. @media (max-width: 992px) {
  712. #main-nav {
  713. margin-left: 15px;
  714. padding: 0;
  715. }
  716. }
  717. @media (min-width: 1200px) {
  718. #nav-box .navbar-brand {
  719. display: block;
  720. }
  721. }
  722. html, body {
  723. width: 100%;
  724. height: 100%;
  725. margin: 0;
  726. padding: 0;
  727. font-size: 14px;
  728. }
  729. body {
  730. font-family: 'PingFangSC-Regular', 'Avenir', Helvetica, Arial, sans-serif;
  731. -webkit-font-smoothing: antialiased;
  732. -moz-osx-font-smoothing: grayscale;
  733. color: #333;
  734. }
  735. ul {
  736. padding: 0;
  737. margin: 0;
  738. list-style: none;
  739. }
  740. p {
  741. margin: 0;
  742. padding: 0;
  743. }
  744. a {
  745. color: inherit;
  746. text-decoration: none;
  747. }
  748. button {
  749. border: none;
  750. outline: none;
  751. }
  752. /* SVG和文本垂直居中对齐 */
  753. .iconfont {
  754. display: inline-block;
  755. vertical-align: middle;
  756. margin-right: 5px;
  757. }
  758. /* 或者使用更精确的对齐方式 */
  759. a .iconfont {
  760. display: inline-flex;
  761. align-items: center;
  762. vertical-align: middle;
  763. margin-right: 5px;
  764. }
  765. /* 确保链接内的所有元素都垂直居中 */
  766. a {
  767. display: inline-flex;
  768. align-items: center;
  769. text-decoration: none;
  770. }
  771. /* 如果只想针对特定导航使用 */
  772. .aside-left a {
  773. display: inline-flex;
  774. align-items: center;
  775. text-decoration: none;
  776. }
  777. .aside-left a .iconfont {
  778. margin-right: 5px;
  779. flex-shrink: 0;
  780. }