index.scss 5.8 KB

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