index.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. .container {
  2. background-color: #f5f5f5;
  3. min-height: 100vh;
  4. }
  5. .header {
  6. width: 100%;
  7. }
  8. .list-item {
  9. margin-bottom: 24rpx;
  10. border-radius: 16rpx;
  11. overflow: hidden;
  12. box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.06);
  13. background-color: #fff;
  14. }
  15. .item {
  16. padding: 24rpx;
  17. transition: all 0.3s ease;
  18. &:active {
  19. background-color: #f9f9f9;
  20. }
  21. .top {
  22. display: flex;
  23. justify-content: space-between;
  24. align-items: center;
  25. margin-bottom: 20rpx;
  26. .name-row {
  27. display: flex;
  28. align-items: center;
  29. flex: 1;
  30. overflow: hidden;
  31. margin-right: 16rpx;
  32. }
  33. .name {
  34. font-size: 34rpx;
  35. font-weight: 600;
  36. color: #1a1a1a;
  37. line-height: 48rpx;
  38. flex-shrink: 0;
  39. margin-right: 16rpx;
  40. }
  41. .phone-tag {
  42. font-size: 26rpx;
  43. color: #666;
  44. line-height: 40rpx;
  45. overflow: hidden;
  46. text-overflow: ellipsis;
  47. white-space: nowrap;
  48. }
  49. .statu {
  50. font-size: 24rpx;
  51. padding: 6rpx 20rpx;
  52. border-radius: 8rpx;
  53. font-weight: 500;
  54. flex-shrink: 0;
  55. background-color: #fff;
  56. border: 2rpx solid;
  57. }
  58. }
  59. .content {
  60. width: 100%;
  61. margin-bottom: 8rpx;
  62. .row {
  63. display: flex;
  64. margin-bottom: 14rpx;
  65. flex-wrap: wrap;
  66. align-items: center;
  67. &:last-child {
  68. margin-bottom: 0;
  69. }
  70. }
  71. .exp {
  72. flex: 1;
  73. font-size: 26rpx;
  74. color: #666;
  75. line-height: 40rpx;
  76. margin-right: 24rpx;
  77. &.full-width {
  78. flex: none;
  79. width: 100%;
  80. margin-right: 0;
  81. }
  82. }
  83. }
  84. }
  85. /* 操作按钮区域 */
  86. .actions {
  87. display: flex;
  88. padding: 20rpx 24rpx;
  89. gap: 16rpx;
  90. background: linear-gradient(180deg, #fafbfc 0%, #f5f6f8 100%);
  91. border-top: 1rpx solid #eef0f3;
  92. }
  93. /* 操作按钮基础样式 */
  94. .action-btn {
  95. flex: 1;
  96. height: 76rpx;
  97. border-radius: 38rpx;
  98. font-size: 26rpx;
  99. font-weight: 500;
  100. display: flex;
  101. align-items: center;
  102. justify-content: center;
  103. color: #fff;
  104. position: relative;
  105. overflow: hidden;
  106. text-decoration: none;
  107. letter-spacing: 1rpx;
  108. box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.12);
  109. transition: transform 0.15s ease, box-shadow 0.15s ease;
  110. /* 转客户 */
  111. &.convert {
  112. background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  113. box-shadow: 0 4rpx 14rpx rgba(37, 99, 235, 0.3);
  114. &:active {
  115. box-shadow: 0 2rpx 6rpx rgba(37, 99, 235, 0.25);
  116. }
  117. }
  118. /* 分配 */
  119. &.assign {
  120. background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  121. box-shadow: 0 4rpx 14rpx rgba(5, 150, 105, 0.3);
  122. &:active {
  123. box-shadow: 0 2rpx 6rpx rgba(5, 150, 105, 0.25);
  124. }
  125. }
  126. /* 撤回 */
  127. &.withdraw {
  128. background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  129. box-shadow: 0 4rpx 14rpx rgba(217, 119, 6, 0.3);
  130. &:active {
  131. box-shadow: 0 2rpx 6rpx rgba(217, 119, 6, 0.25);
  132. }
  133. }
  134. /* 打电话 */
  135. &.call {
  136. background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  137. box-shadow: 0 4rpx 14rpx rgba(124, 58, 237, 0.3);
  138. &:active {
  139. box-shadow: 0 2rpx 6rpx rgba(124, 58, 237, 0.25);
  140. }
  141. }
  142. /* 按压效果 */
  143. &:active {
  144. transform: scale(0.95);
  145. opacity: 0.9;
  146. }
  147. }