order-list.scss 3.0 KB

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