index.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. .mine {
  2. display: flex;
  3. flex-direction: column;
  4. width: 100%;
  5. background-color: #fff;
  6. }
  7. .mine .head {
  8. display: flex;
  9. flex-direction: row;
  10. justify-content: center;
  11. align-items: center;
  12. margin-top: 20rpx;
  13. }
  14. .mine .head image {
  15. height: 64rpx;
  16. width: 64rpx;
  17. margin: 0 10rpx;
  18. }
  19. .mine .head .balance {
  20. color: #301310;
  21. font-size: 36rpx;
  22. }
  23. .mine .main {
  24. display: flex;
  25. flex-direction: row;
  26. margin-top: 36rpx;
  27. height: 240rpx;
  28. }
  29. .mine .main .left {
  30. display: flex;
  31. flex-direction: column;
  32. justify-content: center;
  33. align-items: center;
  34. width: 40%;
  35. }
  36. .main .left .stopped {
  37. width: 200rpx;
  38. height: 200rpx;
  39. background: #838383 !important;
  40. color: #fff;
  41. border-radius: 50%;
  42. display: flex;
  43. flex-direction: column;
  44. justify-content: center;
  45. align-items: center;
  46. }
  47. .main .left .started {
  48. width: 200rpx;
  49. height: 200rpx;
  50. background-color: rgba(214, 31, 31, 0.9) !important;
  51. color: #fff;
  52. border-radius: 50%;
  53. display: flex;
  54. flex-direction: column;
  55. justify-content: center;
  56. align-items: center;
  57. transform: scale(1);
  58. animation: heartbeat 3s;
  59. animation-iteration-count: infinite;
  60. }
  61. @keyframes heartbeat {
  62. 60% {
  63. transform: scale(1.1);
  64. }
  65. 100% {
  66. transform: scale(1);
  67. }
  68. }
  69. .mine .main .right {
  70. display: flex;
  71. flex-direction: column;
  72. justify-content: center;
  73. }
  74. .mine .main .right .current {
  75. display: flex;
  76. flex-direction: row;
  77. justify-content: flex-start;
  78. align-items: flex-start;
  79. }
  80. .mine .main .right .current .progress {
  81. font-size: 48rpx;
  82. color: #e93323;
  83. }
  84. .mine .his {
  85. display: flex;
  86. flex-direction: column;
  87. justify-content: flex-start;
  88. }
  89. .mine .his .his-img {
  90. display: flex;
  91. flex-direction: row;
  92. justify-content: center;
  93. }
  94. .mine .his .his-img image {
  95. width: 431rpx;
  96. height: 88rpx;
  97. }
  98. .mine .his .no-record {
  99. display: flex;
  100. flex-direction: row;
  101. justify-content: center;
  102. margin-top: 32rpx;
  103. color: gray;
  104. }
  105. .mine .his .records {
  106. display: flex;
  107. flex-direction: column;
  108. width: 100%;
  109. margin: 32rpx 20rpx;
  110. }
  111. .mine .his .records .item {
  112. display: flex;
  113. flex-direction: row;
  114. justify-content: flex-start;
  115. align-items: center;
  116. height: 54rpx;
  117. margin: 10rpx;
  118. }
  119. .mine .his .records .color {
  120. color: #e93323;
  121. }
  122. .mine .his .records .item .icon {
  123. display: flex;
  124. flex-direction: row;
  125. justify-content: flex-start;
  126. align-items: center;
  127. width: 10%;
  128. }
  129. .mine .his .records .item .icon image {
  130. width: 48rpx;
  131. height: 48rpx;
  132. }
  133. .mine .his .records .item .symbol {
  134. display: flex;
  135. width: 15%;
  136. }
  137. .mine .his .records .item .direction {
  138. display: flex;
  139. width: 15%;
  140. }
  141. .mine .his .records .item .amount {
  142. display: flex;
  143. width: 30%;
  144. }
  145. .mine .his .records .item .time {
  146. display: flex;
  147. width: 30%;
  148. }