index.scss 6.1 KB

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