logistics-detail.scss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. @import "../../../../themes/t.cell.scss";
  2. @import "../../../../themes/page.scss";
  3. @import "../../assets/iconfont/iconfont.wxss";
  4. /* module/order/pages/logistics-detail/logistics-detail.scss */
  5. .page-scroll__container {
  6. flex: 0 1 auto;
  7. height: var(--page-container-safeHeight, 100vh);
  8. background: #f5f5f5;
  9. // padding-bottom: calc(24rpx + env(safe-area-inset-bottom));
  10. box-sizing: border-box;
  11. // padding-top: 10px;
  12. }
  13. .logistics-page {
  14. padding-bottom: 32rpx;
  15. }
  16. .map-header {
  17. height: 320rpx;
  18. background: linear-gradient(180deg, #dde6f0 0%, #e8edf4 45%, #f0f2f5 100%);
  19. position: relative;
  20. overflow: hidden;
  21. display: flex;
  22. flex-direction: column;
  23. }
  24. .map-header__map {
  25. width: 100%;
  26. flex: 1;
  27. min-height: 264rpx;
  28. }
  29. .map-header__fallback {
  30. flex: 1;
  31. min-height: 0;
  32. display: flex;
  33. align-items: center;
  34. justify-content: center;
  35. padding: 0 32rpx;
  36. }
  37. .map-header__fallback-text {
  38. font-size: 28rpx;
  39. color: rgba(0, 0, 0, 0.45);
  40. }
  41. .map-header__inner {
  42. position: absolute;
  43. inset: 0;
  44. display: flex;
  45. align-items: center;
  46. justify-content: center;
  47. opacity: 0.85;
  48. pointer-events: none;
  49. }
  50. .map-header__inner::before {
  51. content: "";
  52. position: absolute;
  53. left: 10%;
  54. right: 10%;
  55. top: 38%;
  56. height: 2rpx;
  57. background: rgba(255, 255, 255, 0.7);
  58. transform: rotate(-8deg);
  59. }
  60. .map-header__inner::after {
  61. content: "";
  62. position: absolute;
  63. left: 20%;
  64. right: 15%;
  65. top: 55%;
  66. height: 2rpx;
  67. background: rgba(255, 255, 255, 0.5);
  68. transform: rotate(6deg);
  69. }
  70. .map-header__city {
  71. font-size: 28rpx;
  72. color: rgba(0, 0, 0, 0.35);
  73. font-weight: 500;
  74. }
  75. .logistics-card {
  76. padding: 32rpx 28rpx 28rpx;
  77. background: #fff;
  78. box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.06);
  79. position: relative;
  80. z-index: 1;
  81. }
  82. .carrier-row {
  83. display: flex;
  84. align-items: center;
  85. margin-bottom: 28rpx;
  86. }
  87. .carrier-row__logo {
  88. width: 50rpx;
  89. height: 50rpx;
  90. border-radius: 50%;
  91. background: #1e6ee8;
  92. display: flex;
  93. align-items: center;
  94. justify-content: center;
  95. flex-shrink: 0;
  96. }
  97. .carrier-row__logo-text {
  98. font-size: 22rpx;
  99. color: #fff;
  100. font-weight: 600;
  101. }
  102. .carrier-row__info {
  103. flex: 1;
  104. min-width: 0;
  105. margin-left: 20rpx;
  106. display: flex;
  107. gap: 8rpx;
  108. align-items: center;
  109. }
  110. .carrier-row__name {
  111. font-size: 24rpx;
  112. font-weight: 600;
  113. color: #888;
  114. margin-right: 3px;
  115. }
  116. .carrier-row__no {
  117. font-size: 24rpx;
  118. color: #888;
  119. }
  120. .carrier-row__actions {
  121. display: flex;
  122. align-items: center;
  123. flex-shrink: 0;
  124. color: #888;
  125. }
  126. .carrier-row__action {
  127. font-size: 26rpx;
  128. padding: 8rpx 12rpx;
  129. }
  130. .carrier-row__divider {
  131. width: 1rpx;
  132. height: 28rpx;
  133. background: #e5e5e5;
  134. margin: 0 4rpx;
  135. }
  136. .trace-list {
  137. position: relative;
  138. }
  139. .trace-list__axis {
  140. position: absolute;
  141. left: 16rpx;
  142. top: 22rpx;
  143. bottom: 26rpx;
  144. width: 0;
  145. border-left: 2rpx dashed #d8d8d8;
  146. }
  147. .trace-item {
  148. position: relative;
  149. padding-left: 48rpx;
  150. padding-bottom: 8rpx;
  151. }
  152. .trace-item--current {
  153. padding-bottom: 16rpx;
  154. }
  155. .trace-item--expand {
  156. padding-bottom: 0;
  157. }
  158. .trace-item__dot {
  159. position: absolute;
  160. left: 16rpx;
  161. top: 10rpx;
  162. width: 16rpx;
  163. height: 16rpx;
  164. border-radius: 50%;
  165. transform: translateX(-50%);
  166. z-index: 1;
  167. }
  168. .trace-item__dot--active {
  169. background: #ff6b00;
  170. box-shadow: 0 0 0 6rpx rgba(255, 107, 0, 0.22);
  171. }
  172. .trace-item__dot--grey {
  173. background: #c8c8c8;
  174. }
  175. .trace-item__dot--hollow {
  176. width: 14rpx;
  177. height: 14rpx;
  178. top: 12rpx;
  179. border: 2rpx solid #bbb;
  180. background: #fff;
  181. }
  182. .trace-item__body--inline {
  183. display: flex;
  184. align-items: center;
  185. gap: 8rpx;
  186. }
  187. .trace-item__title-row {
  188. display: flex;
  189. align-items: baseline;
  190. flex-wrap: wrap;
  191. gap: 16rpx;
  192. margin-bottom: 12rpx;
  193. }
  194. .trace-item__status {
  195. font-size: 28rpx;
  196. font-weight: 600;
  197. color: #333;
  198. }
  199. .trace-item__status--accent {
  200. font-size: 32rpx;
  201. font-weight: 700;
  202. color: #ff6b00;
  203. }
  204. .trace-item__time {
  205. font-size: 24rpx;
  206. color: #999;
  207. }
  208. .trace-item__time--accent {
  209. font-size: 26rpx;
  210. color: #ff6b00;
  211. }
  212. .trace-item__desc {
  213. font-size: 26rpx;
  214. color: #888;
  215. line-height: 1.55;
  216. display: block;
  217. }
  218. .trace-item__desc--muted {
  219. color: #888;
  220. }
  221. .trace-expand__text {
  222. font-size: 26rpx;
  223. color: #999;
  224. }
  225. .logistics-divider {
  226. height: 1rpx;
  227. background: #eee;
  228. margin: 28rpx 0 24rpx;
  229. }
  230. .addr-block {
  231. display: flex;
  232. align-items: flex-start;
  233. gap: 12rpx;
  234. }
  235. .addr-block__icon {
  236. flex-shrink: 0;
  237. margin-top: 6rpx;
  238. }
  239. .addr-block__main {
  240. flex: 1;
  241. min-width: 0;
  242. display: flex;
  243. flex-direction: column;
  244. align-items: flex-start;
  245. margin-left: 5px;
  246. }
  247. .addr-block__address {
  248. font-size: 28rpx;
  249. font-weight: 600;
  250. color: #333;
  251. line-height: 1.45;
  252. width: 100%;
  253. margin-bottom: 10rpx;
  254. }
  255. .addr-block__contact {
  256. display: flex;
  257. flex-wrap: wrap;
  258. align-items: center;
  259. gap: 12rpx 16rpx;
  260. width: 100%;
  261. color: #888;
  262. font-size: 22rpx;
  263. }
  264. .address-name {
  265. font-weight: 500;
  266. line-height: 1.4;
  267. }
  268. .address-phone {
  269. font-weight: 400;
  270. line-height: 1.4;
  271. }
  272. .addr-block__tag {
  273. font-size: 18rpx !important;
  274. color: #888 !important;
  275. padding: 0rpx 2rpx !important;
  276. }
  277. .addr-block__tag--orange {
  278. color: #ff6b00 !important;
  279. border-color: rgba(255, 107, 0, 0.45) !important;
  280. }
  281. .addr-block__virtual-arrow {
  282. margin-left: -4rpx;
  283. }
  284. .goods-section {
  285. margin: 24rpx 0rpx 0;
  286. padding: 8rpx 24rpx 24rpx;
  287. background: #fff;
  288. }
  289. .goods-item {
  290. display: flex;
  291. align-items: flex-start;
  292. padding: 24rpx 0;
  293. border-bottom: 1rpx solid #f0f0f0;
  294. }
  295. .goods-item:last-child {
  296. border-bottom: none;
  297. }
  298. .goods-item__img {
  299. flex-shrink: 0;
  300. margin-right: 20rpx;
  301. }
  302. .goods-item__main {
  303. flex: 1;
  304. min-width: 0;
  305. display: flex;
  306. flex-direction: column;
  307. gap: 10rpx;
  308. }
  309. .goods-item__title {
  310. font-size: 28rpx;
  311. color: #333;
  312. margin-bottom: 10px;
  313. }
  314. .goods-item__spec {
  315. font-size: 24rpx;
  316. color: #999;
  317. }
  318. .goods-item__price-col {
  319. flex-shrink: 0;
  320. text-align: right;
  321. display: flex;
  322. flex-direction: column;
  323. gap: 12rpx;
  324. align-items: flex-end;
  325. }
  326. .goods-item__price {
  327. font-size: 28rpx;
  328. color: #333;
  329. font-weight: 600;
  330. margin-bottom: 10px;
  331. }
  332. .goods-item__qty {
  333. font-size: 24rpx;
  334. color: #999;
  335. }