index.scss 6.2 KB

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