order-list.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. @import "../../../../themes/page.scss";
  2. @import "../../searc-list.scss";
  3. /* module/diet/pages/diet-info/diet-info.wxss */
  4. .diet-box {
  5. background: #fff;
  6. border-radius: 12px;
  7. margin-top: -30px;
  8. }
  9. .delivery-address {
  10. font-weight: bold;
  11. color: black;
  12. font-size: 28rpx;
  13. }
  14. /* order-list.wxss */
  15. .tab-container {
  16. display: flex;
  17. justify-content: space-around;
  18. background-color: #f8f8f8;
  19. padding: 10px 0;
  20. }
  21. .tab {
  22. flex: 1;
  23. text-align: center;
  24. padding: 10px;
  25. cursor: pointer;
  26. }
  27. .tab:hover {
  28. background-color: #e0e0e0;
  29. }
  30. .tab.active {
  31. font-weight: bold;
  32. border-bottom: 2px solid #007aff;
  33. /* 选中状态的下划线 */
  34. }
  35. .order-address {
  36. color: #333;
  37. }
  38. .change-address {
  39. color: #1aad19;
  40. margin-left: 8rpx;
  41. font-size: 24rpx;
  42. }
  43. /* miniprogram/module/article/pages/order-list/order-list.wxss */
  44. .page-scroll__container {
  45. padding: 16rpx;
  46. background: #f7f8fa;
  47. }
  48. .order-card {
  49. background: #fff;
  50. border-radius: 20rpx;
  51. box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.04);
  52. margin-bottom: 24rpx;
  53. padding: 24rpx;
  54. }
  55. .order-header {
  56. display: flex;
  57. justify-content: space-between;
  58. align-items: center;
  59. font-size: 28rpx;
  60. margin-bottom: 24rpx;
  61. }
  62. .order-status {
  63. font-weight: bold;
  64. }
  65. .order-status.status-pending {
  66. color: #D54941;
  67. }
  68. .order-status.status-received {
  69. color: #1D6FF6;
  70. }
  71. .order-status.status-completed {
  72. color: #2BA471;
  73. }
  74. .order-status.status-closed {
  75. color: #909399;
  76. }
  77. .order-user {
  78. color: #888;
  79. font-size: 24rpx;
  80. margin-bottom: 24rpx;
  81. display: flex;
  82. flex-direction: column;
  83. gap: 4rpx;
  84. background-color: #F6F6F6;
  85. padding: 10px;
  86. border-radius: 8px;
  87. }
  88. .order-body {
  89. display: flex;
  90. align-items: flex-start;
  91. margin-bottom: 16rpx;
  92. }
  93. .order-img {
  94. width: 120rpx;
  95. height: 120rpx;
  96. border-radius: 12rpx;
  97. margin-right: 20rpx;
  98. }
  99. .order-info {
  100. display: flex;
  101. flex-direction: column;
  102. justify-content: space-between;
  103. height: 120rpx;
  104. }
  105. .order-title {
  106. font-size: 28rpx;
  107. font-weight: 600;
  108. margin-bottom: 8rpx;
  109. }
  110. .order-doctor,
  111. .order-time {
  112. font-size: 24rpx;
  113. color: #888;
  114. }
  115. .order-footer {
  116. display: flex;
  117. flex-direction: column;
  118. justify-content: space-between;
  119. align-items: flex-end;
  120. }
  121. .order-price {
  122. display: flex;
  123. margin-bottom: 16px;
  124. }
  125. .order-amount {
  126. color: #D54941;
  127. font-weight: bold;
  128. font-size: 32rpx;
  129. margin-left: 8rpx;
  130. }
  131. .order-actions {
  132. display: flex;
  133. gap: 20rpx;
  134. transition: none !important;
  135. }
  136. .order-actions .t-button {
  137. margin: 0 !important;
  138. }
  139. // 针对 t-design 按钮的自定义样式
  140. .outline-btn {
  141. background: #fff !important;
  142. border: 1px solid #1890ff !important; // 主色边框
  143. color: #1890ff !important; // 主色文字
  144. box-shadow: none !important;
  145. border-radius: 30rpx !important;
  146. transition: none !important;
  147. // margin-right: 20rpx !important;
  148. }
  149. .outline-btn.cancel {
  150. border-color: #ccc !important;
  151. color: black !important;
  152. margin-right: 20rpx;
  153. transition: none !important;
  154. }
  155. .contact {
  156. font-size: 28rpx;
  157. color: black;
  158. margin-bottom: 10rpx;
  159. font-weight: bold;
  160. display: flex
  161. }
  162. .line {
  163. width: 100%;
  164. height: 1px;
  165. background-color: #eee;
  166. margin: 24rpx 0;
  167. }
  168. .name {
  169. margin-right: 20rpx;
  170. }