order-list.scss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  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. }
  135. .order-actions .t-button {
  136. margin: 0 !important;
  137. }
  138. .contact {
  139. font-size: 28rpx;
  140. color: black;
  141. margin-bottom: 10rpx;
  142. font-weight: bold;
  143. display: flex
  144. }
  145. .line {
  146. width: 100%;
  147. height: 1px;
  148. background-color: #eee;
  149. margin: 24rpx 0;
  150. }
  151. .name {
  152. margin-right: 20rpx;
  153. }
  154. /* 服务包列表样式 */
  155. .service-packages {
  156. margin-bottom: 24rpx;
  157. }
  158. .service-package-item {
  159. display: flex;
  160. align-items: flex-start;
  161. margin-bottom: 20rpx;
  162. padding-bottom: 20rpx;
  163. &:not(:last-child) {
  164. // border-bottom: 1px solid #f0f0f0;
  165. }
  166. &:last-child {
  167. margin-bottom: 0;
  168. padding-bottom: 0;
  169. }
  170. }
  171. .service-package-img {
  172. width: 120rpx;
  173. height: 120rpx;
  174. border-radius: 8rpx;
  175. margin-right: 20rpx;
  176. flex-shrink: 0;
  177. background-color: #f5f5f5;
  178. }
  179. .service-package-placeholder {
  180. width: 120rpx;
  181. height: 120rpx;
  182. border-radius: 8rpx;
  183. margin-right: 20rpx;
  184. background-color: #f5f5f5;
  185. border: 1px solid #e8e8e8;
  186. display: flex;
  187. align-items: center;
  188. justify-content: center;
  189. flex-shrink: 0;
  190. }
  191. .servicepag-des{
  192. display: flex;
  193. align-items: center;
  194. justify-content: space-between;
  195. }
  196. .placeholder-icon {
  197. font-size: 40rpx;
  198. opacity: 0.3;
  199. }
  200. .service-package-info {
  201. flex: 1;
  202. display: flex;
  203. flex-direction: column;
  204. justify-content: flex-start;
  205. min-height: 120rpx;
  206. }
  207. .service-package-header {
  208. display: flex;
  209. justify-content: space-between;
  210. align-items: flex-start;
  211. margin-bottom: 15rpx;
  212. width: 100%;
  213. }
  214. .service-package-name {
  215. font-size: 28rpx;
  216. font-weight: 500;
  217. color: #333;
  218. line-height: 1.4;
  219. flex: 1;
  220. }
  221. .service-package-price {
  222. font-size: 28rpx;
  223. color: #333;
  224. font-weight: 500;
  225. margin-left: 16rpx;
  226. white-space: nowrap;
  227. }
  228. .service-package-detail {
  229. font-size: 24rpx;
  230. color: #666;
  231. margin-bottom: 8rpx;
  232. line-height: 1.5;
  233. }
  234. .service-package-quantity {
  235. font-size: 24rpx;
  236. color: #666;
  237. text-align: right;
  238. line-height: 1.5;
  239. }
  240. /* 展开/收起按钮 */
  241. .expand-toggle {
  242. display: flex;
  243. align-items: center;
  244. justify-content: center;
  245. padding: 16rpx 0;
  246. color: #1890ff;
  247. font-size: 26rpx;
  248. cursor: pointer;
  249. user-select: none;
  250. }
  251. .expand-text {
  252. margin-right: 8rpx;
  253. }
  254. .expand-icon {
  255. font-size: 20rpx;
  256. transition: transform 0.3s ease;
  257. transform: rotate(0deg);
  258. &.expanded {
  259. transform: rotate(180deg);
  260. }
  261. }