order-result.less 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. /* pages/orders/order-detail.wxss */
  2. page {
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. background: #F5F6F7;
  7. }
  8. .order-status {
  9. margin: 24rpx 26rpx 0;
  10. background-color: #FFFFFF;
  11. border-radius: 20rpx;
  12. padding: 24rpx 32rpx;
  13. .status {
  14. display: flex;
  15. image {
  16. width: 48rpx;
  17. height: 48rpx;
  18. margin-right: 16rpx;
  19. }
  20. text {
  21. font-weight: 600;
  22. font-size: 36rpx;
  23. color: #131415;
  24. line-height: 48rpx;
  25. }
  26. }
  27. .tips {
  28. padding-top: 24rpx;
  29. font-size: 28rpx;
  30. color: #777777;
  31. line-height: 40rpx;
  32. }
  33. }
  34. .order-content {
  35. margin: 24rpx 26rpx 0;
  36. border-radius: 20rpx;
  37. padding: 28rpx 24rpx;
  38. display: flex;
  39. flex-direction: column;
  40. background-color: #FFFFFF;
  41. }
  42. .item-content {
  43. display: flex;
  44. width: 100%;
  45. .goods-icon {
  46. width: 160rpx;
  47. height: 160rpx;
  48. margin-right: 24rpx;
  49. flex-shrink: 0;
  50. border-radius: 6px;
  51. overflow: hidden;
  52. }
  53. .goods-desc {
  54. flex: 1 auto;
  55. display: flex;
  56. flex-direction: column;
  57. }
  58. .goodsInfo {
  59. display: flex;
  60. justify-content: space-between;
  61. padding-top: 4rpx;
  62. .goods-name {
  63. flex: 1 auto;
  64. white-space: nowrap;
  65. overflow: hidden;
  66. font-weight: 600;
  67. font-size: 28rpx;
  68. text-overflow: ellipsis;
  69. max-width: 310rpx;
  70. }
  71. .goods-price {
  72. flex-shrink: 0;
  73. font-family: DINAlternate, DINAlternate;
  74. font-weight: bold;
  75. font-size: 28rpx;
  76. color: #131415;
  77. line-height: 48rpx;
  78. }
  79. }
  80. .goods-type {
  81. display: flex;
  82. justify-content: space-between;
  83. align-items: center;
  84. padding-top: 12rpx;
  85. .goods-card {
  86. background: #FEEDF0;
  87. border-radius: 6rpx;
  88. font-size: 26rpx;
  89. color: #FE2451;
  90. line-height: 40rpx;
  91. padding: 0 12rpx;
  92. }
  93. .goods-num {
  94. font-size: 28rpx;
  95. color: #777777;
  96. line-height: 36rpx;
  97. }
  98. }
  99. }
  100. .qrcode-section {
  101. margin-top: 28rpx;
  102. border-top: 2rpx solid #F0F0F0;
  103. padding-top: 60rpx;
  104. padding-bottom: 32rpx;
  105. text-align: center;
  106. .qrcode-wrap {
  107. margin: 0 auto;
  108. border: 3rpx solid #EDEDED;
  109. padding: 10rpx;
  110. display: inline-block;
  111. }
  112. .my_draw_canvas {
  113. width: 262rpx;
  114. height: 262rpx;
  115. }
  116. .qrcode-text {
  117. padding-top: 32rpx;
  118. font-size: 28rpx;
  119. color: #131415;
  120. line-height: 40rpx;
  121. &.used {
  122. color: #AAAAAA;
  123. }
  124. }
  125. }
  126. .order-time {
  127. margin: 24rpx 26rpx 0;
  128. border-radius: 20rpx;
  129. padding: 36rpx 24rpx;
  130. background-color: #FFFFFF;
  131. .order-item {
  132. display: flex;
  133. justify-content: space-between;
  134. padding-bottom: 36rpx;
  135. &:last-child {
  136. padding-bottom: 0;
  137. }
  138. .title {
  139. font-size: 28rpx;
  140. color: #131415;
  141. line-height: 40rpx;
  142. }
  143. .value {
  144. font-size: 28rpx;
  145. color: #777777;
  146. line-height: 40rpx;
  147. &.red {
  148. color: #FE2451;
  149. }
  150. }
  151. }
  152. }
  153. .order-btn {
  154. position: fixed;
  155. bottom: 0;
  156. left: 0;
  157. width: 100%;
  158. background-color: #FFFFFF;
  159. padding: 20rpx 32rpx 58rpx 40rpx;
  160. display: flex;
  161. justify-content: space-between;
  162. box-sizing: border-box;
  163. .orders {
  164. display: flex;
  165. flex-direction: column;
  166. margin-right: 40rpx;
  167. image {
  168. width: 48rpx;
  169. height: 48rpx;
  170. }
  171. text {
  172. font-weight: 500;
  173. font-size: 22rpx;
  174. color: #131415;
  175. line-height: 32rpx;
  176. text-align: center;
  177. }
  178. }
  179. .price {
  180. display: flex;
  181. align-items: center;
  182. .desc {
  183. font-weight: 500;
  184. font-size: 28rpx;
  185. color: #131415;
  186. line-height: 40rpx;
  187. }
  188. .currentPrice {
  189. font-weight: bold;
  190. color: #FE2451;
  191. font-family: DINAlternate, DINAlternate;
  192. .stuff {
  193. font-size: 32rpx;
  194. }
  195. .priceZ {
  196. font-size: 56rpx;
  197. }
  198. .priceF {
  199. font-size: 32rpx;
  200. }
  201. }
  202. }
  203. button {
  204. margin: 0;
  205. width: 100%;
  206. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  207. border-radius: 78rpx;
  208. padding: 22rpx 84rpx;
  209. font-weight: 500;
  210. font-size: 32rpx;
  211. color: #FFFFFF;
  212. line-height: 44rpx;
  213. }
  214. }
  215. .useRefound-pop {
  216. position: fixed;
  217. top: 0;
  218. left: 0;
  219. right: 0;
  220. bottom: 0;
  221. .useRefound-mask {
  222. position: absolute;
  223. top: 0;
  224. left: 0;
  225. right: 0;
  226. bottom: 0;
  227. background-color: rgba(0, 0, 0, 0.6);
  228. }
  229. .useRefound-container {
  230. position: absolute;
  231. left: 0;
  232. right: 0;
  233. bottom: 0;
  234. width: 100%;
  235. background: linear-gradient( 180deg, #FFDEE7 0%, #FFFFFF 12%, #FFFFFF 100%);
  236. background-color: #fff;
  237. border-radius: 32rpx 32rpx 0rpx 0rpx;
  238. .icon-close {
  239. position: absolute;
  240. width: 38rpx;
  241. height: 38rpx;
  242. top: 40rpx;
  243. right: 40rpx;
  244. }
  245. .use-title {
  246. font-weight: 600;
  247. font-size: 36rpx;
  248. color: #131415;
  249. line-height: 50rpx;
  250. padding-top: 34rpx;
  251. padding-bottom: 30rpx;
  252. text-align: center;
  253. }
  254. .use-form {
  255. margin: 0 40rpx;
  256. background: #F7F8F9;
  257. border-radius: 16rpx;
  258. padding: 16rpx 16rpx 8rpx;
  259. margin-bottom: 80rpx;
  260. textarea {
  261. height: 140rpx;
  262. font-size: 30rpx;
  263. }
  264. .num {
  265. text-align: right;
  266. font-size: 26rpx;
  267. color: #AAAAAA;
  268. line-height: 42rpx;
  269. }
  270. }
  271. .btnSection {
  272. padding: 0 32rpx 58rpx;
  273. button {
  274. margin: 0;
  275. width: 100%;
  276. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  277. border-radius: 78rpx;
  278. padding: 22rpx 84rpx;
  279. font-weight: 500;
  280. font-size: 32rpx;
  281. color: #FFFFFF;
  282. line-height: 44rpx;
  283. }
  284. }
  285. }
  286. }