order.wxss 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  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: #5dbc7c;
  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 #5dbc7c;
  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: #5dbc7c;
  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. -webkit-border-radius: 10rpx;
  169. border-radius: 10rpx;
  170. font-size: 22rpx;
  171. color: #ffffff;
  172. }
  173. .order-item .goods-box-single .right .title {
  174. font-size: 30rpx;
  175. color: #303133;
  176. line-height: 1;
  177. width: 80%;
  178. }
  179. .order-item .goods-box-single .right .attr-box {
  180. display: -webkit-box;
  181. display: -webkit-flex;
  182. display: flex;
  183. -webkit-box-pack: end;
  184. -webkit-justify-content: flex-end;
  185. justify-content: flex-end;
  186. font-size: 26rpx;
  187. color: #909399;
  188. }
  189. .order-item .goods-box-single .right .price {
  190. display: inline;
  191. font-size: 30rpx;
  192. color: #303133;
  193. }
  194. .order-item .goods-box-single .right .price:before {
  195. content: '¥';
  196. font-size: 24rpx;
  197. }
  198. .order-item .price-box {
  199. display: -webkit-box;
  200. display: -webkit-flex;
  201. display: flex;
  202. -webkit-box-pack: end;
  203. -webkit-justify-content: flex-end;
  204. justify-content: flex-end;
  205. -webkit-box-align: baseline;
  206. -webkit-align-items: baseline;
  207. align-items: baseline;
  208. padding: 20rpx 30rpx;
  209. font-size: 26rpx;
  210. color: #909399;
  211. }
  212. .order-item .price-box .num {
  213. margin: 0 8rpx;
  214. color: #303133;
  215. }
  216. .order-item .price-box .price {
  217. font-size: 32rpx;
  218. color: #303133;
  219. }
  220. .order-item .price-box .price:before {
  221. content: '¥';
  222. font-size: 24rpx;
  223. margin: 0 2rpx 0 8rpx;
  224. }
  225. .order-item .action-box {
  226. display: -webkit-box;
  227. display: -webkit-flex;
  228. display: flex;
  229. -webkit-box-pack: end;
  230. -webkit-justify-content: flex-end;
  231. justify-content: flex-end;
  232. -webkit-box-align: center;
  233. -webkit-align-items: center;
  234. align-items: center;
  235. height: 100rpx;
  236. position: relative;
  237. padding-right: 30rpx;
  238. }
  239. .order-item .action-btn {
  240. width: 160rpx;
  241. height: 60rpx;
  242. margin: 0;
  243. margin-left: 24rpx;
  244. padding: 0;
  245. text-align: center;
  246. line-height: 60rpx;
  247. font-size: 26rpx;
  248. color: #303133;
  249. background: #fff;
  250. -webkit-border-radius: 100px;
  251. border-radius: 100px;
  252. }
  253. .order-item .action-btn:after {
  254. -webkit-border-radius: 100px;
  255. border-radius: 100px;
  256. }
  257. .order-item .action-btn.recom {
  258. color: #5dbc7c;
  259. }
  260. .order-item .action-btn.recom:after {
  261. border-color: #5dbc7c;
  262. }
  263. .order-item .action-btn.evaluate {
  264. color: #fd5b23;
  265. }
  266. .order-item .action-btn.evaluate:after {
  267. border-color: #fd5b23;
  268. }
  269. /* load-more */
  270. .uni-load-more {
  271. display: -webkit-box;
  272. display: -webkit-flex;
  273. display: flex;
  274. -webkit-box-orient: horizontal;
  275. -webkit-box-direction: normal;
  276. -webkit-flex-direction: row;
  277. flex-direction: row;
  278. height: 80rpx;
  279. -webkit-box-align: center;
  280. -webkit-align-items: center;
  281. align-items: center;
  282. -webkit-box-pack: center;
  283. -webkit-justify-content: center;
  284. justify-content: center;
  285. }
  286. .uni-load-more__text {
  287. font-size: 28rpx;
  288. color: #999;
  289. }
  290. .uni-load-more__img {
  291. height: 24px;
  292. width: 24px;
  293. margin-right: 10px;
  294. }
  295. .uni-load-more__img > view {
  296. position: absolute;
  297. }
  298. .uni-load-more__img > view view {
  299. width: 6px;
  300. height: 2px;
  301. -webkit-border-top-left-radius: 1px;
  302. border-top-left-radius: 1px;
  303. -webkit-border-bottom-left-radius: 1px;
  304. border-bottom-left-radius: 1px;
  305. background: #999;
  306. position: absolute;
  307. opacity: 0.2;
  308. -webkit-transform-origin: 50%;
  309. transform-origin: 50%;
  310. -webkit-animation: load 1.56s ease infinite;
  311. animation: load 1.56s ease infinite;
  312. }
  313. .uni-load-more__img > view view:nth-child(1) {
  314. -webkit-transform: rotate(90deg);
  315. transform: rotate(90deg);
  316. top: 2px;
  317. left: 9px;
  318. }
  319. .uni-load-more__img > view view:nth-child(2) {
  320. -webkit-transform: rotate(180deg);
  321. transform: rotate(180deg);
  322. top: 11px;
  323. right: 0;
  324. }
  325. .uni-load-more__img > view view:nth-child(3) {
  326. -webkit-transform: rotate(270deg);
  327. transform: rotate(270deg);
  328. bottom: 2px;
  329. left: 9px;
  330. }
  331. .uni-load-more__img > view view:nth-child(4) {
  332. top: 11px;
  333. left: 0;
  334. }
  335. .load1,
  336. .load2,
  337. .load3 {
  338. height: 24px;
  339. width: 24px;
  340. }
  341. .load2 {
  342. -webkit-transform: rotate(30deg);
  343. transform: rotate(30deg);
  344. }
  345. .load3 {
  346. -webkit-transform: rotate(60deg);
  347. transform: rotate(60deg);
  348. }
  349. .load1 view:nth-child(1) {
  350. -webkit-animation-delay: 0s;
  351. animation-delay: 0s;
  352. }
  353. .load2 view:nth-child(1) {
  354. -webkit-animation-delay: 0.13s;
  355. animation-delay: 0.13s;
  356. }
  357. .load3 view:nth-child(1) {
  358. -webkit-animation-delay: 0.26s;
  359. animation-delay: 0.26s;
  360. }
  361. .load1 view:nth-child(2) {
  362. -webkit-animation-delay: 0.39s;
  363. animation-delay: 0.39s;
  364. }
  365. .load2 view:nth-child(2) {
  366. -webkit-animation-delay: 0.52s;
  367. animation-delay: 0.52s;
  368. }
  369. .load3 view:nth-child(2) {
  370. -webkit-animation-delay: 0.65s;
  371. animation-delay: 0.65s;
  372. }
  373. .load1 view:nth-child(3) {
  374. -webkit-animation-delay: 0.78s;
  375. animation-delay: 0.78s;
  376. }
  377. .load2 view:nth-child(3) {
  378. -webkit-animation-delay: 0.91s;
  379. animation-delay: 0.91s;
  380. }
  381. .load3 view:nth-child(3) {
  382. -webkit-animation-delay: 1.04s;
  383. animation-delay: 1.04s;
  384. }
  385. .load1 view:nth-child(4) {
  386. -webkit-animation-delay: 1.17s;
  387. animation-delay: 1.17s;
  388. }
  389. .load2 view:nth-child(4) {
  390. -webkit-animation-delay: 1.3s;
  391. animation-delay: 1.3s;
  392. }
  393. .load3 view:nth-child(4) {
  394. -webkit-animation-delay: 1.43s;
  395. animation-delay: 1.43s;
  396. }
  397. @-webkit-keyframes load {
  398. 0% {
  399. opacity: 1;
  400. }
  401. 100% {
  402. opacity: 0.2;
  403. }
  404. }