index.wxss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. .data-list {
  2. display: flex;
  3. justify-content: space-between;
  4. flex-wrap: wrap;
  5. }
  6. .data-list .data-item {
  7. width: calc((100% - 20rpx) / 2);
  8. border: 1rpx solid rgba(224, 224, 224, 0.5);
  9. background-color: #fff;
  10. min-height: 160rpx;
  11. overflow: hidden;
  12. box-sizing: border-box;
  13. padding: 20rpx 26rpx;
  14. margin-bottom: 20rpx;
  15. display: flex;
  16. flex-direction: column;
  17. justify-content: space-between;
  18. }
  19. .data-list .tit {
  20. padding-bottom: 14rpx;
  21. }
  22. .data-list .info {
  23. display: flex;
  24. justify-content: space-between;
  25. align-items: center;
  26. }
  27. .data-list .num {
  28. font-size: 40rpx;
  29. font-weight: bold;
  30. line-height: 1;
  31. max-width: 50%;
  32. word-break: break-all;
  33. }
  34. .data-list .trend {
  35. font-size: 24rpx;
  36. color: #999;
  37. display: flex;
  38. justify-content: right;
  39. align-items: center;
  40. }
  41. .data-list .trend image {
  42. width: 26rpx;
  43. margin-right: 5rpx;
  44. display: inline-block;
  45. }
  46. .data-list .trend .text {
  47. display: inline-block;
  48. }
  49. /* 访客数 点击数 echart */
  50. .today-chart {
  51. position: relative;
  52. margin-bottom: 60rpx;
  53. }
  54. .today-chart .switch {
  55. font-size: 28rpx;
  56. position: absolute;
  57. top: 0;
  58. right: 0;
  59. z-index: 5;
  60. }
  61. ec-canvas {
  62. display: block;
  63. width: 100%;
  64. height: 500rpx;
  65. }
  66. /* 访客来源 */
  67. .source-chart{
  68. margin-bottom: 30rpx;
  69. }
  70. .source-chart .source-info {
  71. background-color: #fff;
  72. width: 440rpx;
  73. min-height: 140rpx;
  74. padding: 20rpx;
  75. box-sizing: border-box;
  76. margin: 20rpx auto 100rpx;
  77. }
  78. .source-chart .tit {
  79. font-size: 26rpx;
  80. color: #666;
  81. }
  82. .source-chart .des {
  83. display: flex;
  84. justify-content: space-between;
  85. align-self: center;
  86. line-height: 48rpx;
  87. padding-top: 20rpx;
  88. }
  89. .source-chart .des .des-num {
  90. /* @include dan(45%); */
  91. font-size: 48rpx;
  92. font-weight: bold;
  93. align-self: flex-end;
  94. max-width: 55%;
  95. word-break: break-all;
  96. }
  97. .source-chart .des .percentage {
  98. /* @include dan(55%); */
  99. font-size: 24rpx;
  100. align-self: flex-end;
  101. width: 45%;
  102. text-align: right;
  103. }
  104. .source-chart .des .num{
  105. color: #29cc24;
  106. }
  107. /* 访客页面 */
  108. .visit-pages .item {
  109. background-color: #fff;
  110. padding: 30rpx;
  111. box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.09);
  112. }
  113. .visit-pages .item~.item {
  114. margin-top: 30rpx;
  115. }
  116. .visit-pages .head {
  117. display: flex;
  118. justify-content: space-between;
  119. padding-bottom: 10rpx;
  120. }
  121. .visit-pages .pv {
  122. font-size: 30rpx;
  123. color: #e72120;
  124. font-weight: bold;
  125. }
  126. .visit-pages .date {
  127. font-size: 24rpx;
  128. color: #999;
  129. }
  130. .visit-pages .info {
  131. font-size: 26rpx;
  132. line-height: 40rpx;
  133. }