order.wxss 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  1. @charset "UTF-8";
  2. .content,page {
  3. background: #f8f8f8;
  4. height: 100%;
  5. }
  6. .swiper-box {
  7. height: calc(100% - 40px);
  8. }
  9. .list-scroll-content {
  10. height: 100%;
  11. }
  12. .navbar {
  13. height: 40px;
  14. padding: 0 5px;
  15. background: #fff;
  16. box-shadow: 0 1px 5px rgba(0,0,0,.06);
  17. z-index: 10;
  18. }
  19. .navbar,.navbar .nav-item {
  20. display: flex;
  21. position: relative;
  22. }
  23. .navbar .nav-item {
  24. -webkit-box-flex: 1;
  25. flex: 1;
  26. -webkit-box-pack: center;
  27. justify-content: center;
  28. -webkit-box-align: center;
  29. align-items: center;
  30. height: 100%;
  31. font-size: 15px;
  32. color: #303133;
  33. }
  34. .navbar .nav-item.current {
  35. color: #5dbc7c;
  36. }
  37. .navbar .nav-item.current:after {
  38. content: "";
  39. position: absolute;
  40. left: 50%;
  41. bottom: 0;
  42. transform: translateX(-50%);
  43. width: 44px;
  44. height: 0;
  45. border-bottom: 2px solid #5dbc7c;
  46. }
  47. .uni-swiper-item {
  48. height: auto;
  49. }
  50. .order-item {
  51. -webkit-box-orient: vertical;
  52. -webkit-box-direction: normal;
  53. flex-direction: column;
  54. padding-left: 30rpx;
  55. background: #fff;
  56. margin-top: 16rpx;
  57. }
  58. .order-item,.order-item .i-top {
  59. display: flex;
  60. }
  61. .order-item .i-top {
  62. -webkit-box-align: center;
  63. align-items: center;
  64. height: 80rpx;
  65. padding-right: 30rpx;
  66. font-size: 28rpx;
  67. color: #303133;
  68. position: relative;
  69. }
  70. .order-item .i-top .time {
  71. -webkit-box-flex: 1;
  72. flex: 1;
  73. }
  74. .order-item .i-top .state {
  75. color: #5dbc7c;
  76. }
  77. .order-item .i-top .del-btn {
  78. padding: 10rpx 0 10rpx 36rpx;
  79. font-size: 32rpx;
  80. color: #909399;
  81. position: relative;
  82. }
  83. .order-item .i-top .del-btn:after {
  84. content: "";
  85. width: 0;
  86. height: 30rpx;
  87. border-left: 1px solid #dcdfe6;
  88. position: absolute;
  89. left: 20rpx;
  90. top: 50%;
  91. transform: translateY(-50%);
  92. }
  93. .order-item .goods-box {
  94. height: 160rpx;
  95. padding: 20rpx 0;
  96. white-space: nowrap;
  97. }
  98. .order-item .goods-box .goods-item {
  99. width: 120rpx;
  100. height: 120rpx;
  101. display: inline-block;
  102. margin-right: 24rpx;
  103. }
  104. .order-item .goods-box .goods-img {
  105. display: block;
  106. width: 100%;
  107. height: 100%;
  108. }
  109. .order-item .goods-box-single {
  110. display: flex;
  111. padding: 20rpx 0;
  112. }
  113. .order-item .goods-box-single .goods-img {
  114. display: block;
  115. width: 120rpx;
  116. height: 120rpx;
  117. }
  118. .order-item .goods-box-single .right {
  119. -webkit-box-flex: 1;
  120. flex: 1;
  121. display: flex;
  122. -webkit-box-orient: vertical;
  123. -webkit-box-direction: normal;
  124. flex-direction: column;
  125. padding: 0 30rpx 0 24rpx;
  126. overflow: hidden;
  127. }
  128. .order-item .goods-box-single .right .title {
  129. font-size: 30rpx;
  130. color: #303133;
  131. line-height: 1;
  132. }
  133. .order-item .goods-box-single .right .attr-box {
  134. font-size: 26rpx;
  135. color: #909399;
  136. padding: 10rpx 12rpx;
  137. }
  138. .order-item .goods-box-single .right .price {
  139. font-size: 30rpx;
  140. color: #303133;
  141. }
  142. .order-item .goods-box-single .right .price:before {
  143. content: "¥";
  144. font-size: 24rpx;
  145. margin: 0 2rpx 0 8rpx;
  146. }
  147. .order-item .price-box {
  148. display: flex;
  149. -webkit-box-pack: end;
  150. justify-content: flex-end;
  151. -webkit-box-align: baseline;
  152. align-items: baseline;
  153. padding: 20rpx 30rpx;
  154. font-size: 26rpx;
  155. color: #909399;
  156. }
  157. .order-item .price-box .num {
  158. margin: 0 8rpx;
  159. color: #303133;
  160. }
  161. .order-item .price-box .price {
  162. font-size: 32rpx;
  163. color: #303133;
  164. }
  165. .order-item .price-box .price:before {
  166. content: "¥";
  167. font-size: 24rpx;
  168. margin: 0 2rpx 0 8rpx;
  169. }
  170. .order-item .action-box {
  171. display: flex;
  172. -webkit-box-pack: end;
  173. justify-content: flex-end;
  174. -webkit-box-align: center;
  175. align-items: center;
  176. height: 100rpx;
  177. position: relative;
  178. padding-right: 30rpx;
  179. }
  180. .order-item .action-btn {
  181. width: 160rpx;
  182. height: 60rpx;
  183. margin: 0 0 0 24rpx;
  184. padding: 0;
  185. text-align: center;
  186. line-height: 60rpx;
  187. font-size: 26rpx;
  188. color: #303133;
  189. background: #fff;
  190. border-radius: 100px;
  191. }
  192. .order-item .action-btn:after {
  193. border-radius: 100px;
  194. }
  195. .order-item .action-btn.recom {
  196. color: #5dbc7c;
  197. }
  198. .order-item .action-btn.recom:after {
  199. border-color: #5dbc7c;
  200. }
  201. .order-item .action-btn.evaluate {
  202. color: #fd5b23;
  203. }
  204. .order-item .action-btn.evaluate:after {
  205. border-color: #fd5b23;
  206. }
  207. .uni-load-more {
  208. display: flex;
  209. -webkit-box-orient: horizontal;
  210. -webkit-box-direction: normal;
  211. flex-direction: row;
  212. height: 80rpx;
  213. -webkit-box-align: center;
  214. align-items: center;
  215. -webkit-box-pack: center;
  216. justify-content: center;
  217. }
  218. .uni-load-more__text {
  219. font-size: 28rpx;
  220. color: #999;
  221. }
  222. .uni-load-more__img {
  223. height: 24px;
  224. width: 24px;
  225. margin-right: 10px;
  226. }
  227. .uni-load-more__img>view {
  228. position: absolute;
  229. }
  230. .uni-load-more__img>view view {
  231. width: 6px;
  232. height: 2px;
  233. border-top-left-radius: 1px;
  234. border-bottom-left-radius: 1px;
  235. background: #999;
  236. position: absolute;
  237. opacity: .2;
  238. transform-origin: 50%;
  239. animation: load 1.56s ease infinite;
  240. }
  241. .uni-load-more__img>view view:nth-child(1) {
  242. transform: rotate(90deg);
  243. top: 2px;
  244. left: 9px;
  245. }
  246. .uni-load-more__img>view view:nth-child(2) {
  247. transform: rotate(180deg);
  248. top: 11px;
  249. right: 0;
  250. }
  251. .uni-load-more__img>view view:nth-child(3) {
  252. transform: rotate(270deg);
  253. bottom: 2px;
  254. left: 9px;
  255. }
  256. .uni-load-more__img>view view:nth-child(4) {
  257. top: 11px;
  258. left: 0;
  259. }
  260. .load1,.load2,.load3 {
  261. height: 24px;
  262. width: 24px;
  263. }
  264. .load2 {
  265. transform: rotate(30deg);
  266. }
  267. .load3 {
  268. transform: rotate(60deg);
  269. }
  270. .load1 view:nth-child(1) {
  271. animation-delay: 0s;
  272. }
  273. .load2 view:nth-child(1) {
  274. animation-delay: .13s;
  275. }
  276. .load3 view:nth-child(1) {
  277. animation-delay: .26s;
  278. }
  279. .load1 view:nth-child(2) {
  280. animation-delay: .39s;
  281. }
  282. .load2 view:nth-child(2) {
  283. animation-delay: .52s;
  284. }
  285. .load3 view:nth-child(2) {
  286. animation-delay: .65s;
  287. }
  288. .load1 view:nth-child(3) {
  289. animation-delay: .78s;
  290. }
  291. .load2 view:nth-child(3) {
  292. animation-delay: .91s;
  293. }
  294. .load3 view:nth-child(3) {
  295. animation-delay: 1.04s;
  296. }
  297. .load1 view:nth-child(4) {
  298. animation-delay: 1.17s;
  299. }
  300. .load2 view:nth-child(4) {
  301. animation-delay: 1.3s;
  302. }
  303. .load3 view:nth-child(4) {
  304. animation-delay: 1.43s;
  305. }
  306. @-webkit-keyframes load {
  307. 0% {
  308. opacity: 1;
  309. }
  310. 100% {
  311. opacity: .2;
  312. }
  313. }