index.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. page {
  2. width: 100vw;
  3. overflow: hidden;
  4. }
  5. .accounts {
  6. display: flex;
  7. justify-content: space-between;
  8. flex-wrap: wrap;
  9. .item {
  10. position: relative;
  11. width: 310rpx;
  12. margin-top: 20rpx;
  13. border-radius: 20rpx;
  14. border: 1rpx solid #E0E0E0;
  15. padding: 10rpx 20rpx;
  16. box-sizing: border-box;
  17. &:nth-child(-n+2) {
  18. margin-top: 0;
  19. }
  20. .title {
  21. line-height: 28rpx;
  22. font-family: PingFang SC, PingFang SC;
  23. font-size: 20rpx;
  24. color: #999999;
  25. margin-right: 20rpx;
  26. }
  27. .value {
  28. line-height: 44rpx;
  29. font-family: PingFang SC, PingFang SC;
  30. font-weight: bold;
  31. font-size: 32rpx;
  32. color: #333333;
  33. }
  34. .iconfont {
  35. position: absolute;
  36. top: 10rpx;
  37. right: 10rpx;
  38. font-size: 20rpx;
  39. }
  40. }
  41. .active {
  42. border-color: #1862E7;
  43. background-color: #F0F7FF;
  44. transition: all 0.3s ease;
  45. .title {
  46. color: #1862E7;
  47. font-weight: bold;
  48. }
  49. .value {
  50. color: #1862E7;
  51. }
  52. }
  53. }
  54. .detail {
  55. display: flex;
  56. justify-content: center;
  57. margin: 40rpx 0;
  58. .but {
  59. display: flex;
  60. padding: 10rpx 20rpx;
  61. background: #3874F6;
  62. border-radius: 8rpx;
  63. font-family: PingFang SC, PingFang SC;
  64. font-weight: bold;
  65. font-size: 28rpx;
  66. color: #FFFFFF;
  67. .iconfont {
  68. transform: rotate(-90deg);
  69. margin-left: 6rpx;
  70. }
  71. }
  72. }
  73. .chart {
  74. height: 540rpx;
  75. width: 100vw;
  76. }
  77. .chart2 {
  78. position: relative;
  79. ec-canvas {
  80. position: absolute;
  81. top: -590rpx;
  82. width: 690rpx;
  83. height: 570rpx;
  84. z-index: 2;
  85. right: 0rpx;
  86. }
  87. }