index.wxss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. :host {
  2. background-color: #f8f8f8;
  3. }
  4. .order-detail {
  5. width: 100%;
  6. box-sizing: border-box;
  7. padding: 0rpx 0rpx calc(env(safe-area-inset-bottom) + 144rpx);
  8. }
  9. .order-detail .count-down {
  10. color: #ffffff;
  11. }
  12. .order-detail .header {
  13. width: 100%;
  14. background-color: #ffffff;
  15. }
  16. .order-detail .order-detail__header {
  17. width: 700rpx;
  18. height: 200rpx;
  19. border-radius: 24rpx;
  20. margin: 0 auto;
  21. overflow: hidden;
  22. display: flex;
  23. flex-direction: column;
  24. align-items: center;
  25. justify-content: center;
  26. background-image: url('https://tdesign.gtimg.com/miniprogram/template/retail/template/order-bg.png');
  27. background-repeat: no-repeat;
  28. background-size: contain;
  29. }
  30. .order-detail .order-detail__header .title,
  31. .order-detail .order-detail__header .desc {
  32. color: #ffffff;
  33. overflow: hidden;
  34. display: -webkit-box;
  35. -webkit-box-orient: vertical;
  36. }
  37. .order-detail .order-detail__header .title {
  38. -webkit-line-clamp: 1;
  39. font-size: 44rpx;
  40. line-height: 64rpx;
  41. margin-bottom: 8rpx;
  42. font-weight: bold;
  43. }
  44. .order-detail .order-detail__header .desc {
  45. -webkit-line-clamp: 2;
  46. font-size: 24rpx;
  47. line-height: 32rpx;
  48. }
  49. .order-detail .order-detail__header .desc .count-down {
  50. display: inline;
  51. }
  52. .order-detail .order-logistics {
  53. box-sizing: border-box;
  54. padding: 32rpx;
  55. width: 100%;
  56. background-color: #ffffff;
  57. overflow: hidden;
  58. color: #333333;
  59. font-size: 32rpx;
  60. line-height: 48rpx;
  61. display: flex;
  62. position: relative;
  63. }
  64. .order-logistics .logistics-icon {
  65. width: 40rpx;
  66. height: 40rpx;
  67. margin-right: 16rpx;
  68. margin-top: 4rpx;
  69. }
  70. .order-logistics .logistics-content {
  71. flex: 1;
  72. }
  73. .order-logistics .logistics-content .logistics-time {
  74. font-size: 28rpx;
  75. line-height: 40rpx;
  76. color: #999999;
  77. margin-top: 12rpx;
  78. }
  79. .order-logistics .logistics-back {
  80. color: #999999;
  81. align-self: center;
  82. }
  83. .order-logistics .edit-text {
  84. color: #fa4126;
  85. font-size: 26rpx;
  86. line-height: 36rpx;
  87. }
  88. .order-detail .border-bottom {
  89. margin: 0 auto;
  90. width: 686rpx;
  91. scale: 1 0.5;
  92. height: 2rpx;
  93. background-color: #e5e5e5;
  94. }
  95. .order-detail .border-bottom-margin {
  96. margin: 16rpx auto;
  97. }
  98. .order-detail .pay-detail {
  99. background-color: #ffffff;
  100. width: 100%;
  101. box-sizing: border-box;
  102. }
  103. .order-detail .padding-inline {
  104. padding: 16rpx 32rpx;
  105. }
  106. .order-detail .pay-detail .pay-item {
  107. width: 100%;
  108. height: 72rpx;
  109. display: flex;
  110. align-items: center;
  111. justify-content: space-between;
  112. font-size: 26rpx;
  113. line-height: 36rpx;
  114. color: #666666;
  115. background-color: #ffffff;
  116. }
  117. .order-detail .pay-detail .pay-item .pay-item__right {
  118. color: #333333;
  119. font-size: 24rpx;
  120. display: flex;
  121. align-items: center;
  122. justify-content: flex-end;
  123. max-width: 400rpx;
  124. }
  125. .order-detail .pay-detail .pay-item .pay-item__right .pay-remark {
  126. display: -webkit-box;
  127. -webkit-box-orient: vertical;
  128. -webkit-line-clamp: 2;
  129. max-width: 400rpx;
  130. text-overflow: ellipsis;
  131. overflow: hidden;
  132. }
  133. .order-detail .pay-detail .pay-item .font-bold {
  134. font-weight: bold;
  135. }
  136. .order-detail .pay-detail .pay-item .primary {
  137. color: #fa4126;
  138. }
  139. .order-detail .pay-detail .pay-item .max-size {
  140. font-size: 36rpx;
  141. line-height: 48rpx;
  142. }
  143. .pay-item .pay-item__right .pay-item__right__copy {
  144. width: 80rpx;
  145. height: 40rpx;
  146. text-align: center;
  147. font-size: 24rpx;
  148. line-height: 40rpx;
  149. color: #333333;
  150. position: relative;
  151. }
  152. .pay-item .pay-item__right .pay-item__right__copy::before {
  153. position: absolute;
  154. content: '';
  155. width: 200%;
  156. height: 200%;
  157. border-radius: 40rpx;
  158. border: 2rpx solid #dddddd;
  159. transform: scale(0.5);
  160. left: 0;
  161. top: 0;
  162. transform-origin: left top;
  163. }
  164. .pay-item .pay-item__right .order-no {
  165. color: #333333;
  166. font-size: 26rpx;
  167. line-height: 40rpx;
  168. padding-right: 16rpx;
  169. }
  170. .pay-item .pay-item__right .normal-color {
  171. color: #333333;
  172. }
  173. .order-detail .pay-detail .pay-service {
  174. width: 100%;
  175. height: 72rpx;
  176. display: flex;
  177. align-items: center;
  178. justify-content: center;
  179. font-size: 32rpx;
  180. line-height: 36rpx;
  181. color: #333333;
  182. background-color: #ffffff;
  183. }
  184. .bottom-bar {
  185. position: fixed;
  186. left: 0;
  187. bottom: 0;
  188. right: 0;
  189. z-index: 10;
  190. background: #fff;
  191. height: 112rpx;
  192. width: 686rpx;
  193. padding: 0rpx 32rpx env(safe-area-inset-bottom);
  194. display: flex;
  195. align-items: center;
  196. }
  197. .bottom-bar::before {
  198. position: absolute;
  199. content: '';
  200. width: 200%;
  201. height: 200%;
  202. border-top: 2rpx solid #dddddd;
  203. transform: scale(0.5);
  204. left: 0;
  205. top: 0;
  206. transform-origin: left top;
  207. }
  208. .goods-button-bar {
  209. height: 112rpx;
  210. width: 686rpx;
  211. margin-bottom: 16rpx;
  212. }
  213. .t-class-indicator {
  214. color: #b9b9b9 !important;
  215. }
  216. .add-notes__confirm {
  217. color: #fa4126 !important;
  218. }
  219. .t-button {
  220. --td-button-default-color: #000;
  221. --td-button-primary-text-color: #fa4126;
  222. }