index.wxss 2.9 KB

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