investHome4.css 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  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('../images/back-big.png') no-repeat center bottom;
  104. padding-bottom: 65px;
  105. display: grid;
  106. /* grid-template-columns: repeat(2, minmax(0, 1fr));
  107. grid-template-rows: repeat(2, minmax(0, 1fr)); */
  108. grid-template-columns: repeat(2, 50%);
  109. grid-template-rows: repeat(2, 50%);
  110. gap: 10px;
  111. }
  112. .panel-title {
  113. position: relative;
  114. text-align: center;
  115. height: 50px;
  116. line-height: 50px;
  117. }
  118. .panel-title .text {
  119. font-size: 20px;
  120. font-weight: 600;
  121. color: #05fbfe;
  122. text-shadow: 0px 2px 10px rgba(10, 30, 52, 0.48);
  123. background: linear-gradient(0deg, #ffffff 0%, #63dcff 0%, #e0f3ff 100%);
  124. -webkit-background-clip: text;
  125. -webkit-text-fill-color: transparent;
  126. position: relative;
  127. }
  128. .panel-title .text::before {
  129. position: absolute;
  130. content: ' ';
  131. top: 10px;
  132. left: -40px;
  133. width: 30px;
  134. height: 10px;
  135. background: url('../images/title-left.png') no-repeat;
  136. }
  137. .panel-title .text::after {
  138. position: absolute;
  139. content: ' ';
  140. top: 10px;
  141. right: -40px;
  142. width: 30px;
  143. height: 10px;
  144. background: url('../images/title-right.png') no-repeat;
  145. }
  146. .lt-bottom {
  147. display: grid;
  148. height: calc(100% - 50px);
  149. grid-template-columns: 1fr 2fr;
  150. gap: 10px;
  151. padding: 10px;
  152. }
  153. .lt-bottom-left {
  154. display: grid;
  155. grid-template-rows: repeat(4, 1fr);
  156. gap: 10px;
  157. }
  158. .lt-bottom-left > div {
  159. background: url('../images4/button-back.png') no-repeat;
  160. background-size: 100% 100%;
  161. font-size: 18px;
  162. font-weight: bold;
  163. }
  164. .lt-bottom-right {
  165. background: url('../images4/list-back.png') no-repeat;
  166. background-size: 100% 100%;
  167. }
  168. .tl,
  169. .tr,
  170. .bl,
  171. .br {
  172. background: url('../images4/list-back.png') no-repeat;
  173. background-size: 100% 100%;
  174. }
  175. /* zhb */
  176. /* 宽高纵横比 */
  177. .aspect-auto {
  178. aspect-ratio: auto;
  179. }
  180. .aspect-square {
  181. aspect-ratio: 1 / 1;
  182. }
  183. .aspect-video {
  184. aspect-ratio: 16 / 9;
  185. }
  186. /* aspect-[4/3] */
  187. /* 居中 */
  188. .mx-auto {
  189. margin: 0 auto;
  190. }
  191. /* 设置容器内的列数/每列距离 */
  192. .columns-1 {
  193. columns: 1;
  194. }
  195. /* columns-[20px] */
  196. /* 盒子模型 */
  197. .box-border {
  198. box-sizing: border-box;
  199. }
  200. .box-content {
  201. box-sizing: content-box;
  202. }
  203. /* 消失 */
  204. .hidden {
  205. display: none;
  206. }
  207. /* 块级元素 */
  208. .block {
  209. display: block;
  210. }
  211. /* 行内块 */
  212. .inline-block {
  213. display: inline-block;
  214. }
  215. /* 行内元素 */
  216. .inline {
  217. display: inline;
  218. }
  219. /* 弹性布局 */
  220. .flex {
  221. display: flex;
  222. }
  223. /* 主轴起点在左边 */
  224. .flex-row {
  225. flex-direction: row;
  226. }
  227. /* 主轴起点在右边 */
  228. .flex-row-reverse {
  229. flex-direction: row-reverse;
  230. }
  231. /* 主轴竖向排列,在上面 */
  232. .flex-col {
  233. flex-direction: column;
  234. }
  235. /* 主轴竖向排列,在下面 */
  236. .flex-col-reverse {
  237. flex-direction: column-reverse;
  238. }
  239. /* 自动换行 */
  240. .flex-wrap {
  241. flex-wrap: wrap;
  242. }
  243. /* 自动换行下起点 */
  244. .flex-wrap-reverse {
  245. flex-wrap: wrap-reverse;
  246. }
  247. /* 不换行 */
  248. .flex-nowrap {
  249. flex-wrap: nowrap;
  250. }
  251. /* 弹性成长 */
  252. .grow {
  253. flex-grow: 1;
  254. }
  255. /* 不允许弹性成长 */
  256. .grow-0 {
  257. flex-grow: 0;
  258. }
  259. /* 主轴从左开始 */
  260. .justify-start {
  261. justify-content: flex-start;
  262. }
  263. /* 主轴从右开始 */
  264. .justify-end {
  265. justify-content: flex-end;
  266. }
  267. /* 主轴剧中 */
  268. .justify-center {
  269. justify-content: center;
  270. }
  271. /* 主轴两端无间隔 */
  272. .justify-between {
  273. justify-content: space-between;
  274. }
  275. /* 主轴两端有间隔 */
  276. .justify-around {
  277. justify-content: space-around;
  278. }
  279. /* 所有间隔相等 */
  280. .justify-evenly {
  281. justify-content: space-evenly;
  282. }
  283. /* 纵向起点最上方 */
  284. .items-start {
  285. align-items: flex-start;
  286. }
  287. /* 纵向起点最下方 */
  288. .items-end {
  289. align-items: flex-end;
  290. }
  291. .items-center {
  292. align-items: center;
  293. }
  294. /* 网格布局 */
  295. .grid {
  296. display: grid;
  297. }
  298. /* 有几列 */
  299. .grid-cols-4 {
  300. grid-template-columns: repeat(4, minmax(0, 1fr));
  301. }
  302. /* 有几行 */
  303. .grid-rows-3 {
  304. grid-template-rows: repeat(3, minmax(0, 1fr));
  305. }
  306. /* 间距 */
  307. .gap-7 {
  308. gap: 1.75rem;
  309. }
  310. /* 允许弹性成长 */
  311. .shrink {
  312. flex-shrink: 1;
  313. }
  314. /* 不允许弹性成长 */
  315. .shrink-0 {
  316. flex-shrink: 0;
  317. }
  318. /* 不允许成长也不允许收缩 */
  319. .flex-none {
  320. flex: none;
  321. }
  322. /* 浮动布局 */
  323. .float-right {
  324. float: right;
  325. }
  326. .float-left {
  327. float: left;
  328. }
  329. .clear-both {
  330. clear: both;
  331. }
  332. /* 溢出 */
  333. .overflow-auto {
  334. overflow: auto;
  335. }
  336. .overflow-hidden {
  337. overflow: hidden;
  338. }
  339. .overflow-scroll {
  340. overflow: scroll;
  341. }
  342. .overflow-x-auto {
  343. overflow-x: auto;
  344. }
  345. .overflow-y-auto {
  346. overflow-y: auto;
  347. }
  348. /* 定位 */
  349. .fixed {
  350. position: fixed;
  351. }
  352. .absolute {
  353. position: absolute;
  354. }
  355. .relative {
  356. position: relative;
  357. }
  358. .top-0 {
  359. top: 0px;
  360. }
  361. .right-0 {
  362. right: 0px;
  363. }
  364. .bottom-0 {
  365. bottom: 0px;
  366. }
  367. .left-0 {
  368. left: 0px;
  369. }
  370. /* top-[3px] */
  371. /* z-[100] */
  372. /* 显示隐藏未脱离文档流 */
  373. .visible {
  374. visibility: visible;
  375. }
  376. .invisible {
  377. visibility: hidden;
  378. }
  379. /* 内边距 */
  380. .p-0 {
  381. padding: 0px;
  382. }
  383. .px-0 {
  384. padding-left: 0px;
  385. padding-right: 0px;
  386. }
  387. .py-0 {
  388. padding-top: 0px;
  389. padding-bottom: 0px;
  390. }
  391. .pt-0 {
  392. padding-top: 0px;
  393. }
  394. .pr-0 {
  395. padding-right: 0px;
  396. }
  397. .pb-0 {
  398. padding-bottom: 0px;
  399. }
  400. .pl-0 {
  401. padding-left: 0px;
  402. }
  403. /* p-[5px] */
  404. /* 外边距 */
  405. .m-0 {
  406. margin: 0px;
  407. }
  408. .mx-0 {
  409. margin-left: 0px;
  410. margin-right: 0px;
  411. }
  412. .my-0 {
  413. margin-top: 0px;
  414. margin-bottom: 0px;
  415. }
  416. .mt-0 {
  417. margin-top: 0px;
  418. }
  419. .mr-0 {
  420. margin-right: 0px;
  421. }
  422. .mb-0 {
  423. margin-bottom: 0px;
  424. }
  425. .ml-0 {
  426. margin-left: 0px;
  427. }
  428. /* m-[5px] */
  429. /* 宽度 */
  430. .w-full {
  431. width: 100%;
  432. }
  433. .w-screen {
  434. width: 100vw;
  435. }
  436. /* w-[32rem] */
  437. /* min-w-[50%] */
  438. /* max-w-[50%] */
  439. /* 高度 */
  440. .h-full {
  441. height: 100%;
  442. }
  443. .h-screen {
  444. height: 100vh;
  445. }
  446. /* h-[32rem] */
  447. /* min-h-[50%] */
  448. /* max-h-[32rem] */
  449. /* 字体 */
  450. .text-xs {
  451. font-size: 0.75rem; /* 12px */
  452. line-height: 1rem; /* 16px */
  453. }
  454. .text-sm {
  455. font-size: 0.875rem; /* 14px */
  456. line-height: 1.25rem; /* 20px */
  457. }
  458. .text-base {
  459. font-size: 1rem; /* 16px */
  460. line-height: 1.5rem; /* 24px */
  461. }
  462. .text-lg {
  463. font-size: 1.125rem; /* 18px */
  464. line-height: 1.75rem; /* 28px */
  465. }
  466. .text-xl {
  467. font-size: 1.25rem; /* 20px */
  468. line-height: 1.75rem; /* 28px */
  469. }
  470. .text-2xl {
  471. font-size: 1.5rem; /* 24px */
  472. line-height: 2rem; /* 32px */
  473. }
  474. .text-3xl {
  475. font-size: 1.875rem; /* 30px */
  476. line-height: 2.25rem; /* 36px */
  477. }
  478. .text-4xl {
  479. font-size: 2.25rem; /* 36px */
  480. line-height: 2.5rem; /* 40px */
  481. }
  482. .text-5xl {
  483. font-size: 3rem; /* 48px */
  484. line-height: 1;
  485. }
  486. .text-6xl {
  487. font-size: 3.75rem; /* 60px */
  488. line-height: 1;
  489. }
  490. .text-7xl {
  491. font-size: 4.5rem; /* 72px */
  492. line-height: 1;
  493. }
  494. .text-8xl {
  495. font-size: 6rem; /* 96px */
  496. line-height: 1;
  497. }
  498. .text-9xl {
  499. font-size: 8rem; /* 128px */
  500. line-height: 1;
  501. }
  502. /* text-[14px] */
  503. /* 字体粗细font-weight */
  504. /* font-[1100] */
  505. /* https://tailwindcss.com/docs/font-weight */
  506. /* 字体间距letter-spacing */
  507. /* tracking-[.25em] */
  508. /* 行高line-height */
  509. /* leading-[3rem] */
  510. /* 无列表样式 */
  511. .list-none {
  512. list-style-type: none;
  513. }
  514. /* 小圆点 */
  515. .list-disc {
  516. list-style-type: disc;
  517. }
  518. /* 数字列表 */
  519. .list-decimal {
  520. list-style-type: decimal;
  521. }
  522. .text-left {
  523. text-align: left;
  524. }
  525. .text-center {
  526. text-align: center;
  527. }
  528. .text-right {
  529. text-align: right;
  530. }
  531. /* 所有文本头尾对齐 */
  532. .text-justify {
  533. text-align: justify;
  534. }
  535. /* 文本颜色 */
  536. /* text-[#50d71e] */
  537. /* https://tailwindcss.com/docs/text-color */
  538. /* 下划线 */
  539. .underline {
  540. text-decoration-line: underline;
  541. }
  542. /* 上划线 */
  543. .overline {
  544. text-decoration-line: overline;
  545. }
  546. /* 中划线 */
  547. .line-through {
  548. text-decoration-line: line-through;
  549. }
  550. /* 无划线 */
  551. .no-underline {
  552. text-decoration-line: none;
  553. }
  554. /* 全小写 */
  555. .lowercase {
  556. text-transform: lowercase;
  557. }
  558. /* 全大写 */
  559. .uppercase {
  560. text-transform: uppercase;
  561. }
  562. /* 首字母大写 */
  563. .capitalize {
  564. text-transform: capitalize;
  565. }