order.wxss 8.4 KB

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