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. }
  201. @media screen and (max-width: 768px) {
  202. .header .ha-item .app {
  203. display: none;
  204. }
  205. }
  206. .header .ha-item .app a {
  207. text-decoration: none;
  208. color: #2382ff;
  209. }
  210. .header .ha-item .app a img {
  211. width: 50px;
  212. }
  213. .header .hb-item .nav {
  214. display: flex;
  215. justify-content: flex-start;
  216. align-content: center;
  217. }
  218. @media screen and (max-width: 768px) {
  219. .header .hb-item .nav {
  220. display: none;
  221. }
  222. }
  223. .header .hb-item .nav > .nav-item > a.active {
  224. color: #2382ff;
  225. }
  226. .header .hb-item .nav .nav-item {
  227. padding: 0 20px;
  228. }
  229. .header .hb-item .nav .nav-item a {
  230. color: #777;
  231. font-weight: bold;
  232. text-decoration: none;
  233. line-height: 40px;
  234. display: table-cell;
  235. vertical-align: bottom;
  236. font-size: 18px;
  237. }
  238. .header .hb-item .nav .nav-item a i {
  239. margin-left: 5px;
  240. font-size: 12px;
  241. color: #e6e6e6;
  242. }
  243. .header .hb-item .nav .nav-item a:hover {
  244. color: #2382ff;
  245. }
  246. .header .hb-item .nav .nav-item .nav-ul {
  247. display: none;
  248. overflow: hidden;
  249. padding: 0;
  250. position: absolute;
  251. z-index: 1;
  252. background-color: #fff;
  253. overflow: auto !important;
  254. }
  255. .header .hb-item .nav .nav-item .nav-ul .nav-li {
  256. width: 100px;
  257. padding: 10px;
  258. list-style: none;
  259. }
  260. .header .hb-item .nav .nav-item .nav-ul .nav-li:hover {
  261. background-color: #2382ff;
  262. }
  263. .header .hb-item .nav .nav-item .nav-ul .nav-li:hover a {
  264. color: #fff;
  265. }
  266. .header .hb-item .nav .nav-item .nav-ul .nav-li a {
  267. color: #777;
  268. line-height: 15px;
  269. font-size: small;
  270. }
  271. #nav-sm {
  272. position: fixed;
  273. z-index: 99;
  274. width: 100vw;
  275. overflow-y: scroll;
  276. box-sizing: border-box;
  277. background-color: #fff;
  278. margin-top: 80px;
  279. padding: 0 20px;
  280. }
  281. #nav-sm .my-province {
  282. padding: 20px 0;
  283. }
  284. #nav-sm .my-province div {
  285. top: 50px;
  286. }
  287. @media screen and (max-width: 768px) {
  288. #nav-sm {
  289. border-top: 1px solid #eee;
  290. }
  291. }
  292. #nav-sm::-webkit-scrollbar {
  293. height: 0;
  294. }
  295. #nav-sm > ul > li > a.active {
  296. color: #2382ff;
  297. }
  298. #nav-sm ul {
  299. padding-inline-start: 0;
  300. }
  301. #nav-sm ul li {
  302. list-style-type: none;
  303. }
  304. #nav-sm ul li a {
  305. font-weight: bold;
  306. font-size: 20px;
  307. font-size: 16px;
  308. line-height: 40px;
  309. color: #555;
  310. text-decoration: none;
  311. }
  312. #nav-sm ul li a:hover {
  313. color: #2382ff;
  314. }
  315. #nav-sm ul li .nav-sm-ul {
  316. display: flex;
  317. justify-content: flex-start;
  318. align-items: center;
  319. flex-wrap: wrap;
  320. padding: 0;
  321. }
  322. #nav-sm ul li .nav-sm-ul .nav-sm-li {
  323. padding: 0 10px;
  324. }
  325. #nav-sm ul li .nav-sm-ul .nav-sm-li a {
  326. font-size: 14px;
  327. font-weight: normal;
  328. }
  329. .nav-sm-noheight {
  330. height: 0px;
  331. }
  332. .nav-sm-show {
  333. height: calc(100vh - 80px);
  334. animation: nav 0.5s;
  335. -webkit-animation: nav 0.5s normal;
  336. -moz-animation: nav 0.5s;
  337. }
  338. .nav-sm-noshow {
  339. height: 0px;
  340. animation: navc 0.5s;
  341. -webkit-animation: navc 0.5s normal;
  342. -moz-animation: navc 0.5s;
  343. }
  344. .body {
  345. background-color: #fff;
  346. max-width: 1200px;
  347. min-height: 700px;
  348. overflow: hidden;
  349. position: relative;
  350. padding: 10px 15px 15px;
  351. margin: 141px 20px 20px;
  352. }
  353. .body .my-loading {
  354. text-align: center;
  355. color: #999;
  356. display: none;
  357. }
  358. .body .my-read {
  359. margin-top: 20px;
  360. text-align: center;
  361. }
  362. .body .my-read .good {
  363. border-radius: 5px;
  364. border: 1px solid #e6e6e6;
  365. display: inline-block;
  366. padding: 5px 30px;
  367. margin-bottom: 10px;
  368. }
  369. .body .my-articles ul {
  370. width: 100%;
  371. border-top: 1px solid #e6e6e6;
  372. padding: 10px 20px;
  373. list-style: square;
  374. color: #777;
  375. overflow: hidden;
  376. }
  377. .body .my-articles ul li {
  378. overflow: hidden;
  379. text-overflow: ellipsis;
  380. white-space: nowrap;
  381. width: 100%;
  382. padding: 5px 0px;
  383. }
  384. .body .my-comment .h5 {
  385. display: flex;
  386. justify-content: space-between;
  387. align-content: center;
  388. }
  389. .body .my-comment .remind {
  390. text-align: center;
  391. background-color: #e6e6e6;
  392. padding: 5px;
  393. border-radius: 5px;
  394. margin: 10px 0px;
  395. }
  396. .body .my-comment .comment {
  397. border-top: 1px solid #e6e6e6;
  398. padding-top: 10px;
  399. }
  400. .body .my-comment .comment .nocomment,
  401. .body .my-comment .comment .loading,
  402. .body .my-comment .comment .nodata {
  403. display: none;
  404. text-align: center;
  405. margin: 10px;
  406. }
  407. .body .my-comment .comment .nocomment {
  408. display: block;
  409. padding-bottom: 10px;
  410. }
  411. .body .my-comment .comment .nocomment:hover {
  412. color: #2382ff;
  413. }
  414. .body .my-comment .comment .user {
  415. width: 100%;
  416. padding: 20px 0;
  417. border-bottom: 1px solid #e6e6e6;
  418. display: grid;
  419. grid-template-columns: 10% 90%;
  420. }
  421. .body .my-comment .comment .user .u-img {
  422. width: 100%;
  423. text-align: center;
  424. }
  425. .body .my-comment .comment .user .u-img .img {
  426. width: 100%;
  427. max-width: 64px;
  428. }
  429. .body .my-comment .comment .user .u-content {
  430. margin-left: 10px;
  431. text-align: justify;
  432. }
  433. .body .my-comment .comment .user .u-content .u-name {
  434. font-size: 16px;
  435. }
  436. .body .my-comment .comment .user .u-content .u-detail {
  437. padding: 5px 0px;
  438. }
  439. .body .my-comment .comment .user .u-content .u-flex {
  440. display: flex;
  441. justify-content: space-between;
  442. align-items: center;
  443. }
  444. .body .my-nav {
  445. border-bottom: 1px solid #e6e6e6;
  446. }
  447. .body .my-nav::after {
  448. display: block;
  449. content: '';
  450. clear: both;
  451. }
  452. .body .my-nav ul {
  453. list-style: none;
  454. padding: 0;
  455. }
  456. .body .my-nav ul li {
  457. float: left;
  458. padding: 5px;
  459. margin: 0px 5px;
  460. color: #777;
  461. }
  462. .body .my-nav ul .active {
  463. color: black;
  464. border-bottom: 3px solid #2382ff;
  465. font-weight: bold;
  466. }
  467. .body .my-list .list-item {
  468. text-decoration: none;
  469. color: black;
  470. display: flex;
  471. justify-content: flex-start;
  472. align-items: start;
  473. padding-bottom: 10px;
  474. margin-bottom: 10px;
  475. border-bottom: 1px solid #e6e6e6;
  476. }
  477. .body .my-list .list-item:hover {
  478. color: #2382ff;
  479. }
  480. .body .my-list .list-item .item-img {
  481. flex: 1;
  482. padding: 0 20px;
  483. }
  484. @media screen and (max-width: 768px) {
  485. .body .my-list .list-item .item-img {
  486. padding: 0 10px;
  487. }
  488. }
  489. .body .my-list .list-item .item-img img {
  490. width: 100%;
  491. border-radius: 5px;
  492. }
  493. .body .my-list .list-item .item-img img:hover {
  494. transform: scale(1.1);
  495. }
  496. .body .my-list .list-item .item-detail {
  497. flex: 4;
  498. height: 100%;
  499. position: relative;
  500. overflow: hidden;
  501. }
  502. @media screen and (max-width: 768px) {
  503. .body .my-list .list-item .item-detail {
  504. flex: 2;
  505. }
  506. }
  507. .body .my-list .list-item .item-detail .title {
  508. font-weight: 400;
  509. overflow: hidden;
  510. text-overflow: ellipsis;
  511. white-space: nowrap;
  512. }
  513. @media screen and (max-width: 768px) {
  514. .body .my-list .list-item .item-detail .title {
  515. white-space: normal;
  516. display: -webkit-box;
  517. -webkit-box-orient: vertical;
  518. -webkit-line-clamp: 2;
  519. }
  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. }