order.wxss 8.3 KB

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