index.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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. .storeno-tag {
  42. font-size: 24rpx;
  43. color: #999;
  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. flex-wrap: wrap;
  93. }
  94. /* 操作按钮基础样式 */
  95. .action-btn {
  96. flex: 1;
  97. min-width: 140rpx;
  98. height: 76rpx;
  99. border-radius: 38rpx;
  100. font-size: 26rpx;
  101. font-weight: 500;
  102. display: flex;
  103. align-items: center;
  104. justify-content: center;
  105. color: #fff;
  106. position: relative;
  107. overflow: hidden;
  108. letter-spacing: 1rpx;
  109. box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.12);
  110. transition: transform 0.15s ease, box-shadow 0.15s ease;
  111. &:active {
  112. transform: scale(0.95);
  113. opacity: 0.9;
  114. }
  115. /* 编辑 */
  116. &.edit {
  117. background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  118. box-shadow: 0 4rpx 14rpx rgba(37, 99, 235, 0.3);
  119. }
  120. /* 启用申请 */
  121. &.apply-enable {
  122. background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  123. box-shadow: 0 4rpx 14rpx rgba(5, 150, 105, 0.3);
  124. }
  125. /* 停用申请 */
  126. &.apply-disable {
  127. background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  128. box-shadow: 0 4rpx 14rpx rgba(217, 119, 6, 0.3);
  129. }
  130. /* 删除 */
  131. &.delete {
  132. background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  133. box-shadow: 0 4rpx 14rpx rgba(220, 38, 38, 0.3);
  134. }
  135. }
  136. /* 新建按钮样式 */
  137. .create-order-button {
  138. position: fixed;
  139. bottom: 0;
  140. left: 0;
  141. right: 0;
  142. padding: 10rpx 30rpx 20rpx;
  143. background-color: #fff;
  144. box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.1);
  145. display: flex;
  146. justify-content: center;
  147. z-index: 999;
  148. }
  149. .create-btn {
  150. width: 355px;
  151. height: 80rpx;
  152. line-height: 80rpx;
  153. border-radius: 8rpx !important;
  154. font-size: 32rpx;
  155. background-color: #3874F6;
  156. color: #fff;
  157. }