order.wxss 7.5 KB

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