app.scss 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646
  1. /* #ifdef weapp */
  2. // @import '@/utils/common.scss';
  3. page {
  4. background-color: #f5f5f5;
  5. }
  6. @media (prefers-color-scheme:dark) {
  7. page {
  8. background-color: #f5f5f5;
  9. }
  10. }
  11. .container {
  12. display: flex;
  13. flex-direction: column;
  14. flex: 1;
  15. height: '100%';
  16. // height: 100vh;
  17. width: 100vw;
  18. }
  19. /* #endif */
  20. .pure_black {
  21. color: #000000;
  22. }
  23. .pure_white {
  24. color: #ffffff;
  25. }
  26. .gray0 {
  27. color: #1c1c1c;
  28. }
  29. .gray1 {
  30. background-color: #2D2D2F;
  31. }
  32. .pure_black_bg {
  33. background-color: #000000;
  34. }
  35. .pure_white_bg {
  36. background-color: #ffffff;
  37. }
  38. .gray0_bg {
  39. background-color: #1c1c1c;
  40. }
  41. .sleep_color {}
  42. .fast_color {}
  43. .fast_bg_color {}
  44. .metric_tag_bg {
  45. height: 32px;
  46. padding-left: 6px;
  47. padding-right: 6px;
  48. border-radius: 16px;
  49. background-color: #343434;
  50. display: flex;
  51. align-items: center;
  52. justify-content: center;
  53. flex-shrink: 0;
  54. position: absolute;
  55. right: -2px;
  56. top: 1px;
  57. }
  58. .metric_tag_text {
  59. height: 32px;
  60. line-height: 32px;
  61. font-size: 20px;
  62. }
  63. .px1SperateWidth {
  64. width: 2px;
  65. background-color: #fff;
  66. opacity: 0.1;
  67. margin-left: 100px;
  68. -webkit-transform: scaleX(0.5);
  69. transform: scaleX(0.5);
  70. }
  71. .px1SeperateHeight {
  72. display: flex;
  73. height: 2px;
  74. background-color: #fff;
  75. opacity: 0.1;
  76. -webkit-transform: scaleY(0.5);
  77. transform: scaleY(0.5);
  78. position: absolute;
  79. left: 0;
  80. right: 0;
  81. bottom: 0;
  82. }
  83. //modal
  84. .modal_title {
  85. font-size: 36px;
  86. line-height: 120px;
  87. height: 120px;
  88. font-weight: 500;
  89. width: 750px;
  90. text-align: center;
  91. }
  92. .modal_operate {
  93. display: flex;
  94. flex-direction: row;
  95. width: 750px;
  96. display: flex;
  97. justify-content: center;
  98. align-items: center;
  99. margin-top: 36px;
  100. }
  101. .modal_btn {
  102. width: 260px;
  103. height: 84px;
  104. border-radius: 42px;
  105. display: flex;
  106. align-items: center;
  107. justify-content: center;
  108. }
  109. .btn_space {
  110. width: 90px;
  111. }
  112. ::-webkit-scrollbar {
  113. display: none;
  114. width: 0;
  115. height: 0;
  116. color: transparent;
  117. }
  118. .box_header {
  119. display: flex;
  120. flex-direction: row;
  121. height: 48px;
  122. overflow: visible;
  123. // justify-content: space-between;
  124. position: relative;
  125. align-items: center;
  126. margin-bottom: 12px;
  127. }
  128. .box_title {
  129. display: flex;
  130. // background-color: red;
  131. height: 48px;
  132. font-weight: bold;
  133. font-size: 48px;
  134. line-height: 48px;
  135. flex: 1;
  136. color: #fff;
  137. }
  138. .box_subtitle {
  139. font-size: 32px;
  140. line-height: 32px;
  141. // font-weight: 400px;
  142. margin-bottom: 20px;
  143. opacity: 0.4;
  144. color: #fff;
  145. // background-color: pink;
  146. }
  147. .flex-expand {
  148. position: absolute;
  149. left: 0;
  150. top: 0;
  151. height: 1px;
  152. background-color: transparent;
  153. width: calc(100vw + 12px);
  154. }
  155. .modal_content {
  156. padding-bottom: 120px;
  157. display: flex;
  158. flex-direction: column;
  159. flex-shrink: 0;
  160. }
  161. .stepper_text {
  162. font-size: 48px;
  163. font-weight: 500;
  164. width: 350px;
  165. text-align: center;
  166. }
  167. .add_more {
  168. width: 320px;
  169. height: 314px;
  170. display: flex;
  171. flex-direction: column;
  172. align-items: center;
  173. justify-content: center;
  174. border-radius: 36px;
  175. // border-radius: $boxBorderRadius;
  176. padding-left: 36px;
  177. padding-right: 36px;
  178. padding-top: 24px;
  179. padding-bottom: 24px;
  180. background-color: #fff;
  181. box-sizing: border-box;
  182. margin-bottom: 20px;
  183. }
  184. .add_more_text {
  185. margin-top: 32px;
  186. // color: #fff;
  187. font-weight: bold;
  188. font-size: 32px;
  189. line-height: 36px;
  190. opacity: 0.8;
  191. }
  192. .cell_header {
  193. color: #fff;
  194. opacity: 0.6;
  195. margin-left: 86px;
  196. font-size: 28px;
  197. line-height: 28px;
  198. margin-bottom: 20px;
  199. }
  200. .cell_footer {
  201. color: #fff;
  202. opacity: 0.2;
  203. margin-left: 86px;
  204. margin-right: 86px;
  205. line-height: 32px;
  206. font-size: 24px;
  207. margin-top: 20px;
  208. display: flex;
  209. }
  210. .cell_bg {
  211. background-color: #1C1C1C;
  212. display: flex;
  213. flex-direction: column;
  214. border-radius: 24px;
  215. margin-left: 46px;
  216. margin-right: 46px;
  217. padding-left: 40px;
  218. padding-right: 40px;
  219. }
  220. .cell_full {
  221. background-color: #1C1C1C;
  222. display: flex;
  223. flex-direction: row;
  224. height: 96px;
  225. // margin-left: 46px;
  226. // margin-right: 46px;
  227. // padding-left: 40px;
  228. // padding-right: 40px;
  229. align-items: center;
  230. border-radius: 24px;
  231. }
  232. .cell_full1 {
  233. background-color: #1C1C1C;
  234. display: flex;
  235. flex-direction: row;
  236. height: 96px;
  237. margin-left: 46px;
  238. margin-right: 46px;
  239. padding-left: 40px;
  240. padding-right: 40px;
  241. align-items: center;
  242. border-radius: 24px;
  243. }
  244. .cell_top {
  245. background-color: #1C1C1C;
  246. display: flex;
  247. flex-direction: row;
  248. height: 96px;
  249. margin-left: 46px;
  250. margin-right: 46px;
  251. padding-left: 40px;
  252. padding-right: 40px;
  253. align-items: center;
  254. border-top-left-radius: 24px;
  255. border-top-right-radius: 24px;
  256. position: relative;
  257. }
  258. .cell_line {
  259. margin-left: 0px;
  260. height: 2px;
  261. background-color: #323232;
  262. transform: scaleY(0.5);
  263. }
  264. .cell_bottom {
  265. background-color: #1C1C1C;
  266. display: flex;
  267. flex-direction: row;
  268. height: 96px;
  269. margin-left: 46px;
  270. margin-right: 46px;
  271. padding-left: 40px;
  272. padding-right: 40px;
  273. align-items: center;
  274. border-bottom-left-radius: 24px;
  275. border-bottom-right-radius: 24px;
  276. }
  277. .cell_center {
  278. position: relative;
  279. background-color: #1C1C1C;
  280. display: flex;
  281. flex-direction: row;
  282. height: 96px;
  283. margin-left: 46px;
  284. margin-right: 46px;
  285. padding-left: 40px;
  286. padding-right: 40px;
  287. align-items: center;
  288. }
  289. .cell_title {
  290. font-size: 28px;
  291. color: #fff;
  292. flex: 1;
  293. }
  294. .cell_value {
  295. font-size: 28px;
  296. color: #fff;
  297. }
  298. .cell_arrow {
  299. width: 40px;
  300. height: 40px;
  301. opacity: 0.2;
  302. }
  303. // @media only screen and (-webkit-min-device-pixel-ratio: 2.0) {
  304. // .px1Width::after {
  305. // -webkit-transform: scaleX(0.5);
  306. // transform: scaleX(0.5);
  307. // }
  308. // .px1Height::after {
  309. // -webkit-transform: scaleY(0.5);
  310. // transform: scaleY(0.5);
  311. // }
  312. // }
  313. // /* 3倍屏 */
  314. // @media only screen and (-webkit-min-device-pixel-ratio: 3.0) {
  315. // .px1Width::after {
  316. // -webkit-transform: scaleX(0.33);
  317. // transform: scaleX(0.33);
  318. // }
  319. // .px1Height::after {
  320. // -webkit-transform: scaleY(0.33);
  321. // transform: scaleY(0.33);
  322. // }
  323. // }
  324. .seperate_line {
  325. height: 2px;
  326. transform: scaleY(0.5);
  327. background-color: #B2B2B2;
  328. opacity: 0.4;
  329. position: absolute;
  330. left: 0;
  331. right: 0;
  332. bottom: 0;
  333. }
  334. .border_header_line {
  335. height: 2px;
  336. transform: scaleY(0.5);
  337. // background-color: red;
  338. background-color: #000;
  339. opacity: 0.1;
  340. position: absolute;
  341. left: 0;
  342. right: 0;
  343. top: 0;
  344. }
  345. .border_footer_line {
  346. height: 2px;
  347. transform: scaleY(0.5);
  348. // background-color: red;
  349. background-color: #000;
  350. opacity: 0.1;
  351. position: absolute;
  352. left: 0;
  353. right: 0;
  354. bottom: 0;
  355. }
  356. .canvas {}
  357. .cell_hover {
  358. background-color: #E5E5E5;
  359. }
  360. .guide_tip {
  361. height: 80px;
  362. display: flex;
  363. align-items: center;
  364. justify-content: center;
  365. background-color: #0080FF1A;
  366. color: #0080FF;
  367. width: 750px;
  368. position: relative;
  369. z-index: 10;
  370. }
  371. .page_container {
  372. display: flex;
  373. flex-direction: column;
  374. flex: 1;
  375. height: 100vh;
  376. }
  377. .card_header {
  378. display: flex;
  379. flex-direction: row;
  380. padding-left: 28px;
  381. padding-right: 28px;
  382. box-sizing: border-box;
  383. align-items: center;
  384. height: 128px;
  385. width: 698px;
  386. flex-shrink: 0;
  387. flex: 1;
  388. }
  389. .card_footer {
  390. height: 108px;
  391. display: flex;
  392. flex-direction: row;
  393. align-items: center;
  394. justify-content: center;
  395. }
  396. .h50 {
  397. font-size: 50px;
  398. line-height: 60px;
  399. }
  400. .h44 {
  401. font-size: 44px;
  402. line-height: 52px;
  403. }
  404. .h42 {
  405. font-size: 42px;
  406. line-height: 50px;
  407. }
  408. .h36 {
  409. font-size: 36px;
  410. line-height: 44px;
  411. }
  412. .h34 {
  413. font-size: 34px;
  414. line-height: 42px;
  415. }
  416. .h30 {
  417. font-size: 30px;
  418. line-height: 36px;
  419. }
  420. .h28 {
  421. font-size: 28px;
  422. line-height: 34px;
  423. }
  424. .h26 {
  425. font-size: 26px;
  426. line-height: 32px;
  427. }
  428. .h24 {
  429. font-size: 24px;
  430. line-height: 28px;
  431. }
  432. .h22 {
  433. font-size: 22px;
  434. line-height: 26px;
  435. }
  436. .h20 {
  437. font-size: 20px;
  438. line-height: 24px;
  439. }
  440. // view{
  441. // letter-spacing: 0px;
  442. // }
  443. // text{
  444. // letter-spacing: 0px;
  445. // }
  446. .bold {
  447. font-weight: bold;
  448. }
  449. .main_column_space {
  450. flex-shrink: 0;
  451. height: 36px;
  452. }
  453. /* #ifdef weapp */
  454. .main_footer {
  455. display: flex;
  456. flex-direction: column;
  457. width: 750px;
  458. align-items: center;
  459. justify-content: center;
  460. padding-bottom: 128px;
  461. padding-top: 40px;
  462. position: fixed;
  463. left: 0;
  464. right: 0;
  465. bottom: 0;
  466. z-index: 10;
  467. background-color: #f5f5f5;
  468. }
  469. /* #endif */
  470. /* #ifdef rn */
  471. .main_footer {
  472. display: flex;
  473. width: 750px;
  474. align-items: center;
  475. justify-content: center;
  476. padding-bottom: 128px;
  477. padding-top: 40px;
  478. z-index: 10;
  479. background-color: #f5f5f5;
  480. }
  481. /* #endif */
  482. .cell_footer_title {
  483. margin-top: 24px;
  484. margin-left: 52px;
  485. }
  486. .cell_footer_desc {
  487. margin-left: 52px;
  488. }
  489. .g01 {
  490. color: #595959
  491. }
  492. .g02 {
  493. color: #999999
  494. }
  495. .g03 {
  496. color: #d9d9d9
  497. }
  498. .g04 {
  499. color: #f0f0f0
  500. }
  501. .g05 {
  502. color: #f5f5f5
  503. }
  504. .line1 {
  505. white-space: nowrap;
  506. /* 不换行 */
  507. overflow: hidden;
  508. /* 隐藏超出部分 */
  509. text-overflow: ellipsis;
  510. /* 显示省略号 */
  511. width: 100%;
  512. }
  513. .line2 {
  514. overflow: hidden;
  515. text-overflow: ellipsis;
  516. display: -webkit-box;
  517. -webkit-line-clamp: 2;
  518. -webkit-box-orient: vertical;
  519. }
  520. .line3 {
  521. overflow: hidden;
  522. text-overflow: ellipsis;
  523. display: -webkit-box;
  524. -webkit-line-clamp: 3;
  525. -webkit-box-orient: vertical;
  526. }
  527. .cell_date {
  528. // background-color: pink;
  529. display: flex;
  530. margin-right: 0px;
  531. margin-top: -4px;
  532. width: 122px;
  533. height: 60px;
  534. flex-shrink: 0;
  535. flex-direction: row;
  536. align-items: flex-end;
  537. justify-content: flex-start;
  538. display: flex;
  539. color: #000;
  540. }
  541. .history_year_month {
  542. height: 84px;
  543. padding-left: 40px;
  544. display: flex;
  545. flex-direction: row;
  546. align-items: flex-end;
  547. background-color: #fff;
  548. }