app.scss 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598
  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_footer_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. bottom: 0;
  344. }
  345. .canvas {}
  346. .cell_hover {
  347. background-color: #E5E5E5;
  348. }
  349. .guide_tip {
  350. height: 80px;
  351. display: flex;
  352. align-items: center;
  353. justify-content: center;
  354. background-color: #0080FF1A;
  355. color: #0080FF;
  356. width: 750px;
  357. position: relative;
  358. z-index: 10;
  359. }
  360. .page_container {
  361. display: flex;
  362. flex-direction: column;
  363. flex: 1;
  364. height: 100vh;
  365. }
  366. .card_header {
  367. display: flex;
  368. flex-direction: row;
  369. padding-left: 28px;
  370. padding-right: 28px;
  371. box-sizing: border-box;
  372. align-items: center;
  373. height: 128px;
  374. width: 698px;
  375. flex-shrink: 0;
  376. flex: 1;
  377. }
  378. .card_footer {
  379. height: 108px;
  380. display: flex;
  381. flex-direction: row;
  382. align-items: center;
  383. justify-content: center;
  384. }
  385. .h50 {
  386. font-size: 50px;
  387. line-height: 60px;
  388. }
  389. .h44 {
  390. font-size: 44px;
  391. line-height: 52px;
  392. }
  393. .h34 {
  394. font-size: 34px;
  395. line-height: 42px;
  396. }
  397. .h30 {
  398. font-size: 30px;
  399. line-height: 36px;
  400. }
  401. .h28 {
  402. font-size: 28px;
  403. line-height: 34px;
  404. }
  405. .h26 {
  406. font-size: 26px;
  407. line-height: 32px;
  408. }
  409. .h24 {
  410. font-size: 24px;
  411. line-height: 28px;
  412. }
  413. .h22 {
  414. font-size: 22px;
  415. line-height: 26px;
  416. }
  417. .h20 {
  418. font-size: 20px;
  419. line-height: 24px;
  420. }
  421. .bold {
  422. font-weight: bold;
  423. }
  424. .main_column_space {
  425. flex-shrink: 0;
  426. height: 36px;
  427. }
  428. /* #ifdef weapp */
  429. .main_footer {
  430. display: flex;
  431. width: 750px;
  432. align-items: center;
  433. justify-content: center;
  434. padding-bottom: 128px;
  435. padding-top: 40px;
  436. position: fixed;
  437. left: 0;
  438. right: 0;
  439. bottom: 0;
  440. z-index: 10;
  441. background-color: #f5f5f5;
  442. }
  443. /* #endif */
  444. /* #ifdef rn */
  445. .main_footer {
  446. display: flex;
  447. width: 750px;
  448. align-items: center;
  449. justify-content: center;
  450. padding-bottom: 128px;
  451. padding-top: 40px;
  452. z-index: 10;
  453. background-color: #f5f5f5;
  454. }
  455. /* #endif */
  456. .cell_footer_title {
  457. margin-top: 24px;
  458. margin-left: 52px;
  459. }
  460. .cell_footer_desc {
  461. margin-left: 52px;
  462. }
  463. .g01 {
  464. color: #595959
  465. }
  466. .g02 {
  467. color: #b2b2b2
  468. }
  469. .g03 {
  470. color: #d9d9d9
  471. }
  472. .g04 {
  473. color: #f0f0f0
  474. }
  475. .g05 {
  476. color: #f5f5f5
  477. }
  478. .line1 {
  479. white-space: nowrap;
  480. /* 不换行 */
  481. overflow: hidden;
  482. /* 隐藏超出部分 */
  483. text-overflow: ellipsis;
  484. /* 显示省略号 */
  485. width: 100%;
  486. }
  487. .cell_date {
  488. margin-right: 24px;
  489. width: 74px;
  490. height: 68px;
  491. flex-shrink: 0;
  492. align-items: center;
  493. justify-content: center;
  494. display: flex;
  495. color: #000;
  496. font-size: 50px;
  497. font-weight: bold;
  498. }
  499. .history_year_month{
  500. height: 84px;
  501. padding-left: 40px;
  502. display: flex;
  503. flex-direction: row;
  504. align-items: center;
  505. background-color: #fff;
  506. }