index.scss 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. // 卡片容器样式
  2. .person_cards_wrap {
  3. padding: 20rpx 0;
  4. width: 100%;
  5. box-sizing: border-box;
  6. }
  7. .cards_container {
  8. display: flex;
  9. gap: 10px;
  10. width: 100%;
  11. flex-direction: column;
  12. }
  13. // 卡片基础样式
  14. .card_item {
  15. background-color: #ffffff;
  16. border-radius: 20px;
  17. padding: 24rpx;
  18. box-sizing: border-box;
  19. &.today {
  20. display: flex;
  21. justify-content: space-around;
  22. .card_item_content{
  23. display: flex;
  24. justify-content: center;
  25. align-items: center;
  26. flex-direction: column;
  27. width: 50%;
  28. border-right: 1rpx solid #e5e7eb;
  29. &:nth-last-of-type(1){
  30. border-right: none;
  31. }
  32. .card_header{
  33. .card_title{
  34. color: #9ca3af;
  35. }
  36. }
  37. }
  38. }
  39. // 卡片头部样式
  40. .card_header {
  41. display: flex;
  42. justify-content: space-between;
  43. align-items: center;
  44. margin-bottom: 20rpx;
  45. &.count{
  46. justify-content: flex-start;
  47. gap: 10rpx;
  48. }
  49. .card_title {
  50. font-size: 28rpx;
  51. font-weight: 600;
  52. color: #333333;
  53. }
  54. }
  55. // 卡片内容样式
  56. .card_content {
  57. display: flex;
  58. flex-direction: column;
  59. align-items: flex-start;
  60. .card_value {
  61. font-size: 48rpx;
  62. font-weight: 700;
  63. color: #333333;
  64. margin-bottom: 8rpx;
  65. }
  66. .card_extra {
  67. font-size: 24rpx;
  68. color: #999999;
  69. }
  70. }
  71. // 条数统计特殊样式
  72. .count_stats {
  73. display: flex;
  74. width: 100%;
  75. justify-content: space-around;
  76. align-items: center;
  77. .count_item {
  78. width: 33%;
  79. display: flex;
  80. flex-direction: column;
  81. align-items: center;
  82. border-right: 1px solid #e5e7eb;
  83. &:nth-last-of-type(1){
  84. border-right: none;
  85. }
  86. .count_value {
  87. font-size: 36rpx;
  88. font-weight: 700;
  89. color: #333333;
  90. margin-bottom: 4rpx;
  91. }
  92. .count_label {
  93. font-size: 24rpx;
  94. color: #999999;
  95. }
  96. }
  97. }
  98. // 上门模块特殊样式
  99. .visit_stats {
  100. display: flex;
  101. width: 100%;
  102. justify-content: space-around;
  103. align-items: center;
  104. .visit_item {
  105. display: flex;
  106. flex-direction: column;
  107. align-items: center;
  108. .visit_label {
  109. font-size: 24rpx;
  110. color: #999999;
  111. margin-bottom: 4rpx;
  112. font-weight: 600;
  113. }
  114. .visit_value {
  115. font-size: 38rpx;
  116. font-weight: 700;
  117. color: #333333;
  118. &.visitc_count{
  119. color: #2563eb;
  120. }
  121. }
  122. }
  123. }
  124. // 当前排名模块特殊样式
  125. .ranking_stats {
  126. display: flex;
  127. align-items: center;
  128. justify-content: space-between;
  129. width: 100%;
  130. .ranking_icon{
  131. border-radius: 50%;
  132. background-color: #fefce8;
  133. width: 60rpx;
  134. height: 60rpx;
  135. display: flex;
  136. justify-content: center;
  137. align-items: center;
  138. margin-right: 20rpx;
  139. }
  140. .ranking_info {
  141. display: flex;
  142. align-items: center;
  143. .ranking_info_text{
  144. display: flex;
  145. flex-direction: column;
  146. .card_title{
  147. font-size: 26rpx;
  148. font-weight:600;
  149. }
  150. .ranking_text {
  151. font-size: 24rpx;
  152. color: #9ca3af;
  153. }
  154. }
  155. }
  156. .ranking_details {
  157. display: flex;
  158. justify-content: space-around;
  159. align-items: center;
  160. .ranking_detail_item {
  161. display: flex;
  162. flex-direction: column;
  163. align-items: center;
  164. &:nth-of-type(1){
  165. padding-right: 30rpx;
  166. border-right: 2rpx solid #e5e7eb;
  167. }
  168. &:nth-last-of-type(1){
  169. padding-left: 30rpx;
  170. }
  171. .ranking_detail_label {
  172. font-size: 24rpx;
  173. color: #999999;
  174. margin-bottom: 4rpx;
  175. }
  176. .ranking_detail_value {
  177. font-size: 40rpx;
  178. font-weight: 700;
  179. color: #000;
  180. }
  181. }
  182. }
  183. }
  184. // 折线图容器样式
  185. .charts_box {
  186. width: 100%;
  187. height: 200rpx;
  188. margin-top: 20rpx;
  189. background-color: #ffffff;
  190. border-radius: 8rpx;
  191. box-sizing: border-box;
  192. box-sizing: border-box;
  193. }
  194. .chart_header{
  195. color: #6b7280;
  196. font-size: 24rpx;
  197. font-weight: 600;
  198. .card_title{
  199. margin-left: 10rpx;
  200. }
  201. }
  202. }
  203. // 最新线索模块特殊样式
  204. .latest_clue{
  205. margin: 20rpx 0 140rpx;
  206. display: flex;
  207. flex-direction: column;
  208. background-color: #ffffff;
  209. border-radius: 20rpx;
  210. .clue_header{
  211. padding:24rpx;
  212. display: flex;
  213. justify-content: space-between;
  214. align-items: center;
  215. background-color: #f9fafb;
  216. border-radius: 10rpx;
  217. .card_title{
  218. color: #6b7280;
  219. font-size:24rpx;
  220. font-weight: 600;
  221. }
  222. .more_btn{
  223. display:flex;
  224. justify-content: center;
  225. align-items: center;
  226. gap: 4rpx;
  227. font-size: 24rpx;
  228. color: #2563eb;
  229. }
  230. }
  231. .clue_list{
  232. display: flex;
  233. flex-direction: column;
  234. gap: 20rpx;
  235. padding:24rpx;
  236. .clue_item{
  237. display: grid;
  238. grid-template-columns: 1fr 2fr 6fr;
  239. justify-content: space-between;
  240. align-items: center;
  241. color: #333;
  242. font-size: 28rpx;
  243. font-weight: 600;
  244. .clue_star{
  245. display:flex;
  246. flex-direction: column;
  247. justify-content: flex-start;
  248. align-items: center;
  249. gap: 4rpx;
  250. .clue_name{
  251. font-size: 24rpx;
  252. font-weight: 600;
  253. color: #9ca3af;
  254. }
  255. }
  256. .clue_name{
  257. }
  258. .clue_info{
  259. display:flex;
  260. flex-direction: column;
  261. gap: 8rpx;
  262. .clue_desc{
  263. font-size: 22rpx;
  264. color:#9ca3af ;
  265. }
  266. }
  267. }
  268. }
  269. }