order.wxss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  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. position: relative;
  33. flex: 1;
  34. display: flex;
  35. justify-content: center;
  36. align-items: center;
  37. height: 100%;
  38. font-size: 15px;
  39. color: #303133;
  40. position: relative;
  41. }
  42. .navbar .nav-item .dian {
  43. position: absolute;
  44. top: 20rpx;
  45. right: 18rpx;
  46. width: 30rpx;
  47. height: 30rpx;
  48. border-radius: 50%;
  49. background-color: red;
  50. color: #ffffff;
  51. font-size: 24rpx;
  52. display: flex;
  53. align-items: center;
  54. justify-content: center;
  55. }
  56. .navbar .nav-item.current {
  57. color: #24a17d;
  58. }
  59. .navbar .nav-item.current:after {
  60. content: '';
  61. position: absolute;
  62. left: 50%;
  63. bottom: 0;
  64. -webkit-transform: translateX(-50%);
  65. transform: translateX(-50%);
  66. width: 44px;
  67. height: 0;
  68. border-bottom: 2px solid #24a17d;
  69. }
  70. .uni-swiper-item {
  71. height: auto;
  72. }
  73. .order-item {
  74. width: 702rpx;
  75. background: #ffffff;
  76. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  77. border-radius: 20rpx;
  78. margin: 20rpx auto 0;
  79. padding: 24rpx;
  80. }
  81. .order-item .order-top-left {
  82. display: flex;
  83. align-items: center;
  84. }
  85. .order-item .order-top-left .order-top-left-image {
  86. width: 32rpx;
  87. height: 37rpx;
  88. }
  89. .order-item .order-top-left .order-top-left-font {
  90. margin-left: 10rpx;
  91. font-size: 30rpx;
  92. font-family: PingFang SC;
  93. font-weight: bold;
  94. color: #333333;
  95. }
  96. .order-item .order-top-right {
  97. font-size: 26rpx;
  98. font-family: PingFang SC;
  99. font-weight: 500;
  100. color: #ff6f0f;
  101. }
  102. .order-item .order-info {
  103. margin-top: 24rpx;
  104. align-items: flex-start;
  105. }
  106. .order-item .order-info .order-info-left {
  107. width: 200rpx;
  108. font-size: 28rpx;
  109. font-family: PingFang SC;
  110. font-weight: 500;
  111. color: #666666;
  112. }
  113. .order-item .order-info .order-info-right {
  114. font-size: 28rpx;
  115. font-family: PingFang SC;
  116. font-weight: bold;
  117. color: #333333;
  118. }
  119. .order-item .order-info .order-info-picture {
  120. display: flex;
  121. justify-content: flex-end;
  122. }
  123. .order-item .order-info .order-info-picture .order-info-picture-item {
  124. width: 130rpx;
  125. height: 130rpx;
  126. margin-left: 10rpx;
  127. }
  128. .order-item .order-info .order-info-picture .order-info-picture-item image {
  129. width: 100%;
  130. height: 100%;
  131. }
  132. .order-item .order-btn-box {
  133. display: flex;
  134. justify-content: flex-end;
  135. }
  136. .order-item .order-btn-box .order-btn {
  137. margin-top: 34rpx;
  138. align-items: center;
  139. display: flex;
  140. justify-content: center;
  141. width: 181rpx;
  142. height: 63rpx;
  143. border: 1rpx solid #c9c9c9;
  144. border-radius: 15rpx;
  145. }
  146. .order-item .order-btn-box .order-btn .order-btn-icon {
  147. width: 38rpx;
  148. height: 38rpx;
  149. }
  150. .order-item .order-btn-box .order-btn .order-btn-font {
  151. margin-left: 7rpx;
  152. font-size: 24rpx;
  153. font-family: PingFang SC;
  154. font-weight: 500;
  155. color: #666666;
  156. }
  157. .order-item .ordering {
  158. margin-top: 30rpx;
  159. padding: 30rpx 0 10rpx;
  160. border-top: 1px solid #eaeced;
  161. }
  162. .order-item .ordering .ordering-btn {
  163. display: flex;
  164. justify-content: center;
  165. margin: 38rpx auto 0;
  166. width: 566rpx;
  167. height: 74rpx;
  168. background: #24a17d;
  169. border-radius: 15rpx;
  170. }
  171. .order-item .ordering .ordering-btn .ordering-btn-icon {
  172. width: 32rpx;
  173. height: 34rpx;
  174. }
  175. .order-item .ordering .ordering-btn .ordering-btn-font {
  176. margin-left: 14rpx;
  177. font-size: 30rpx;
  178. font-family: PingFang SC;
  179. font-weight: bold;
  180. color: #ffffff;
  181. }
  182. .order-item .ordering .ordering-btnbox {
  183. margin-top: 40rpx;
  184. display: flex;
  185. justify-content: space-between;
  186. align-items: center;
  187. }
  188. .order-item .ordering .ordering-btnbox .ordering-btnbox-left {
  189. display: flex;
  190. flex-direction: column;
  191. align-items: center;
  192. line-height: 1;
  193. }
  194. .order-item .ordering .ordering-btnbox .ordering-btnbox-left .ordering-btnbox-left-icon {
  195. width: 42rpx;
  196. height: 42rpx;
  197. }
  198. .order-item .ordering .ordering-btnbox .ordering-btnbox-left .ordering-btnbox-left-font {
  199. margin-top: 10rpx;
  200. font-size: 20rpx;
  201. font-family: PingFang SC;
  202. font-weight: 500;
  203. color: #666666;
  204. }
  205. .order-item .ordering .ordering-btnbox .ordering-btnbox-right {
  206. display: flex;
  207. justify-content: center;
  208. align-items: center;
  209. width: 556rpx;
  210. height: 74rpx;
  211. background: #24a17d;
  212. border-radius: 15rpx;
  213. }
  214. .order-item .ordering .ordering-btnbox .ordering-btnbox-right .ordering-btnbox-right-font {
  215. font-size: 30rpx;
  216. font-family: PingFang SC;
  217. font-weight: bold;
  218. color: #ffffff;
  219. }
  220. /* load-more */
  221. .uni-load-more {
  222. display: flex;
  223. flex-direction: row;
  224. height: 80rpx;
  225. align-items: center;
  226. justify-content: center;
  227. }
  228. @-webkit-keyframes load {
  229. 0% {
  230. opacity: 1;
  231. }
  232. 100% {
  233. opacity: 0.2;
  234. }
  235. }