order-result.less 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. /* pages/orders/order-detail.wxss */
  2. page {
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. background: #F4F4F4;
  7. &::before {
  8. content: '';
  9. position: absolute;
  10. top: 0;
  11. width: 100%;
  12. height: 750rpx;
  13. background: linear-gradient(to bottom, #FB660A, #F5F6F7) #f4f4f4;
  14. background-size: 750rpx;
  15. }
  16. .weui-navigation-bar__btn_goback {
  17. background-color: #fff;
  18. }
  19. }
  20. .scroll-container {
  21. padding-bottom: 174rpx;
  22. }
  23. .order-status {
  24. margin: 24rpx 26rpx 0;
  25. // background-color: #FFFFFF;
  26. border-radius: 20rpx;
  27. padding: 24rpx 8rpx 24rpx 32rpx;
  28. .status {
  29. display: flex;
  30. justify-content: space-between;
  31. image {
  32. width: 48rpx;
  33. height: 48rpx;
  34. margin-right: 16rpx;
  35. }
  36. .btn-refound {
  37. text-align: center;
  38. font-size: 26rpx;
  39. color: rgba(255,255,255,0.7);
  40. line-height: 34rpx;
  41. border-radius: 24rpx;
  42. border: 1rpx solid rgba(255,255,255,0.7);
  43. padding: 4rpx 12rpx;
  44. }
  45. text {
  46. font-weight: 600;
  47. font-size: 36rpx;
  48. color: #FFFFFF;
  49. line-height: 48rpx;
  50. }
  51. }
  52. .tips {
  53. padding-top: 24rpx;
  54. font-size: 28rpx;
  55. color: #FFFFFF;
  56. line-height: 40rpx;
  57. }
  58. }
  59. .order-content {
  60. margin: 32rpx 26rpx 0;
  61. border-radius: 20rpx;
  62. padding: 28rpx 24rpx;
  63. display: flex;
  64. flex-direction: column;
  65. background-color: #FFFFFF;
  66. }
  67. .item-content {
  68. display: flex;
  69. width: 100%;
  70. .goods-icon {
  71. width: 160rpx;
  72. height: 160rpx;
  73. margin-right: 24rpx;
  74. flex-shrink: 0;
  75. border-radius: 6px;
  76. overflow: hidden;
  77. }
  78. .goods-desc {
  79. flex: 1 auto;
  80. display: flex;
  81. flex-direction: column;
  82. }
  83. .goodsInfo {
  84. display: flex;
  85. justify-content: space-between;
  86. padding-top: 4rpx;
  87. .goods-name {
  88. flex: 1 auto;
  89. white-space: nowrap;
  90. overflow: hidden;
  91. font-weight: 600;
  92. font-size: 28rpx;
  93. text-overflow: ellipsis;
  94. max-width: 310rpx;
  95. }
  96. .goods-price {
  97. flex-shrink: 0;
  98. font-family: DINAlternate, DINAlternate;
  99. font-weight: bold;
  100. font-size: 28rpx;
  101. color: #131415;
  102. line-height: 48rpx;
  103. }
  104. }
  105. .goods-type {
  106. display: flex;
  107. justify-content: space-between;
  108. align-items: center;
  109. padding-top: 12rpx;
  110. .goods-card {
  111. border-radius: 6rpx;
  112. font-size: 26rpx;
  113. color: #131415;
  114. line-height: 40rpx;
  115. }
  116. .goods-num {
  117. font-size: 26rpx;
  118. color: #999999;
  119. line-height: 36rpx;
  120. }
  121. }
  122. }
  123. .only_canvas {
  124. position: absolute;
  125. left: -300rpx;
  126. top: 0;
  127. width: 300rpx;
  128. height: 300rpx;
  129. }
  130. /* HTML: <div class="loader"></div> */
  131. .loader {
  132. position: absolute;
  133. top: 50%;
  134. left: 50%;
  135. right: 0;
  136. bottom: 0;
  137. margin-top: -50rpx;
  138. margin-left: -50rpx;
  139. z-index: 9;
  140. width: 100rpx;
  141. aspect-ratio: 1;
  142. border-radius: 50%;
  143. background:
  144. radial-gradient(farthest-side,#E8E8E8 94%,#0000) top/8px 8px no-repeat,
  145. conic-gradient(#0000 30%,#E8E8E8);
  146. -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0);
  147. animation: tempLoading 1s infinite linear;
  148. }
  149. @keyframes tempLoading{
  150. 100%{transform: rotate(1turn)}
  151. }
  152. .qrcode-section {
  153. margin-top: 28rpx;
  154. border-top: 2rpx solid #F0F0F0;
  155. padding-top: 60rpx;
  156. padding-bottom: 32rpx;
  157. text-align: center;
  158. .qrcode-wrap {
  159. position: relative;
  160. margin: 0 auto;
  161. // border: 3rpx solid #EDEDED;
  162. padding: 34rpx;
  163. display: inline-block;
  164. font-size: 0;
  165. background: url('https://oss.dayaedu.com/ktyq/1732529619848.png') no-repeat center;
  166. background-size: contain;
  167. &.used {
  168. .arrow {
  169. display: none;
  170. }
  171. background: url('https://oss.dayaedu.com/ktyq/1732530067551.png') no-repeat center;
  172. background-size: contain;
  173. }
  174. .arrow {
  175. position: absolute;
  176. left: -126rpx;
  177. top: 50%;
  178. transform: translateY(-50%);
  179. width: 106rpx;
  180. height: 52rpx;
  181. }
  182. .arrow-right {
  183. right: -126rpx;
  184. left: auto;
  185. transform: rotateY(180deg) translateY(-50%);
  186. }
  187. }
  188. .my_draw_canvas {
  189. width: 300rpx;
  190. height: 300rpx;
  191. }
  192. .qrcode-text {
  193. display: inline-block;
  194. margin-top: 32rpx;
  195. padding: 16rpx 32rpx;
  196. font-weight: 500;
  197. font-size: 28rpx;
  198. color: #131415;
  199. line-height: 40rpx;
  200. background: #FFE7C7;
  201. border-radius: 36rpx;
  202. &.used {
  203. background: #F2F2F2;
  204. }
  205. }
  206. }
  207. .order-time {
  208. margin: 24rpx 26rpx 0;
  209. border-radius: 20rpx;
  210. padding: 36rpx 24rpx;
  211. background-color: #FFFFFF;
  212. .order-item {
  213. display: flex;
  214. justify-content: space-between;
  215. padding-bottom: 36rpx;
  216. &:last-child {
  217. padding-bottom: 0;
  218. }
  219. .title {
  220. font-weight: 500;
  221. font-size: 30rpx;
  222. color: #131415;
  223. line-height: 42rpx;
  224. }
  225. .value {
  226. font-size: 30rpx;
  227. color: #777777;
  228. line-height: 42rpx;
  229. display: flex;
  230. &.red {
  231. color: #FF5000;
  232. }
  233. .copy {
  234. font-size: 30rpx;
  235. color: #FF5000;
  236. line-height: 42rpx;
  237. display: flex;
  238. align-items: center;
  239. font-weight: 400;
  240. padding-left: 16rpx;
  241. }
  242. }
  243. }
  244. }
  245. .order-btn {
  246. position: fixed;
  247. bottom: 0;
  248. left: 0;
  249. width: 100%;
  250. background-color: #FFFFFF;
  251. padding: 20rpx 32rpx 58rpx 40rpx;
  252. display: flex;
  253. justify-content: space-between;
  254. box-sizing: border-box;
  255. .orders {
  256. display: flex;
  257. flex-direction: column;
  258. margin-right: 40rpx;
  259. image {
  260. width: 48rpx;
  261. height: 48rpx;
  262. }
  263. text {
  264. font-weight: 500;
  265. font-size: 22rpx;
  266. color: #131415;
  267. line-height: 32rpx;
  268. text-align: center;
  269. }
  270. }
  271. .price {
  272. display: flex;
  273. align-items: center;
  274. .desc {
  275. font-weight: 500;
  276. font-size: 28rpx;
  277. color: #131415;
  278. line-height: 40rpx;
  279. }
  280. .currentPrice {
  281. font-weight: bold;
  282. color: #FE2451;
  283. font-family: DINAlternate, DINAlternate;
  284. .stuff {
  285. font-size: 32rpx;
  286. }
  287. .priceZ {
  288. font-size: 56rpx;
  289. }
  290. .priceF {
  291. font-size: 32rpx;
  292. }
  293. }
  294. }
  295. button {
  296. margin: 0;
  297. width: 100%;
  298. background: linear-gradient( 315deg, #FF4A00 0%, #FE8C00 100%);
  299. border-radius: 16rpx;
  300. padding: 22rpx 84rpx;
  301. font-weight: 500;
  302. font-size: 32rpx;
  303. color: #FFFFFF;
  304. line-height: 44rpx;
  305. }
  306. }