order-detail.wxss 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  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. /* 地图样式 */
  228. .map-section {
  229. margin-top: 30rpx;
  230. }
  231. .map-container {
  232. border-radius: 15rpx;
  233. overflow: hidden;
  234. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
  235. background: #f0f0f0;
  236. min-height: 400rpx;
  237. }
  238. .delivery-map {
  239. width: 100%;
  240. height: 400rpx;
  241. display: block;
  242. }
  243. .map-legend {
  244. display: flex;
  245. justify-content: space-around;
  246. margin-top: 20rpx;
  247. padding: 20rpx;
  248. background: #f8f8f8;
  249. border-radius: 10rpx;
  250. }
  251. .legend-item {
  252. display: flex;
  253. align-items: center;
  254. }
  255. .legend-icon {
  256. width: 24rpx;
  257. height: 24rpx;
  258. border-radius: 50%;
  259. margin-right: 10rpx;
  260. }
  261. .legend-icon.hospital {
  262. background: #ff4d4f;
  263. border: 2rpx solid #ff4d4f;
  264. }
  265. .legend-icon.drone {
  266. background: #007AFF;
  267. border: 2rpx solid #007AFF;
  268. }
  269. .legend-icon.route {
  270. width: 40rpx;
  271. height: 4rpx;
  272. background: #007AFF;
  273. border-radius: 2rpx;
  274. }
  275. .legend-text {
  276. font-size: 24rpx;
  277. color: #666;
  278. }
  279. .action-section {
  280. background: white;
  281. padding: 30rpx;
  282. margin: 20rpx;
  283. border-radius: 20rpx;
  284. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  285. }
  286. .action-btn {
  287. width: 100%;
  288. padding: 25rpx 0;
  289. border-radius: 10rpx;
  290. font-size: 28rpx;
  291. text-align: center;
  292. border: none;
  293. margin-bottom: 20rpx;
  294. }
  295. .action-btn:last-child {
  296. margin-bottom: 0;
  297. }
  298. .action-btn.primary {
  299. background: #007AFF;
  300. color: white;
  301. }
  302. .action-btn.secondary {
  303. background: #52c41a;
  304. color: white;
  305. }
  306. .action-btn.danger {
  307. background: #ff4d4f;
  308. color: white;
  309. }