order-result.less 7.4 KB

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