order-detail.wxss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. .container {
  2. width: 100%;
  3. align-items: stretch;
  4. padding: 0;
  5. box-sizing: border-box;
  6. background-color: #f5f5f5;
  7. }
  8. .custom-navbar {
  9. background: white;
  10. padding: 20rpx 30rpx;
  11. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  12. position: sticky;
  13. top: 0;
  14. z-index: 100;
  15. }
  16. .navbar-content {
  17. display: flex;
  18. align-items: center;
  19. justify-content: space-between;
  20. height: 88rpx;
  21. }
  22. .back-btn {
  23. width: 60rpx;
  24. height: 60rpx;
  25. display: flex;
  26. align-items: center;
  27. justify-content: center;
  28. }
  29. .back-icon {
  30. font-size: 48rpx;
  31. color: #333;
  32. font-weight: bold;
  33. }
  34. .navbar-title {
  35. flex: 1;
  36. text-align: center;
  37. font-size: 32rpx;
  38. font-weight: bold;
  39. color: #333;
  40. }
  41. .navbar-right {
  42. width: 60rpx;
  43. }
  44. .section-title {
  45. font-size: 28rpx;
  46. font-weight: bold;
  47. margin-bottom: 20rpx;
  48. color: #333;
  49. padding-left: 10rpx;
  50. border-left: 6rpx solid #007AFF;
  51. }
  52. .order-info-section {
  53. background: white;
  54. padding: 30rpx;
  55. margin: 20rpx;
  56. border-radius: 20rpx;
  57. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  58. }
  59. .info-card {
  60. background: #f8f8f8;
  61. border-radius: 15rpx;
  62. padding: 25rpx;
  63. }
  64. .info-row {
  65. display: flex;
  66. margin-bottom: 20rpx;
  67. align-items: center;
  68. }
  69. .info-row:last-child {
  70. margin-bottom: 0;
  71. }
  72. .info-label {
  73. font-size: 26rpx;
  74. color: #666;
  75. width: 150rpx;
  76. flex-shrink: 0;
  77. }
  78. .info-value {
  79. font-size: 26rpx;
  80. color: #333;
  81. flex: 1;
  82. }
  83. .info-value.status {
  84. color: #007AFF;
  85. font-weight: bold;
  86. }
  87. .info-value.status.delivering {
  88. color: #fa8c16;
  89. }
  90. .info-value.status.completed {
  91. color: #52c41a;
  92. }
  93. .medicines-section {
  94. background: white;
  95. padding: 30rpx;
  96. margin: 20rpx;
  97. border-radius: 20rpx;
  98. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  99. }
  100. .medicine-list {
  101. background: #f8f8f8;
  102. border-radius: 15rpx;
  103. padding: 20rpx;
  104. }
  105. .medicine-item {
  106. display: flex;
  107. align-items: center;
  108. padding: 20rpx;
  109. background: white;
  110. border-radius: 10rpx;
  111. margin-bottom: 15rpx;
  112. }
  113. .medicine-item:last-child {
  114. margin-bottom: 0;
  115. }
  116. .medicine-icon {
  117. width: 60rpx;
  118. height: 60rpx;
  119. display: flex;
  120. align-items: center;
  121. justify-content: center;
  122. margin-right: 20rpx;
  123. font-size: 36rpx;
  124. }
  125. .medicine-info {
  126. flex: 1;
  127. }
  128. .medicine-name {
  129. font-size: 28rpx;
  130. color: #333;
  131. font-weight: bold;
  132. }
  133. .price-section {
  134. background: white;
  135. padding: 30rpx;
  136. margin: 20rpx;
  137. border-radius: 20rpx;
  138. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  139. }
  140. .price-card {
  141. background: #f8f8f8;
  142. border-radius: 15rpx;
  143. padding: 25rpx;
  144. }
  145. .price-row {
  146. display: flex;
  147. justify-content: space-between;
  148. margin-bottom: 20rpx;
  149. align-items: center;
  150. }
  151. .price-row:last-child {
  152. margin-bottom: 0;
  153. }
  154. .price-label {
  155. font-size: 26rpx;
  156. color: #666;
  157. }
  158. .price-value {
  159. font-size: 28rpx;
  160. color: #333;
  161. font-weight: bold;
  162. }
  163. .price-row.total {
  164. border-top: 1rpx solid #e8e8e8;
  165. padding-top: 20rpx;
  166. margin-top: 20rpx;
  167. }
  168. .price-value.final {
  169. font-size: 32rpx;
  170. color: #FF6B35;
  171. }
  172. .tracking-section {
  173. background: white;
  174. padding: 30rpx;
  175. margin: 20rpx;
  176. border-radius: 20rpx;
  177. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  178. }
  179. .tracking-card {
  180. background: #f8f8f8;
  181. border-radius: 15rpx;
  182. padding: 25rpx;
  183. }
  184. .tracking-status {
  185. text-align: center;
  186. margin-bottom: 30rpx;
  187. padding-bottom: 20rpx;
  188. border-bottom: 1rpx solid #e8e8e8;
  189. }
  190. .status-text {
  191. font-size: 28rpx;
  192. color: #007AFF;
  193. font-weight: bold;
  194. }
  195. .tracking-steps {
  196. display: flex;
  197. flex-direction: column;
  198. gap: 25rpx;
  199. }
  200. .step-item {
  201. display: flex;
  202. align-items: center;
  203. }
  204. .step-icon {
  205. width: 50rpx;
  206. height: 50rpx;
  207. display: flex;
  208. align-items: center;
  209. justify-content: center;
  210. margin-right: 20rpx;
  211. font-size: 32rpx;
  212. color: #ccc;
  213. font-weight: bold;
  214. border-radius: 50%;
  215. background: white;
  216. border: 2rpx solid #e8e8e8;
  217. }
  218. .step-icon.active {
  219. color: #52c41a;
  220. border-color: #52c41a;
  221. background: #f6ffed;
  222. }
  223. .step-text {
  224. font-size: 26rpx;
  225. color: #333;
  226. }
  227. .action-section {
  228. background: white;
  229. padding: 30rpx;
  230. margin: 20rpx;
  231. border-radius: 20rpx;
  232. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  233. }
  234. .action-btn {
  235. width: 100%;
  236. padding: 25rpx 0;
  237. border-radius: 10rpx;
  238. font-size: 28rpx;
  239. text-align: center;
  240. border: none;
  241. margin-bottom: 20rpx;
  242. }
  243. .action-btn:last-child {
  244. margin-bottom: 0;
  245. }
  246. .action-btn.primary {
  247. background: #007AFF;
  248. color: white;
  249. }
  250. .action-btn.secondary {
  251. background: #52c41a;
  252. color: white;
  253. }
  254. .action-btn.danger {
  255. background: #ff4d4f;
  256. color: white;
  257. }