order.wxss 6.7 KB

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