order-result.less 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  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: 48rpx;
  117. }
  118. .priceF {
  119. font-size: 32rpx;
  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: 32rpx;
  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;
  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. }
  225. }
  226. }
  227. .order-time {
  228. margin: 24rpx 26rpx 0;
  229. border-radius: 20rpx;
  230. padding: 0 24rpx;
  231. background-color: #FFFFFF;
  232. .order-item {
  233. display: flex;
  234. justify-content: space-between;
  235. padding: 36rpx 0;
  236. border-bottom: 2rpx solid #F0F0F0;
  237. &:last-child {
  238. border-bottom: none;
  239. }
  240. .title {
  241. font-weight: 500;
  242. font-size: 30rpx;
  243. color: #131415;
  244. line-height: 42rpx;
  245. }
  246. .value {
  247. font-size: 30rpx;
  248. color: #777777;
  249. line-height: 42rpx;
  250. display: flex;
  251. &.red {
  252. color: #FF5000;
  253. }
  254. .copy {
  255. font-size: 30rpx;
  256. color: #FF5000;
  257. line-height: 42rpx;
  258. display: flex;
  259. align-items: center;
  260. font-weight: 400;
  261. padding-left: 16rpx;
  262. }
  263. }
  264. }
  265. }
  266. .order-btn {
  267. position: fixed;
  268. bottom: 0;
  269. left: 0;
  270. width: 100%;
  271. background-color: #FFFFFF;
  272. padding: 20rpx 32rpx 58rpx;
  273. display: flex;
  274. justify-content: space-between;
  275. box-sizing: border-box;
  276. .orders {
  277. display: flex;
  278. flex-direction: column;
  279. margin-right: 40rpx;
  280. image {
  281. width: 48rpx;
  282. height: 48rpx;
  283. }
  284. text {
  285. font-weight: 500;
  286. font-size: 22rpx;
  287. color: #131415;
  288. line-height: 32rpx;
  289. text-align: center;
  290. }
  291. }
  292. .price {
  293. display: flex;
  294. align-items: center;
  295. .desc {
  296. font-weight: 500;
  297. font-size: 28rpx;
  298. color: #131415;
  299. line-height: 40rpx;
  300. }
  301. .currentPrice {
  302. font-weight: bold;
  303. color: #FE2451;
  304. font-family: DINAlternate, DINAlternate;
  305. .stuff {
  306. font-size: 32rpx;
  307. }
  308. .priceZ {
  309. font-size: 56rpx;
  310. }
  311. .priceF {
  312. font-size: 32rpx;
  313. }
  314. }
  315. }
  316. button {
  317. margin: 0;
  318. width: 100%;
  319. background: linear-gradient( 315deg, #FF4A00 0%, #FE8C00 100%);
  320. border-radius: 16rpx;
  321. padding: 22rpx 84rpx;
  322. font-weight: 500;
  323. font-size: 32rpx;
  324. color: #FFFFFF;
  325. line-height: 44rpx;
  326. &[disabled][type=primary] {
  327. color: #fff;
  328. background: linear-gradient( 315deg, #FF4A00 0%, #FE8C00 100%);
  329. color: #FFFFFF;
  330. opacity: 0.7;
  331. }
  332. }
  333. }