components.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672
  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: #2382ff;
  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: #2382ff;
  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: 30px;
  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: #2382ff;
  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: #2382ff;
  190. padding: 10px;
  191. border: 2px solid #2382ff;
  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: #2382ff;
  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: #2382ff;
  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: #2382ff;
  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: #2382ff;
  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: #2382ff;
  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: #2382ff;
  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: 10px 20px;
  378. list-style: square;
  379. color: #777;
  380. overflow: hidden;
  381. }
  382. .body .my-articles ul li {
  383. overflow: hidden;
  384. text-overflow: ellipsis;
  385. white-space: nowrap;
  386. width: 100%;
  387. padding: 5px 0px;
  388. }
  389. .body .my-comment .h5 {
  390. display: flex;
  391. justify-content: space-between;
  392. align-content: center;
  393. }
  394. .body .my-comment .remind {
  395. text-align: center;
  396. background-color: #e6e6e6;
  397. padding: 5px;
  398. border-radius: 5px;
  399. margin: 10px 0px;
  400. }
  401. .body .my-comment .comment {
  402. border-top: 1px solid #e6e6e6;
  403. padding-top: 10px;
  404. }
  405. .body .my-comment .comment .nocomment,
  406. .body .my-comment .comment .loading,
  407. .body .my-comment .comment .nodata {
  408. display: none;
  409. text-align: center;
  410. margin: 10px;
  411. }
  412. .body .my-comment .comment .nocomment {
  413. display: block;
  414. padding-bottom: 10px;
  415. }
  416. .body .my-comment .comment .nocomment:hover {
  417. color: #2382ff;
  418. }
  419. .body .my-comment .comment .user {
  420. width: 100%;
  421. padding: 20px 0;
  422. border-bottom: 1px solid #e6e6e6;
  423. display: grid;
  424. grid-template-columns: 10% 90%;
  425. }
  426. .body .my-comment .comment .user .u-img {
  427. width: 100%;
  428. text-align: center;
  429. }
  430. .body .my-comment .comment .user .u-img .img {
  431. width: 100%;
  432. max-width: 64px;
  433. }
  434. .body .my-comment .comment .user .u-content {
  435. margin-left: 10px;
  436. text-align: justify;
  437. }
  438. .body .my-comment .comment .user .u-content .u-name {
  439. font-size: 16px;
  440. }
  441. .body .my-comment .comment .user .u-content .u-detail {
  442. padding: 5px 0px;
  443. }
  444. .body .my-comment .comment .user .u-content .u-flex {
  445. display: flex;
  446. justify-content: space-between;
  447. align-items: center;
  448. }
  449. .body .my-nav {
  450. border-bottom: 1px solid #e6e6e6;
  451. }
  452. .body .my-nav::after {
  453. display: block;
  454. content: '';
  455. clear: both;
  456. }
  457. .body .my-nav ul {
  458. list-style: none;
  459. padding: 0;
  460. }
  461. .body .my-nav ul li {
  462. float: left;
  463. padding: 5px;
  464. margin: 0px 5px;
  465. color: #777;
  466. }
  467. .body .my-nav ul .active {
  468. color: black;
  469. border-bottom: 3px solid #2382ff;
  470. font-weight: bold;
  471. }
  472. .body .my-list .list-item {
  473. text-decoration: none;
  474. color: black;
  475. display: flex;
  476. justify-content: flex-start;
  477. align-items: start;
  478. padding-bottom: 10px;
  479. margin-bottom: 10px;
  480. border-bottom: 1px solid #e6e6e6;
  481. }
  482. .body .my-list .list-item:hover {
  483. color: #2382ff;
  484. }
  485. .body .my-list .list-item .item-img {
  486. flex: 1;
  487. padding: 0 20px;
  488. }
  489. @media screen and (max-width: 768px) {
  490. .body .my-list .list-item .item-img {
  491. padding: 0 10px;
  492. }
  493. }
  494. .body .my-list .list-item .item-img img {
  495. width: 100%;
  496. border-radius: 5px;
  497. }
  498. .body .my-list .list-item .item-img img:hover {
  499. transform: scale(1.1);
  500. }
  501. .body .my-list .list-item .item-detail {
  502. flex: 4;
  503. height: 100%;
  504. position: relative;
  505. overflow: hidden;
  506. }
  507. @media screen and (max-width: 768px) {
  508. .body .my-list .list-item .item-detail {
  509. flex: 2;
  510. }
  511. }
  512. .body .my-list .list-item .item-detail .title {
  513. font-weight: 400;
  514. overflow: hidden;
  515. text-overflow: ellipsis;
  516. display: -webkit-box;
  517. -webkit-box-orient: vertical;
  518. -webkit-line-clamp: 2;
  519. font-size: 16px;
  520. }
  521. .body .my-list .list-item .item-detail .time {
  522. font-size: 12px;
  523. color: #777;
  524. margin-top: 5px;
  525. }
  526. .body .my-list .list-item .item-detail .time span {
  527. margin-left: 5px;
  528. }
  529. @media screen and (max-width: 768px) {
  530. .body {
  531. padding: 0px;
  532. border-radius: 10px 10px 0 0;
  533. margin: 100px 20px 20px;
  534. }
  535. }
  536. .footer {
  537. width: 100%;
  538. box-sizing: border-box;
  539. overflow: hidden;
  540. background-color: #fff;
  541. border-top: 1px solid #f1f1f1;
  542. text-align: center;
  543. color: #777;
  544. }
  545. .footer p {
  546. margin: 0;
  547. padding: 20px 0px 0px;
  548. }
  549. .footer > p:last-child {
  550. padding-bottom: 50px;
  551. }
  552. #top {
  553. position: fixed;
  554. bottom: 80px;
  555. right: 20px;
  556. padding: 20px;
  557. color: #fff;
  558. background-color: rgba(98, 96, 96, 0.3);
  559. border-radius: 10px;
  560. }
  561. #share {
  562. position: fixed;
  563. top: 60vh;
  564. right: 0px;
  565. box-sizing: border-box;
  566. display: flex;
  567. }
  568. @media screen and (max-width: 768px) {
  569. #share {
  570. display: none;
  571. }
  572. }
  573. #share div {
  574. height: 132px;
  575. box-sizing: border-box;
  576. background-color: #2382ff;
  577. color: #fff;
  578. font-size: 15px;
  579. width: 30px;
  580. letter-spacing: 10px;
  581. text-align: center;
  582. line-height: 30px;
  583. border-radius: 5px 0 0 5px;
  584. writing-mode: vertical-lr;
  585. /*从左向右 从右向左是 writing-mode: vertical-rl;*/
  586. writing-mode: tb-lr;
  587. /*IE浏览器的从左向右 从右向左是 writing-mode: tb-rl;*/
  588. }
  589. #share ul {
  590. width: 0px;
  591. height: 132px;
  592. border: 1px solid #aaa;
  593. border-right: none;
  594. list-style: none;
  595. padding: 0;
  596. box-sizing: border-box;
  597. }
  598. #share ul > li:first-child {
  599. background-color: #c6c6c6;
  600. line-height: 26px;
  601. font-weight: bold;
  602. }
  603. #share ul li {
  604. padding: 5px 10px;
  605. width: 100px;
  606. vertical-align: middle;
  607. }
  608. #share ul li img {
  609. width: 20px;
  610. vertical-align: middle;
  611. margin-right: 5px;
  612. }
  613. #share ul li:hover:not(ul>li:first-child) {
  614. background-color: #e6e6e6;
  615. }
  616. #toast {
  617. display: none;
  618. position: fixed;
  619. top: 0;
  620. left: 0;
  621. z-index: 100;
  622. width: 100vw;
  623. height: 100vh;
  624. background-color: rgba(29, 27, 27, 0.5);
  625. text-align: center;
  626. }
  627. #toast > div {
  628. background-color: #fff;
  629. position: absolute;
  630. padding: 5px;
  631. border-radius: 5px;
  632. width: 200px;
  633. left: calc(50vw - 100px);
  634. top: 30vh;
  635. }
  636. #download {
  637. position: fixed;
  638. bottom: 0px;
  639. width: 100vw;
  640. display: none;
  641. justify-content: space-between;
  642. align-items: center;
  643. background-color: rgba(1, 1, 1, 0.5);
  644. padding: 5px 10px;
  645. color: #fff;
  646. }
  647. #download .left {
  648. width: 200px;
  649. }
  650. #download .left::before {
  651. display: block;
  652. content: '';
  653. clear: both;
  654. }
  655. #download .left img,
  656. #download .left div {
  657. float: left;
  658. }
  659. #download .left img {
  660. width: 50px;
  661. }
  662. #download .left div {
  663. margin-left: 10px;
  664. }
  665. #download .left .row1 {
  666. margin-bottom: 10px;
  667. }
  668. @media screen and (max-width: 768px) {
  669. #download {
  670. display: flex;
  671. }
  672. }