investHome4.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694
  1. *,
  2. *:before,
  3. *:after {
  4. padding: 0;
  5. margin: 0;
  6. box-sizing: border-box;
  7. }
  8. html,
  9. body {
  10. height: 100%;
  11. font-size: 14px;
  12. background-color: #ecffff;
  13. font-family: 'Microsoft YaHei', 'Helvetica Neue', Helvetica, 'PingFang SC',
  14. 'Hiragino Sans GB', Arial, sans-serif;
  15. }
  16. .flex {
  17. display: flex;
  18. }
  19. .flex1 {
  20. flex: 1;
  21. }
  22. .flex2 {
  23. flex: 2;
  24. }
  25. .flex-around {
  26. display: flex;
  27. justify-content: space-around;
  28. }
  29. .flex-between {
  30. display: flex;
  31. justify-content: space-between;
  32. align-items: center;
  33. }
  34. .flex-end {
  35. display: flex;
  36. justify-content: flex-end;
  37. }
  38. .flex-align-center {
  39. display: flex;
  40. align-items: center;
  41. }
  42. .text-center {
  43. text-align: center;
  44. }
  45. .font12 {
  46. font-size: 12px;
  47. }
  48. .main-color {
  49. color: #0bf1ff;
  50. }
  51. .danger-color {
  52. color: #f15450 !important;
  53. }
  54. .error-color {
  55. color: #ffc704 !important;
  56. }
  57. .btm10 {
  58. margin-bottom: 10px;
  59. }
  60. .btm20 {
  61. margin-bottom: 20px;
  62. }
  63. a {
  64. text-decoration: none;
  65. cursor: pointer;
  66. }
  67. [v-cloak] {
  68. display: none;
  69. }
  70. #app {
  71. background: url('../images/page-bg.png') center center no-repeat;
  72. background-size: 100% 100%;
  73. padding-top: 10px;
  74. height: 100vh;
  75. overflow: hidden;
  76. color: #fff;
  77. }
  78. .my-header {
  79. position: relative;
  80. height: 70px;
  81. line-height: 70px;
  82. background: url('../images/header-bg.png') center center no-repeat;
  83. background-size: 100% 100%;
  84. text-align: center;
  85. font-weight: bold;
  86. font-size: 32px;
  87. font-weight: 600;
  88. }
  89. .my-header span {
  90. background: linear-gradient(-3deg, #99eeff 0%, #99eeff 30%, #ffffff 91%);
  91. -webkit-background-clip: text;
  92. -webkit-text-fill-color: transparent;
  93. }
  94. .my-header span.right {
  95. position: absolute;
  96. right: 60px;
  97. top: 0px;
  98. font-size: 16px;
  99. }
  100. .main {
  101. padding: 15px;
  102. height: calc(100vh - 25px);
  103. background: url('../images3/back-big.png') no-repeat center bottom;
  104. padding-bottom: 65px;
  105. display: grid;
  106. grid-template-columns: repeat(2, 1fr);
  107. grid-template-rows: repeat(2, 1fr);
  108. gap: 10px;
  109. }
  110. .panel-title {
  111. position: relative;
  112. text-align: center;
  113. height: 50px;
  114. line-height: 50px;
  115. }
  116. .panel-title .text {
  117. font-size: 20px;
  118. font-weight: 600;
  119. color: #05fbfe;
  120. text-shadow: 0px 2px 10px rgba(10, 30, 52, 0.48);
  121. background: linear-gradient(0deg, #ffffff 0%, #63dcff 0%, #e0f3ff 100%);
  122. -webkit-background-clip: text;
  123. -webkit-text-fill-color: transparent;
  124. position: relative;
  125. }
  126. .panel-title .text::before {
  127. position: absolute;
  128. content: ' ';
  129. top: 10px;
  130. left: -40px;
  131. width: 30px;
  132. height: 10px;
  133. background: url('../images/title-left.png') no-repeat;
  134. }
  135. .panel-title .text::after {
  136. position: absolute;
  137. content: ' ';
  138. top: 10px;
  139. right: -40px;
  140. width: 30px;
  141. height: 10px;
  142. background: url('../images/title-right.png') no-repeat;
  143. }
  144. .lt-bottom,
  145. .rt-bottom,
  146. .bl-bottom,
  147. .rb-bottom {
  148. display: grid;
  149. height: calc(100% - 50px);
  150. gap: 10px;
  151. padding: 10px;
  152. }
  153. .rt-bottom {
  154. grid-template-rows: 1fr 2fr;
  155. }
  156. .bl-bottom {
  157. grid-template-rows: 1fr 2fr;
  158. }
  159. .lt-bottom {
  160. grid-template-columns: 1fr 2fr;
  161. }
  162. .lt-bottom-left {
  163. display: grid;
  164. grid-template-rows: repeat(4, 1fr);
  165. gap: 10px;
  166. }
  167. .rb-bottom {
  168. display: grid;
  169. grid-template-columns: repeat(2, 1fr);
  170. gap: 10px;
  171. }
  172. .lt-bottom-left > div {
  173. background: url('../images4/button-back.png') no-repeat;
  174. background-size: 100% 100%;
  175. font-size: 18px;
  176. font-weight: bold;
  177. }
  178. .commonBack {
  179. background-color: rgb(156, 210, 255, 0.1);
  180. }
  181. .tl,
  182. .tr,
  183. .bl,
  184. .br {
  185. background: url('../images4/list-back.png') no-repeat;
  186. background-size: 100% 100%;
  187. }
  188. .lt-bottom-right {
  189. display: grid;
  190. grid-template-columns: repeat(2, 1fr);
  191. grid-template-rows: repeat(3, 1fr);
  192. gap: 10px;
  193. padding: 30px;
  194. }
  195. .lt-img {
  196. width: 76px;
  197. height: 64px;
  198. margin: 30px;
  199. }
  200. .rt-bottom-top {
  201. padding: 10px;
  202. display: grid;
  203. gap: 10px;
  204. grid-template-columns: repeat(4, 1fr);
  205. }
  206. .tr-img {
  207. width: 50px;
  208. height: 50px;
  209. margin: 30px;
  210. }
  211. .rt-bottom-bottom {
  212. display: grid;
  213. grid-template-columns: repeat(3, 1fr);
  214. gap: 10px;
  215. }
  216. .rt-bottom-bottom-c {
  217. display: grid;
  218. grid-template-rows: repeat(2, 1fr);
  219. gap: 10px;
  220. padding: 10px;
  221. }
  222. .rt-bottom-bottom-c > div {
  223. border: 1px solid #69c1ff25;
  224. border-radius: 5px;
  225. }
  226. .arrow {
  227. width: 80px;
  228. height: 20px;
  229. top: 20px;
  230. right: 20px;
  231. }
  232. .arrow img {
  233. width: 15px;
  234. height: 14px;
  235. }
  236. .bl-bottom-top {
  237. display: grid;
  238. grid-template-columns: repeat(2, 1fr);
  239. gap: 10px;
  240. }
  241. .right-title {
  242. right: 20px;
  243. top: 0;
  244. color: #69c0ff;
  245. }
  246. .rank {
  247. height: 40px;
  248. line-height: 40px;
  249. padding-right: 20px;
  250. }
  251. .schedule {
  252. height: calc(100% - 40px);
  253. display: grid;
  254. grid-template-rows: repeat(5, 1fr);
  255. gap: 5px;
  256. padding: 10px;
  257. padding-right: 0px;
  258. padding-left: 15px;
  259. }
  260. .el-progress-bar__inner {
  261. background: linear-gradient(to right, #0b2855, #00aeff);
  262. }
  263. .el-progress-bar__outer {
  264. background-color: #183d66;
  265. }
  266. .el-progress-bar {
  267. width: 90% !important;
  268. }
  269. .el-progress {
  270. display: flex;
  271. justify-content: space-between;
  272. border: 1px solid #4e8fcc;
  273. align-items: center;
  274. padding: 1px;
  275. margin-top: 5px;
  276. }
  277. .el-progress__text {
  278. width: 100px !important;
  279. text-align: center;
  280. color: #69c0ff;
  281. }
  282. .bl-bottom-bottom {
  283. display: grid;
  284. grid-template-columns: repeat(2, 1fr);
  285. padding: 10px;
  286. gap: 10px;
  287. }
  288. /* zhb */
  289. /* 宽高纵横比 */
  290. .aspect-auto {
  291. aspect-ratio: auto;
  292. }
  293. .aspect-square {
  294. aspect-ratio: 1 / 1;
  295. }
  296. .aspect-video {
  297. aspect-ratio: 16 / 9;
  298. }
  299. /* aspect-[4/3] */
  300. /* 居中 */
  301. .mx-auto {
  302. margin: 0 auto;
  303. }
  304. /* 设置容器内的列数/每列距离 */
  305. .columns-1 {
  306. columns: 1;
  307. }
  308. /* columns-[20px] */
  309. /* 盒子模型 */
  310. .box-border {
  311. box-sizing: border-box;
  312. }
  313. .box-content {
  314. box-sizing: content-box;
  315. }
  316. /* 消失 */
  317. .hidden {
  318. display: none;
  319. }
  320. /* 块级元素 */
  321. .block {
  322. display: block;
  323. }
  324. /* 行内块 */
  325. .inline-block {
  326. display: inline-block;
  327. }
  328. /* 行内元素 */
  329. .inline {
  330. display: inline;
  331. }
  332. /* 弹性布局 */
  333. .flex {
  334. display: flex;
  335. }
  336. /* 主轴起点在左边 */
  337. .flex-row {
  338. flex-direction: row;
  339. }
  340. /* 主轴起点在右边 */
  341. .flex-row-reverse {
  342. flex-direction: row-reverse;
  343. }
  344. /* 主轴竖向排列,在上面 */
  345. .flex-col {
  346. flex-direction: column;
  347. }
  348. /* 主轴竖向排列,在下面 */
  349. .flex-col-reverse {
  350. flex-direction: column-reverse;
  351. }
  352. /* 自动换行 */
  353. .flex-wrap {
  354. flex-wrap: wrap;
  355. }
  356. /* 自动换行下起点 */
  357. .flex-wrap-reverse {
  358. flex-wrap: wrap-reverse;
  359. }
  360. /* 不换行 */
  361. .flex-nowrap {
  362. flex-wrap: nowrap;
  363. }
  364. /* 弹性成长 */
  365. .grow {
  366. flex-grow: 1;
  367. }
  368. /* 不允许弹性成长 */
  369. .grow-0 {
  370. flex-grow: 0;
  371. }
  372. /* 主轴从左开始 */
  373. .justify-start {
  374. justify-content: flex-start;
  375. }
  376. /* 主轴从右开始 */
  377. .justify-end {
  378. justify-content: flex-end;
  379. }
  380. /* 主轴剧中 */
  381. .justify-center {
  382. justify-content: center;
  383. }
  384. /* 主轴两端无间隔 */
  385. .justify-between {
  386. justify-content: space-between;
  387. }
  388. /* 主轴两端有间隔 */
  389. .justify-around {
  390. justify-content: space-around;
  391. }
  392. /* 所有间隔相等 */
  393. .justify-evenly {
  394. justify-content: space-evenly;
  395. }
  396. /* 纵向起点最上方 */
  397. .items-start {
  398. align-items: flex-start;
  399. }
  400. /* 纵向起点最下方 */
  401. .items-end {
  402. align-items: flex-end;
  403. }
  404. .items-center {
  405. align-items: center;
  406. }
  407. /* 网格布局 */
  408. .grid {
  409. display: grid;
  410. }
  411. /* 有几列 */
  412. .grid-cols-4 {
  413. grid-template-columns: repeat(4, minmax(0, 1fr));
  414. }
  415. /* 有几行 */
  416. .grid-rows-3 {
  417. grid-template-rows: repeat(3, minmax(0, 1fr));
  418. }
  419. /* 间距 */
  420. .gap-7 {
  421. gap: 1.75rem;
  422. }
  423. /* 允许弹性成长 */
  424. .shrink {
  425. flex-shrink: 1;
  426. }
  427. /* 不允许弹性成长 */
  428. .shrink-0 {
  429. flex-shrink: 0;
  430. }
  431. /* 不允许成长也不允许收缩 */
  432. .flex-none {
  433. flex: none;
  434. }
  435. /* 浮动布局 */
  436. .float-right {
  437. float: right;
  438. }
  439. .float-left {
  440. float: left;
  441. }
  442. .clear-both {
  443. clear: both;
  444. }
  445. /* 溢出 */
  446. .overflow-auto {
  447. overflow: auto;
  448. }
  449. .overflow-hidden {
  450. overflow: hidden;
  451. }
  452. .overflow-scroll {
  453. overflow: scroll;
  454. }
  455. .overflow-x-auto {
  456. overflow-x: auto;
  457. }
  458. .overflow-y-auto {
  459. overflow-y: auto;
  460. }
  461. /* 定位 */
  462. .fixed {
  463. position: fixed;
  464. }
  465. .absolute {
  466. position: absolute;
  467. }
  468. .relative {
  469. position: relative;
  470. }
  471. .top-0 {
  472. top: 0px;
  473. }
  474. .right-0 {
  475. right: 0px;
  476. }
  477. .bottom-0 {
  478. bottom: 0px;
  479. }
  480. .left-0 {
  481. left: 0px;
  482. }
  483. /* top-[3px] */
  484. /* z-[100] */
  485. /* 显示隐藏未脱离文档流 */
  486. .visible {
  487. visibility: visible;
  488. }
  489. .invisible {
  490. visibility: hidden;
  491. }
  492. /* 内边距 */
  493. .p-0 {
  494. padding: 0px;
  495. }
  496. .px-0 {
  497. padding-left: 0px;
  498. padding-right: 0px;
  499. }
  500. .py-0 {
  501. padding-top: 0px;
  502. padding-bottom: 0px;
  503. }
  504. .pt-0 {
  505. padding-top: 0px;
  506. }
  507. .pr-0 {
  508. padding-right: 0px;
  509. }
  510. .pb-0 {
  511. padding-bottom: 0px;
  512. }
  513. .pl-0 {
  514. padding-left: 0px;
  515. }
  516. /* p-[5px] */
  517. /* 外边距 */
  518. .m-0 {
  519. margin: 0px;
  520. }
  521. .mx-0 {
  522. margin-left: 0px;
  523. margin-right: 0px;
  524. }
  525. .my-0 {
  526. margin-top: 0px;
  527. margin-bottom: 0px;
  528. }
  529. .mt-0 {
  530. margin-top: 0px;
  531. }
  532. .mr-0 {
  533. margin-right: 0px;
  534. }
  535. .mb-0 {
  536. margin-bottom: 0px;
  537. }
  538. .ml-0 {
  539. margin-left: 0px;
  540. }
  541. /* m-[5px] */
  542. /* 宽度 */
  543. .w-full {
  544. width: 100%;
  545. }
  546. .w-screen {
  547. width: 100vw;
  548. }
  549. /* w-[32rem] */
  550. /* min-w-[50%] */
  551. /* max-w-[50%] */
  552. /* 高度 */
  553. .h-full {
  554. height: 100%;
  555. }
  556. .h-screen {
  557. height: 100vh;
  558. }
  559. /* h-[32rem] */
  560. /* min-h-[50%] */
  561. /* max-h-[32rem] */
  562. /* 字体 */
  563. .text-xs {
  564. font-size: 0.75rem; /* 12px */
  565. line-height: 1rem; /* 16px */
  566. }
  567. .text-sm {
  568. font-size: 0.875rem; /* 14px */
  569. line-height: 1.25rem; /* 20px */
  570. }
  571. .text-base {
  572. font-size: 1rem; /* 16px */
  573. line-height: 1.5rem; /* 24px */
  574. }
  575. .text-lg {
  576. font-size: 1.125rem; /* 18px */
  577. line-height: 1.75rem; /* 28px */
  578. }
  579. .text-xl {
  580. font-size: 1.25rem; /* 20px */
  581. line-height: 1.75rem; /* 28px */
  582. }
  583. .text-2xl {
  584. font-size: 1.5rem; /* 24px */
  585. line-height: 2rem; /* 32px */
  586. }
  587. .text-3xl {
  588. font-size: 1.875rem; /* 30px */
  589. line-height: 2.25rem; /* 36px */
  590. }
  591. .text-4xl {
  592. font-size: 2.25rem; /* 36px */
  593. line-height: 2.5rem; /* 40px */
  594. }
  595. .text-5xl {
  596. font-size: 3rem; /* 48px */
  597. line-height: 1;
  598. }
  599. .text-6xl {
  600. font-size: 3.75rem; /* 60px */
  601. line-height: 1;
  602. }
  603. .text-7xl {
  604. font-size: 4.5rem; /* 72px */
  605. line-height: 1;
  606. }
  607. .text-8xl {
  608. font-size: 6rem; /* 96px */
  609. line-height: 1;
  610. }
  611. .text-9xl {
  612. font-size: 8rem; /* 128px */
  613. line-height: 1;
  614. }
  615. /* text-[14px] */
  616. /* 字体粗细font-weight */
  617. /* font-[1100] */
  618. /* https://tailwindcss.com/docs/font-weight */
  619. /* 字体间距letter-spacing */
  620. /* tracking-[.25em] */
  621. /* 行高line-height */
  622. /* leading-[3rem] */
  623. /* 无列表样式 */
  624. .list-none {
  625. list-style-type: none;
  626. }
  627. /* 小圆点 */
  628. .list-disc {
  629. list-style-type: disc;
  630. }
  631. /* 数字列表 */
  632. .list-decimal {
  633. list-style-type: decimal;
  634. }
  635. .text-left {
  636. text-align: left;
  637. }
  638. .text-center {
  639. text-align: center;
  640. }
  641. .text-right {
  642. text-align: right;
  643. }
  644. /* 所有文本头尾对齐 */
  645. .text-justify {
  646. text-align: justify;
  647. }
  648. /* 文本颜色 */
  649. /* text-[#50d71e] */
  650. /* https://tailwindcss.com/docs/text-color */
  651. /* 下划线 */
  652. .underline {
  653. text-decoration-line: underline;
  654. }
  655. /* 上划线 */
  656. .overline {
  657. text-decoration-line: overline;
  658. }
  659. /* 中划线 */
  660. .line-through {
  661. text-decoration-line: line-through;
  662. }
  663. /* 无划线 */
  664. .no-underline {
  665. text-decoration-line: none;
  666. }
  667. /* 全小写 */
  668. .lowercase {
  669. text-transform: lowercase;
  670. }
  671. /* 全大写 */
  672. .uppercase {
  673. text-transform: uppercase;
  674. }
  675. /* 首字母大写 */
  676. .capitalize {
  677. text-transform: capitalize;
  678. }