order.wxss 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. page,
  12. .content {
  13. background: #f8f8f8;
  14. height: 100%;
  15. }
  16. .swiper-box {
  17. height: calc(100% - 40px);
  18. }
  19. .list-scroll-content {
  20. height: 100%;
  21. }
  22. .navbar {
  23. display: flex;
  24. height: 40px;
  25. padding: 0 5px;
  26. background: #fff;
  27. box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
  28. position: relative;
  29. z-index: 10;
  30. }
  31. .navbar .nav-item {
  32. flex: 1;
  33. display: flex;
  34. justify-content: center;
  35. align-items: center;
  36. height: 100%;
  37. font-size: 15px;
  38. color: #303133;
  39. position: relative;
  40. }
  41. .navbar .nav-item.current {
  42. color: #FF6903;
  43. }
  44. .navbar .nav-item.current:after {
  45. content: '';
  46. position: absolute;
  47. left: 50%;
  48. bottom: 0;
  49. -webkit-transform: translateX(-50%);
  50. transform: translateX(-50%);
  51. width: 44px;
  52. height: 0;
  53. border-bottom: 2px solid #FF6903;
  54. }
  55. .uni-swiper-item {
  56. height: auto;
  57. }
  58. .order-item {
  59. display: flex;
  60. flex-direction: column;
  61. padding-left: 30rpx;
  62. background: #fff;
  63. margin-top: 16rpx;
  64. /* 多条商品 */
  65. /* 单条商品 */
  66. }
  67. .order-item .i-top {
  68. display: flex;
  69. align-items: center;
  70. height: 80rpx;
  71. padding-right: 30rpx;
  72. font-size: 28rpx;
  73. color: #303133;
  74. position: relative;
  75. }
  76. .order-item .i-top .time {
  77. flex: 1;
  78. }
  79. .order-item .i-top .state {
  80. color: #5dbc7c;
  81. }
  82. .order-item .i-top .del-btn {
  83. padding: 10rpx 0 10rpx 36rpx;
  84. font-size: 32rpx;
  85. color: #909399;
  86. position: relative;
  87. }
  88. .order-item .i-top .del-btn:after {
  89. content: '';
  90. width: 0;
  91. height: 30rpx;
  92. border-left: 1px solid #dcdfe6;
  93. position: absolute;
  94. left: 20rpx;
  95. top: 50%;
  96. -webkit-transform: translateY(-50%);
  97. transform: translateY(-50%);
  98. }
  99. .order-item .goods-box {
  100. height: 160rpx;
  101. padding: 20rpx 0;
  102. white-space: nowrap;
  103. }
  104. .order-item .goods-box .goods-item {
  105. width: 120rpx;
  106. height: 120rpx;
  107. display: inline-block;
  108. margin-right: 24rpx;
  109. }
  110. .order-item .goods-box .goods-img {
  111. display: block;
  112. width: 120rpx;
  113. height: 120rpx;
  114. }
  115. .order-item .goods-box-single {
  116. display: flex;
  117. padding: 20rpx 0;
  118. }
  119. .order-item .goods-box-single .goods-img {
  120. display: block;
  121. width: 120rpx;
  122. height: 120rpx;
  123. }
  124. .order-item .goods-box-single .right {
  125. flex: 1;
  126. display: flex;
  127. flex-direction: column;
  128. padding: 0 30rpx 0 24rpx;
  129. overflow: hidden;
  130. }
  131. .order-item .goods-box-single .right .title {
  132. font-size: 30rpx;
  133. color: #303133;
  134. line-height: 1;
  135. }
  136. .order-item .goods-box-single .right .attr-box {
  137. font-size: 26rpx;
  138. color: #909399;
  139. padding: 10rpx 12rpx;
  140. }
  141. .order-item .goods-box-single .right .price {
  142. font-size: 30rpx;
  143. color: #303133;
  144. }
  145. .order-item .goods-box-single .right .price:before {
  146. content: '¥';
  147. font-size: 24rpx;
  148. margin: 0 2rpx 0 8rpx;
  149. }
  150. .order-item .price-box {
  151. display: flex;
  152. justify-content: flex-end;
  153. align-items: baseline;
  154. padding: 20rpx 30rpx;
  155. font-size: 26rpx;
  156. color: #909399;
  157. }
  158. .order-item .price-box .num {
  159. margin: 0 8rpx;
  160. color: #303133;
  161. }
  162. .order-item .price-box .blank {
  163. margin-right: 10rpx;
  164. }
  165. .order-item .price-box .price {
  166. font-size: 32rpx;
  167. color: #303133;
  168. }
  169. .order-item .price-box .price:before {
  170. content: '¥';
  171. font-size: 24rpx;
  172. margin: 0 2rpx 0 8rpx;
  173. }
  174. .order-item .action-box {
  175. display: flex;
  176. justify-content: flex-end;
  177. align-items: center;
  178. height: 100rpx;
  179. position: relative;
  180. padding-right: 30rpx;
  181. }
  182. .order-item .action-btn {
  183. width: 160rpx;
  184. height: 60rpx;
  185. margin: 0;
  186. margin-left: 24rpx;
  187. padding: 0;
  188. text-align: center;
  189. line-height: 60rpx;
  190. font-size: 26rpx;
  191. color: #303133;
  192. background: #fff;
  193. border-radius: 100px;
  194. }
  195. .order-item .action-btn:after {
  196. border-radius: 100px;
  197. }
  198. .order-item .action-btn.recom {
  199. color: #fc2a3f;
  200. }
  201. .order-item .action-btn.recom:after {
  202. border-color: #fc2a3f;
  203. }
  204. .order-item .action-btn.evaluate {
  205. color: #fd5b23;
  206. }
  207. .order-item .action-btn.evaluate:after {
  208. border-color: #fd5b23;
  209. }
  210. .order-item .action-btn.share {
  211. color: #ffffff;
  212. background: linear-gradient(0deg, #fa2740, #fe5544);
  213. }
  214. .mask {
  215. z-index: 10;
  216. position: fixed;
  217. top: 0;
  218. right: 0;
  219. bottom: 0;
  220. left: 0;
  221. background-color: rgba(0, 0, 0, 0.5);
  222. width: 100%;
  223. height: 100%;
  224. display: flex;
  225. justify-content: center;
  226. align-items: center;
  227. flex-direction: column;
  228. }
  229. .mask .pop {
  230. z-index: 12;
  231. width: 560rpx;
  232. height: 379rpx;
  233. background: white;
  234. border-radius: 30px;
  235. }
  236. .mask .pop .pop-box {
  237. width: 100%;
  238. height: 100%;
  239. display: flex;
  240. flex-direction: column;
  241. text-align: center;
  242. align-items: center;
  243. margin-top: -72rpx !important;
  244. }
  245. .mask .pop .pop-box .pop-img {
  246. width: 177rpx;
  247. height: 186rpx;
  248. margin-bottom: 34rpx;
  249. }
  250. .mask .pop .pop-box .pop-title {
  251. height: 34rpx;
  252. font-size: 36rpx;
  253. font-weight: 500;
  254. color: #333333;
  255. margin-bottom: 32rpx;
  256. }
  257. .mask .pop .pop-box .number {
  258. width: 454rpx;
  259. height: 78rpx;
  260. background: #eaeaea;
  261. background: #eaeaea;
  262. }
  263. .mask .pop .close-box {
  264. margin-top: 130rpx;
  265. text-align: center;
  266. }
  267. .mask .pop .close-box .close {
  268. width: 83rpx;
  269. height: 83rpx;
  270. }
  271. /* load-more */
  272. .uni-load-more {
  273. display: flex;
  274. flex-direction: row;
  275. height: 80rpx;
  276. align-items: center;
  277. justify-content: center;
  278. }
  279. .uni-load-more__text {
  280. font-size: 28rpx;
  281. color: #999;
  282. }
  283. .uni-load-more__img {
  284. height: 24px;
  285. width: 24px;
  286. margin-right: 10px;
  287. }
  288. .uni-load-more__img > view {
  289. position: absolute;
  290. }
  291. .uni-load-more__img > view view {
  292. width: 6px;
  293. height: 2px;
  294. border-top-left-radius: 1px;
  295. border-bottom-left-radius: 1px;
  296. background: #999;
  297. position: absolute;
  298. opacity: 0.2;
  299. -webkit-transform-origin: 50%;
  300. transform-origin: 50%;
  301. -webkit-animation: load 1.56s ease infinite;
  302. animation: load 1.56s ease infinite;
  303. }
  304. .uni-load-more__img > view view:nth-child(1) {
  305. -webkit-transform: rotate(90deg);
  306. transform: rotate(90deg);
  307. top: 2px;
  308. left: 9px;
  309. }
  310. .uni-load-more__img > view view:nth-child(2) {
  311. -webkit-transform: rotate(180deg);
  312. transform: rotate(180deg);
  313. top: 11px;
  314. right: 0;
  315. }
  316. .uni-load-more__img > view view:nth-child(3) {
  317. -webkit-transform: rotate(270deg);
  318. transform: rotate(270deg);
  319. bottom: 2px;
  320. left: 9px;
  321. }
  322. .uni-load-more__img > view view:nth-child(4) {
  323. top: 11px;
  324. left: 0;
  325. }
  326. .load1,
  327. .load2,
  328. .load3 {
  329. height: 24px;
  330. width: 24px;
  331. }
  332. .load2 {
  333. -webkit-transform: rotate(30deg);
  334. transform: rotate(30deg);
  335. }
  336. .load3 {
  337. -webkit-transform: rotate(60deg);
  338. transform: rotate(60deg);
  339. }
  340. .load1 view:nth-child(1) {
  341. -webkit-animation-delay: 0s;
  342. animation-delay: 0s;
  343. }
  344. .load2 view:nth-child(1) {
  345. -webkit-animation-delay: 0.13s;
  346. animation-delay: 0.13s;
  347. }
  348. .load3 view:nth-child(1) {
  349. -webkit-animation-delay: 0.26s;
  350. animation-delay: 0.26s;
  351. }
  352. .load1 view:nth-child(2) {
  353. -webkit-animation-delay: 0.39s;
  354. animation-delay: 0.39s;
  355. }
  356. .load2 view:nth-child(2) {
  357. -webkit-animation-delay: 0.52s;
  358. animation-delay: 0.52s;
  359. }
  360. .load3 view:nth-child(2) {
  361. -webkit-animation-delay: 0.65s;
  362. animation-delay: 0.65s;
  363. }
  364. .load1 view:nth-child(3) {
  365. -webkit-animation-delay: 0.78s;
  366. animation-delay: 0.78s;
  367. }
  368. .load2 view:nth-child(3) {
  369. -webkit-animation-delay: 0.91s;
  370. animation-delay: 0.91s;
  371. }
  372. .load3 view:nth-child(3) {
  373. -webkit-animation-delay: 1.04s;
  374. animation-delay: 1.04s;
  375. }
  376. .load1 view:nth-child(4) {
  377. -webkit-animation-delay: 1.17s;
  378. animation-delay: 1.17s;
  379. }
  380. .load2 view:nth-child(4) {
  381. -webkit-animation-delay: 1.3s;
  382. animation-delay: 1.3s;
  383. }
  384. .load3 view:nth-child(4) {
  385. -webkit-animation-delay: 1.43s;
  386. animation-delay: 1.43s;
  387. }
  388. @-webkit-keyframes load {
  389. 0% {
  390. opacity: 1;
  391. }
  392. 100% {
  393. opacity: 0.2;
  394. }
  395. }