components.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785
  1. .my-province {
  2. position: relative;
  3. }
  4. .my-province span {
  5. line-height: normal;
  6. color: #f03;
  7. font-size: 14px;
  8. margin-right: 5px;
  9. }
  10. .my-province i {
  11. margin-left: 5px;
  12. font-size: 12px;
  13. color: #e6e6e6;
  14. }
  15. .my-province div {
  16. display: none;
  17. width: 286px;
  18. position: absolute;
  19. top: 30px;
  20. z-index: 100;
  21. background-color: #fff;
  22. border: 1px solid #e6e6e6;
  23. padding: 10px;
  24. }
  25. .my-province div .icon-play {
  26. transform: rotate(-90deg);
  27. position: absolute;
  28. top: -10px;
  29. }
  30. .my-province div ul {
  31. width: 100%;
  32. padding: 0;
  33. list-style: none;
  34. display: flex;
  35. justify-content: flex-start;
  36. align-items: center;
  37. flex-wrap: wrap;
  38. margin: 0;
  39. }
  40. .my-province div ul > li:last-child {
  41. color: #f03;
  42. }
  43. .my-province div ul li {
  44. padding: 5px;
  45. width: 60px;
  46. margin: 3px;
  47. box-sizing: border-box;
  48. }
  49. .my-province div ul li:hover {
  50. background-color: #f6f6f6;
  51. border: 5px;
  52. }
  53. textarea {
  54. resize: none;
  55. }
  56. @keyframes nav {
  57. from {
  58. height: 0;
  59. }
  60. to {
  61. height: calc(100vh - 90px);
  62. }
  63. }
  64. @-webkit-keyframes nav {
  65. /* Safari and Chrome */
  66. from {
  67. height: 0;
  68. }
  69. to {
  70. height: calc(100vh - 90px);
  71. }
  72. }
  73. @-moz-keyframes nav {
  74. /* Safari and Chrome */
  75. from {
  76. height: 0;
  77. }
  78. to {
  79. height: calc(100vh - 90px);
  80. }
  81. }
  82. @keyframes navc {
  83. from {
  84. height: calc(100vh - 90px);
  85. }
  86. to {
  87. height: 0;
  88. }
  89. }
  90. @-webkit-keyframes navc {
  91. /* Safari and Chrome */
  92. from {
  93. height: calc(100vh - 90px);
  94. }
  95. to {
  96. height: 0;
  97. }
  98. }
  99. @-moz-keyframes navc {
  100. /* Safari and Chrome */
  101. from {
  102. height: calc(100vh - 90px);
  103. }
  104. to {
  105. height: 0;
  106. }
  107. }
  108. .show {
  109. display: block !important;
  110. }
  111. .noshow {
  112. display: none !important;
  113. }
  114. body {
  115. height: 100vh;
  116. overflow-y: scroll;
  117. }
  118. body a {
  119. text-decoration: none;
  120. color: #777;
  121. }
  122. body a:hover {
  123. color: #03C762;
  124. text-decoration: none;
  125. }
  126. body::-webkit-scrollbar {
  127. /*滚动条整体样式*/
  128. width: 5px;
  129. /*高宽分别对应横竖滚动条的尺寸*/
  130. height: 10px;
  131. }
  132. body::-webkit-scrollbar-thumb {
  133. /*滚动条里面小方块*/
  134. border-radius: 10px;
  135. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  136. background: #999;
  137. }
  138. body::-webkit-scrollbar-thumb:hover {
  139. background: #03C762;
  140. }
  141. body::-webkit-scrollbar-track {
  142. /*滚动条里面轨道*/
  143. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  144. border-radius: 10px;
  145. background: #eee;
  146. }
  147. .header {
  148. width: 100%;
  149. border-bottom: 1px solid #f1f1f1;
  150. background-color: #fff;
  151. position: fixed;
  152. z-index: 1;
  153. }
  154. .header .my-province {
  155. margin-left: 5px;
  156. margin-top: 20px;
  157. }
  158. @media screen and (max-width: 768px) {
  159. .header .my-province {
  160. display: none;
  161. }
  162. }
  163. .header .ha-item {
  164. margin-top: 10px;
  165. height: 70px;
  166. }
  167. .header .ha-item .img {
  168. height: 100%;
  169. }
  170. .header .ha-item .img span {
  171. font-size: 30px;
  172. font-weight: bold;
  173. color: #03C762;
  174. display: block;
  175. line-height: 70px;
  176. }
  177. .header .ha-item .img img {
  178. height: 100%;
  179. }
  180. .header .ha-item .button {
  181. display: none;
  182. }
  183. @media screen and (max-width: 768px) {
  184. .header .ha-item .button {
  185. display: block;
  186. }
  187. }
  188. .header .ha-item .button .button {
  189. color: #03C762;
  190. padding: 10px;
  191. border: 2px solid #03C762;
  192. margin-top: 13px;
  193. text-align: center;
  194. font-size: 20px;
  195. border-radius: 5px;
  196. }
  197. .header .ha-item .app {
  198. height: 100%;
  199. text-align: center;
  200. position: relative;
  201. }
  202. @media screen and (max-width: 768px) {
  203. .header .ha-item .app {
  204. display: none;
  205. }
  206. }
  207. .header .ha-item .app a {
  208. text-decoration: none;
  209. color: #03C762;
  210. }
  211. .header .ha-item .app a img {
  212. width: 50px;
  213. }
  214. .header .ha-item .app div {
  215. position: absolute;
  216. right: 0px;
  217. }
  218. .header .hb-item .nav {
  219. display: flex;
  220. justify-content: flex-start;
  221. align-content: center;
  222. }
  223. @media screen and (max-width: 768px) {
  224. .header .hb-item .nav {
  225. display: none;
  226. }
  227. }
  228. .header .hb-item .nav > .nav-item > a.active {
  229. color: #03C762;
  230. }
  231. .header .hb-item .nav .nav-item {
  232. padding: 0 20px;
  233. }
  234. .header .hb-item .nav .nav-item a {
  235. color: #777;
  236. font-weight: bold;
  237. text-decoration: none;
  238. line-height: 40px;
  239. display: table-cell;
  240. vertical-align: bottom;
  241. font-size: 18px;
  242. }
  243. .header .hb-item .nav .nav-item a i {
  244. margin-left: 5px;
  245. font-size: 12px;
  246. color: #e6e6e6;
  247. }
  248. .header .hb-item .nav .nav-item a:hover {
  249. color: #03C762;
  250. }
  251. .header .hb-item .nav .nav-item .nav-ul {
  252. display: none;
  253. overflow: hidden;
  254. padding: 0;
  255. position: absolute;
  256. z-index: 1;
  257. background-color: #fff;
  258. overflow: auto !important;
  259. }
  260. .header .hb-item .nav .nav-item .nav-ul .nav-li {
  261. width: 100px;
  262. padding: 10px;
  263. list-style: none;
  264. }
  265. .header .hb-item .nav .nav-item .nav-ul .nav-li:hover {
  266. background-color: #03C762;
  267. }
  268. .header .hb-item .nav .nav-item .nav-ul .nav-li:hover a {
  269. color: #fff;
  270. }
  271. .header .hb-item .nav .nav-item .nav-ul .nav-li a {
  272. color: #777;
  273. line-height: 15px;
  274. font-size: small;
  275. }
  276. #nav-sm {
  277. position: fixed;
  278. z-index: 99;
  279. width: 100vw;
  280. overflow-y: scroll;
  281. box-sizing: border-box;
  282. background-color: #fff;
  283. margin-top: 80px;
  284. padding: 0 20px;
  285. }
  286. #nav-sm .my-province {
  287. padding: 20px 0;
  288. }
  289. #nav-sm .my-province div {
  290. top: 50px;
  291. }
  292. @media screen and (max-width: 768px) {
  293. #nav-sm {
  294. border-top: 1px solid #eee;
  295. }
  296. }
  297. #nav-sm::-webkit-scrollbar {
  298. height: 0;
  299. }
  300. #nav-sm > ul > li > a.active {
  301. color: #03C762;
  302. }
  303. #nav-sm ul {
  304. padding-inline-start: 0;
  305. }
  306. #nav-sm ul li {
  307. list-style-type: none;
  308. }
  309. #nav-sm ul li a {
  310. font-weight: bold;
  311. font-size: 20px;
  312. font-size: 16px;
  313. line-height: 40px;
  314. color: #555;
  315. text-decoration: none;
  316. }
  317. #nav-sm ul li a:hover {
  318. color: #03C762;
  319. }
  320. #nav-sm ul li .nav-sm-ul {
  321. display: flex;
  322. justify-content: flex-start;
  323. align-items: center;
  324. flex-wrap: wrap;
  325. padding: 0;
  326. }
  327. #nav-sm ul li .nav-sm-ul .nav-sm-li {
  328. padding: 0 10px;
  329. }
  330. #nav-sm ul li .nav-sm-ul .nav-sm-li a {
  331. font-size: 14px;
  332. font-weight: normal;
  333. }
  334. .nav-sm-noheight {
  335. height: 0px;
  336. }
  337. .nav-sm-show {
  338. height: calc(100vh - 80px);
  339. animation: nav 0.5s;
  340. -webkit-animation: nav 0.5s normal;
  341. -moz-animation: nav 0.5s;
  342. }
  343. .nav-sm-noshow {
  344. height: 0px;
  345. animation: navc 0.5s;
  346. -webkit-animation: navc 0.5s normal;
  347. -moz-animation: navc 0.5s;
  348. }
  349. .body {
  350. background-color: #fff;
  351. max-width: 1200px;
  352. min-height: 700px;
  353. overflow: hidden;
  354. position: relative;
  355. padding: 10px 15px 15px;
  356. margin: 141px 20px 20px;
  357. }
  358. .body .my-loading {
  359. text-align: center;
  360. color: #999;
  361. display: none;
  362. }
  363. .body .my-read {
  364. margin-top: 20px;
  365. text-align: center;
  366. }
  367. .body .my-read .good {
  368. border-radius: 5px;
  369. border: 1px solid #e6e6e6;
  370. display: inline-block;
  371. padding: 5px 30px;
  372. margin-bottom: 10px;
  373. }
  374. .body .my-articles ul {
  375. width: 100%;
  376. border-top: 1px solid #e6e6e6;
  377. padding: 0;
  378. list-style: none;
  379. overflow: hidden;
  380. }
  381. .body .my-articles ul li {
  382. color: #777;
  383. overflow: hidden;
  384. text-overflow: ellipsis;
  385. white-space: nowrap;
  386. width: 100%;
  387. padding: 5px 0px;
  388. }
  389. .body .my-articles ul li::before {
  390. content: "";
  391. display: inline-block;
  392. width: 6px;
  393. height: 6px;
  394. background-color: #000;
  395. transform: translateY(-2px);
  396. margin-right: 5px;
  397. border-radius: 50%;
  398. }
  399. .body .my-comment .h5 {
  400. display: flex;
  401. justify-content: space-between;
  402. align-content: center;
  403. }
  404. .body .my-comment .remind {
  405. text-align: center;
  406. background-color: #e6e6e6;
  407. padding: 5px;
  408. border-radius: 5px;
  409. margin: 10px 0px;
  410. }
  411. .body .my-comment .comment {
  412. border-top: 1px solid #e6e6e6;
  413. padding-top: 10px;
  414. }
  415. .body .my-comment .comment .nocomment,
  416. .body .my-comment .comment .loading,
  417. .body .my-comment .comment .nodata {
  418. display: none;
  419. text-align: center;
  420. margin: 10px;
  421. }
  422. .body .my-comment .comment .nocomment {
  423. display: block;
  424. padding-bottom: 10px;
  425. }
  426. .body .my-comment .comment .nocomment:hover {
  427. color: #03C762;
  428. }
  429. .body .my-comment .comment .user {
  430. width: 100%;
  431. padding: 20px 0;
  432. border-bottom: 1px solid #e6e6e6;
  433. display: grid;
  434. grid-template-columns: 10% 90%;
  435. }
  436. .body .my-comment .comment .user .u-img {
  437. width: 100%;
  438. text-align: center;
  439. }
  440. .body .my-comment .comment .user .u-img .img {
  441. width: 100%;
  442. max-width: 64px;
  443. }
  444. .body .my-comment .comment .user .u-content {
  445. margin-left: 10px;
  446. text-align: justify;
  447. }
  448. .body .my-comment .comment .user .u-content .u-name {
  449. font-size: 16px;
  450. }
  451. .body .my-comment .comment .user .u-content .u-detail {
  452. padding: 5px 0px;
  453. }
  454. .body .my-comment .comment .user .u-content .u-flex {
  455. display: flex;
  456. justify-content: space-between;
  457. align-items: center;
  458. }
  459. .body .my-nav {
  460. border-bottom: 1px solid #e6e6e6;
  461. }
  462. .body .my-nav::after {
  463. display: block;
  464. content: '';
  465. clear: both;
  466. }
  467. .body .my-nav ul {
  468. list-style: none;
  469. padding: 0;
  470. }
  471. .body .my-nav ul li {
  472. float: left;
  473. padding: 5px;
  474. margin: 0px 5px;
  475. color: #777;
  476. }
  477. .body .my-nav ul .active {
  478. color: black;
  479. border-bottom: 3px solid #03C762;
  480. font-weight: bold;
  481. }
  482. .body .my-list .list-item {
  483. text-decoration: none;
  484. color: black;
  485. display: flex;
  486. justify-content: flex-start;
  487. align-items: start;
  488. padding-bottom: 10px;
  489. margin-bottom: 10px;
  490. border-bottom: 1px solid #e6e6e6;
  491. }
  492. .body .my-list .list-item:hover {
  493. color: #03C762;
  494. }
  495. .body .my-list .list-item .item-img {
  496. flex: 1;
  497. padding: 0 20px;
  498. }
  499. @media screen and (max-width: 768px) {
  500. .body .my-list .list-item .item-img {
  501. padding: 0 10px;
  502. }
  503. }
  504. .body .my-list .list-item .item-img img {
  505. width: 100%;
  506. border-radius: 5px;
  507. }
  508. .body .my-list .list-item .item-img img:hover {
  509. transform: scale(1.1);
  510. }
  511. .body .my-list .list-item .item-detail {
  512. flex: 4;
  513. height: 100%;
  514. position: relative;
  515. overflow: hidden;
  516. }
  517. @media screen and (max-width: 768px) {
  518. .body .my-list .list-item .item-detail {
  519. flex: 2;
  520. }
  521. }
  522. .body .my-list .list-item .item-detail .title {
  523. font-weight: 400;
  524. overflow: hidden;
  525. text-overflow: ellipsis;
  526. display: -webkit-box;
  527. -webkit-box-orient: vertical;
  528. -webkit-line-clamp: 2;
  529. font-size: 16px;
  530. }
  531. .body .my-list .list-item .item-detail .time {
  532. font-size: 12px;
  533. color: #777;
  534. margin-top: 5px;
  535. }
  536. .body .my-list .list-item .item-detail .time span {
  537. margin-left: 5px;
  538. }
  539. @media screen and (max-width: 768px) {
  540. .body {
  541. padding: 0px;
  542. border-radius: 10px 10px 0 0;
  543. margin: 100px 20px 20px;
  544. }
  545. }
  546. .footer {
  547. width: 100%;
  548. box-sizing: border-box;
  549. overflow: hidden;
  550. background-color: #fff;
  551. border-top: 1px solid #f1f1f1;
  552. text-align: center;
  553. color: #777;
  554. }
  555. .footer p {
  556. margin: 0;
  557. padding: 20px 0px 0px;
  558. }
  559. .footer > p:last-child {
  560. padding-bottom: 50px;
  561. }
  562. #top {
  563. position: fixed;
  564. bottom: 80px;
  565. right: 20px;
  566. padding: 20px;
  567. color: #fff;
  568. background-color: rgba(98, 96, 96, 0.3);
  569. border-radius: 10px;
  570. }
  571. #share {
  572. position: fixed;
  573. top: 60vh;
  574. right: 0px;
  575. box-sizing: border-box;
  576. display: flex;
  577. }
  578. @media screen and (max-width: 768px) {
  579. #share {
  580. display: none;
  581. }
  582. }
  583. #share > div:first-child {
  584. height: 132px;
  585. box-sizing: border-box;
  586. background-color: #03C762;
  587. color: #fff;
  588. font-size: 15px;
  589. width: 30px;
  590. letter-spacing: 10px;
  591. text-align: center;
  592. line-height: 30px;
  593. border-radius: 5px 0 0 5px;
  594. writing-mode: vertical-lr;
  595. /*从左向右 从右向左是 writing-mode: vertical-rl;*/
  596. writing-mode: tb-lr;
  597. /*IE浏览器的从左向右 从右向左是 writing-mode: tb-rl;*/
  598. }
  599. #share ul {
  600. width: 0px;
  601. height: 132px;
  602. border: 1px solid #aaa;
  603. border-right: none;
  604. list-style: none;
  605. padding: 0;
  606. box-sizing: border-box;
  607. }
  608. #share ul > li:first-child {
  609. background-color: #c6c6c6;
  610. line-height: 26px;
  611. font-weight: bold;
  612. }
  613. #share ul li {
  614. padding: 5px 10px;
  615. width: 100px;
  616. vertical-align: middle;
  617. }
  618. #share ul li img {
  619. width: 20px;
  620. vertical-align: middle;
  621. margin-right: 5px;
  622. }
  623. #share ul li:hover:not(ul>li:first-child) {
  624. background-color: #e6e6e6;
  625. }
  626. #share #qrcode {
  627. width: 180px;
  628. box-sizing: border-box;
  629. box-shadow: 0px 0px 5px #999;
  630. display: none;
  631. position: absolute;
  632. background-color: #fff;
  633. top: -210px;
  634. border-radius: 5px;
  635. right: 140px;
  636. }
  637. #share #qrcode::before {
  638. display: block;
  639. content: "微信扫一扫:分享";
  640. line-height: 30px;
  641. font-size: 12px;
  642. text-align: center;
  643. background-color: #e6e6e6;
  644. }
  645. #share #qrcode img {
  646. margin: auto;
  647. padding: 20px 0;
  648. }
  649. #share #qrcode .wei {
  650. text-align: center;
  651. }
  652. #toast {
  653. display: none;
  654. position: fixed;
  655. top: 0;
  656. left: 0;
  657. z-index: 100;
  658. width: 100vw;
  659. height: 100vh;
  660. background-color: rgba(29, 27, 27, 0.5);
  661. text-align: center;
  662. }
  663. #toast > div {
  664. background-color: #fff;
  665. position: absolute;
  666. padding: 5px;
  667. border-radius: 5px;
  668. width: 200px;
  669. left: calc(50vw - 100px);
  670. top: 30vh;
  671. }
  672. #download {
  673. position: fixed;
  674. bottom: 0px;
  675. width: 100vw;
  676. display: none;
  677. justify-content: space-between;
  678. align-items: center;
  679. background-color: rgba(1, 1, 1, 0.5);
  680. padding: 5px 10px;
  681. color: #fff;
  682. }
  683. #download .left {
  684. width: 200px;
  685. }
  686. #download .left::before {
  687. display: block;
  688. content: '';
  689. clear: both;
  690. }
  691. #download .left img,
  692. #download .left div {
  693. float: left;
  694. }
  695. #download .left img {
  696. width: 50px;
  697. }
  698. #download .left div {
  699. margin-left: 10px;
  700. }
  701. #download .left .row1 {
  702. margin-bottom: 10px;
  703. }
  704. @media screen and (max-width: 768px) {
  705. #download {
  706. display: flex;
  707. }
  708. }
  709. #imglist {
  710. display: none;
  711. overflow: scroll;
  712. position: fixed;
  713. width: 100vw;
  714. box-sizing: border-box;
  715. height: 100vh;
  716. top: 0;
  717. z-index: 1000;
  718. background-color: #fff;
  719. }
  720. #imglist::-webkit-scrollbar {
  721. /*滚动条整体样式*/
  722. width: 5px;
  723. /*高宽分别对应横竖滚动条的尺寸*/
  724. height: 5px;
  725. }
  726. #imglist::-webkit-scrollbar-thumb {
  727. /*滚动条里面小方块*/
  728. border-radius: 10px;
  729. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  730. background: #999;
  731. }
  732. #imglist::-webkit-scrollbar-thumb:hover {
  733. background: #03C762;
  734. }
  735. #imglist::-webkit-scrollbar-track {
  736. /*滚动条里面轨道*/
  737. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  738. border-radius: 10px;
  739. background: #eee;
  740. }
  741. #imglist span {
  742. display: block;
  743. position: fixed;
  744. right: 20px;
  745. top: 10px;
  746. width: 35px;
  747. height: 115px;
  748. background-color: #000;
  749. padding: 5px;
  750. border-radius: 5px;
  751. }
  752. #imglist span img {
  753. width: 25px;
  754. position: relative !important;
  755. margin: 5px 0;
  756. }
  757. #imglist div {
  758. line-height: 100%;
  759. position: relative;
  760. width: 100%;
  761. height: 100%;
  762. }
  763. #imglist div img {
  764. position: absolute;
  765. }
  766. #imglist div .glyphicon {
  767. position: fixed;
  768. color: #000;
  769. width: 20%;
  770. max-width: 50px;
  771. height: 100px;
  772. border-radius: 5px;
  773. text-align: center;
  774. line-height: 100px;
  775. margin-top: calc(50vh - 50px);
  776. }
  777. #imglist div .glyphicon:hover {
  778. background-color: rgba(247, 237, 237, 0.5);
  779. }
  780. #imglist div .left {
  781. left: 50px;
  782. }
  783. #imglist div .right {
  784. right: 50px;
  785. }