电速宝
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. .container {
  2. width: 100%;
  3. height: 100%;
  4. padding: 16rpx;
  5. background-color: #f5f5f5;
  6. box-sizing: border-box;
  7. }
  8. /* 筛选栏样式 */
  9. .filter-bar {
  10. width: 100%;
  11. display: flex;
  12. justify-content: space-between;
  13. align-items: center;
  14. background: white;
  15. border-radius: 8rpx;
  16. padding: 0 16rpx;
  17. margin-bottom: 16rpx;
  18. box-sizing: border-box;
  19. }
  20. .filter_left{
  21. display: flex;
  22. }
  23. .filter-item {
  24. padding: 20rpx 32rpx;
  25. font-size: 32rpx;
  26. color: #333;
  27. position: relative;
  28. }
  29. .filter-item.active {
  30. color: #07c160;
  31. font-weight: bold;
  32. }
  33. .filter-item.active::after {
  34. content: '';
  35. position: absolute;
  36. bottom: 0;
  37. left: 50%;
  38. transform: translateX(-50%);
  39. width: 40rpx;
  40. height: 6rpx;
  41. background-color: #07c160;
  42. border-radius: 3rpx;
  43. }
  44. .date-btn {
  45. margin-left: auto;
  46. background: #f5f5f5;
  47. color: #666;
  48. font-size: 28rpx;
  49. padding: 8rpx 16rpx;
  50. border-radius: 4rpx;
  51. line-height: 1;
  52. }
  53. /* 统计卡片样式 */
  54. .stat-card {
  55. width: 100%;
  56. display: flex;
  57. justify-content: space-around;
  58. background: white;
  59. border-radius: 8rpx;
  60. padding: 24rpx 0;
  61. margin-bottom: 16rpx;
  62. }
  63. .stat-item {
  64. width: 100%;
  65. display: flex;
  66. align-items: center;
  67. /* justify-content: space-between; */
  68. justify-content: space-around;
  69. text-align: center;
  70. }
  71. .stat-label {
  72. display: block;
  73. font-size: 28rpx;
  74. color: #222222;
  75. font-weight: bold;
  76. }
  77. .stat-value {
  78. font-size: 38rpx;
  79. color: #333;
  80. font-weight: bold;
  81. }
  82. .positive {
  83. color: #07c160;
  84. }
  85. .negative {
  86. color: #ff4757;
  87. }
  88. /* 新增:折线图样式(适配现有设计风格) */
  89. .chart-container {
  90. width: 100%;
  91. background: white;
  92. border-radius: 8rpx;
  93. padding: 16rpx;
  94. margin-bottom: 16rpx;
  95. box-sizing: border-box;
  96. }
  97. .chart {
  98. width: 100%;
  99. height: 420rpx;
  100. }
  101. .chart-title {
  102. font-size: 14px;
  103. color: #333;
  104. /* text-align: center; 居中/left靠左/right靠右 */
  105. margin-bottom: 10px;
  106. font-weight: 500;
  107. }
  108. /* 数据列表样式 */
  109. .data-list {
  110. width: 100%;
  111. background: white;
  112. border-radius: 18rpx;
  113. padding: 20rpx;
  114. box-sizing: border-box;
  115. }
  116. .list-header {
  117. display: flex;
  118. justify-content: space-between;
  119. font-size: 26rpx;
  120. color: #666;
  121. font-weight: bold;
  122. border-right: 1rpx solid #f0f0f0;
  123. }
  124. .list-content{
  125. margin: 1rpx;
  126. border: 1rpx solid #f0f0f0;
  127. border-right: 0rpx solid #f0f0f0;
  128. box-sizing: border-box;
  129. }
  130. .list_title1{
  131. display: flex;
  132. align-items: center;
  133. justify-content: center;
  134. font-size: 26rpx;
  135. flex: 1;
  136. height: 100rpx;
  137. border-right: 1rpx solid #f0f0f0;
  138. }
  139. .list_title2{
  140. display: flex;
  141. align-items: center;
  142. justify-content: center;
  143. font-size: 26rpx;
  144. flex: 1;
  145. height: 100rpx;
  146. /* border-bottom: 1rpx solid #f0f0f0; */
  147. }
  148. .list_title3{
  149. display: flex;
  150. align-items: center;
  151. justify-content: center;
  152. font-size: 26rpx;
  153. flex: 1;
  154. height: 100rpx;
  155. border-right: 1rpx solid #f0f0f0;
  156. border-top: 1rpx solid #f0f0f0;
  157. }
  158. .list_title4{
  159. display: flex;
  160. align-items: center;
  161. justify-content: center;
  162. font-size: 26rpx;
  163. flex: 1;
  164. height: 100rpx;
  165. border-top: 1rpx solid #f0f0f0;
  166. border-right: 1rpx solid #f0f0f0;
  167. }
  168. .list-item {
  169. display: flex;
  170. justify-content: space-between;
  171. font-size: 28rpx;
  172. }
  173. .list-item:last-child {
  174. border-bottom: none;
  175. }
  176. .empty-tip {
  177. width: 100%;
  178. text-align: center;
  179. padding: 60rpx 0;
  180. font-size: 28rpx;
  181. color: #999;
  182. background: white;
  183. border-radius: 8rpx;
  184. margin-bottom: 16rpx;
  185. box-sizing: border-box;
  186. }
  187. /* 日期选择器遮罩 */
  188. .picker-mask {
  189. position: fixed;
  190. top: 0;
  191. left: 0;
  192. right: 0;
  193. bottom: 0;
  194. background: transparent;
  195. z-index: 999;
  196. }