order.wxss 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. page {
  2. /* height: 100%;
  3. width: 100%;
  4. background: #f4f4f4; */
  5. }
  6. .orders-switch {
  7. width: 100%;
  8. background: #fff;
  9. height: 84rpx;
  10. /* border-bottom: 1px solid rgba(0,0,0,.15); */
  11. }
  12. .orders-switch .item {
  13. display: inline-block;
  14. height: 82rpx;
  15. width: 18%;
  16. padding: 0 15rpx;
  17. text-align: center;
  18. }
  19. .orders-switch .item .txt {
  20. display: inline-block;
  21. height: 82rpx;
  22. padding: 0 20rpx;
  23. line-height: 82rpx;
  24. color: #9a9ba1;
  25. font-size: 30rpx;
  26. width: 170rpx;
  27. }
  28. .orders-switch .item.active .txt {
  29. color: #ab956d;
  30. border-bottom: 4rpx solid #ab956d;
  31. }
  32. .no-order {
  33. width: 100%;
  34. height: auto;
  35. margin: 0 auto;
  36. }
  37. .no-order .c {
  38. width: 100%;
  39. height: auto;
  40. margin-top: 400rpx;
  41. }
  42. .no-order .c text {
  43. margin: 0 auto;
  44. display: block;
  45. width: 258rpx;
  46. height: 29rpx;
  47. line-height: 29rpx;
  48. text-align: center;
  49. font-size: 29rpx;
  50. color: #999;
  51. }
  52. .orders {
  53. height: auto;
  54. width: 100%;
  55. overflow: hidden;
  56. }
  57. .order {
  58. margin-top: 20rpx;
  59. background: #fff;
  60. padding: 16rpx 16rpx 24rpx;
  61. margin: 24rpx;
  62. border-radius: 10rpx;
  63. }
  64. .order .h {
  65. height: 83.3rpx;
  66. line-height: 83.3rpx;
  67. margin-left: 31.25rpx;
  68. padding-right: 31.25rpx;
  69. border-bottom: 1px solid #f4f4f4;
  70. font-size: 30rpx;
  71. color: #333;
  72. }
  73. .order .h .l {
  74. float: left;
  75. }
  76. .order .h .r {
  77. background-color: #09afff;
  78. /* width: 120rpx; */
  79. text-align: center;
  80. color: #fff;
  81. border-radius: 34rpx;
  82. height: 34rpx;
  83. float: right;
  84. font-size: 22rpx;
  85. line-height: 32rpx;
  86. margin-top: 20rpx;
  87. padding: 0 16rpx;
  88. }
  89. .order .goods {
  90. display: flex;
  91. /* align-items: center; */
  92. height: 170rpx;
  93. }
  94. .order .goods .img {
  95. height: 170rpx;
  96. width: 170rpx;
  97. border-radius:6rpx;
  98. background: #f4f4f4;
  99. }
  100. .order .goods .img image {
  101. height: 170rpx;
  102. width: 170rpx;
  103. }
  104. .order .goods .info {
  105. height: 145.83rpx;
  106. flex: 1;
  107. padding-left: 20rpx;
  108. }
  109. .order .goods .name {
  110. margin-top: 18rpx;
  111. display: block;
  112. /*height: 44rpx;
  113. line-height: 44rpx;*/
  114. font-size: 28rpx;
  115. }
  116. .order .goods .number {
  117. display: block;
  118. height: 37rpx;
  119. line-height: 37rpx;
  120. color: #85868A;
  121. font-size: 24rpx;
  122. margin-top: 10rpx;
  123. }
  124. .order .goods .status {
  125. width: 105rpx;
  126. color: #b4282d;
  127. font-size: 25rpx;
  128. }
  129. .order .b {
  130. font-size: 24rpx;
  131. display: flex;
  132. }
  133. .order .b .l {
  134. flex: 2;
  135. }
  136. .order .b .l view
  137. {
  138. font-size: 24rpx;
  139. height: 42rpx;
  140. line-height: 42rpx;
  141. color: #85868A;
  142. }
  143. .order .b .r view
  144. {
  145. height: 42rpx;
  146. line-height: 42rpx;
  147. }
  148. .order .b .btn {
  149. margin-top: 19rpx;
  150. height: 64.5rpx;
  151. line-height: 64.5rpx;
  152. text-align: center;
  153. padding: 0 20rpx;
  154. border-radius: 5rpx;
  155. font-size: 28rpx;
  156. color: #fff;
  157. background: #b4282d;
  158. }
  159. .order-item-operate{
  160. height: 60rpx;
  161. margin-top:20rpx;
  162. display: flex;
  163. align-items: center;
  164. justify-content: space-between;
  165. }
  166. .order-operate-wrapper{
  167. display: flex;
  168. align-items: center;
  169. justify-content: flex-end;
  170. }
  171. .order-operate-wrapper>view{
  172. height: 44rpx;
  173. width: 148rpx;
  174. line-height: 44rpx;
  175. text-align: center;
  176. border-radius: 44rpx;
  177. border: 1rpx solid #09afff;
  178. font-size: 24rpx;
  179. margin-left: 20rpx;
  180. color: #09afff;
  181. background: #E0F5FC;
  182. }
  183. .order-type{
  184. display: flex;
  185. width: 100%;
  186. justify-content: center;
  187. margin: 20rpx 0 18rpx;
  188. }
  189. .order-type .switch{
  190. display: flex;
  191. border: 1rpx solid #09aFFF;
  192. border-radius: 35rpx;
  193. }
  194. .order-type .switch .action{
  195. padding: 0rpx 24rpx;
  196. background-color: #09AFFF;
  197. border-radius: 50rpx;
  198. font-size: 28rpx;
  199. height: 50rpx;
  200. line-height: 48rpx;
  201. color: #fff;
  202. }
  203. .order-type .switch .common{
  204. font-size: 28rpx;
  205. padding: 0rpx 24rpx;
  206. height: 50rpx;
  207. line-height: 50rpx;
  208. color: #09AFFF;
  209. }
  210. .left-switch{
  211. margin-right:-12rpx;
  212. }
  213. .search-box{
  214. width:694rpx;
  215. height:54rpx;
  216. margin:0 auto;
  217. padding:0 30rpx;
  218. border-radius: 54rpx;
  219. font-size:24rpx;
  220. color: #85868A;
  221. display: flex;
  222. align-items: center;
  223. border: 1rpx solid #85868A;
  224. background: #fff;
  225. margin-bottom:18rpx;
  226. }
  227. .search-box image{
  228. margin-right:18rpx;
  229. width:28rpx;
  230. height:28rpx;
  231. }
  232. .search-box{
  233. width:694rpx;
  234. height:54rpx;
  235. margin:0 auto;
  236. padding:0 30rpx;
  237. border-radius: 54rpx;
  238. font-size:24rpx;
  239. color: #85868A;
  240. display: flex;
  241. align-items: center;
  242. border: 1rpx solid #85868A;
  243. background: #fff;
  244. margin-bottom:18rpx;
  245. }
  246. .search-box image{
  247. margin-right:18rpx;
  248. width:28rpx;
  249. height:28rpx;
  250. }
  251. .myqr{
  252. position: fixed;
  253. z-index: 999;
  254. width: 100%;
  255. text-align: center;
  256. height: auto;
  257. padding-top: 50rpx;
  258. top:0;
  259. left:0;
  260. right:0;
  261. bottom:0;
  262. }
  263. .myqr .cancel{
  264. width: 60rpx;
  265. height: 60rpx;
  266. margin-top: 30rpx;
  267. margin-left: 480rpx;
  268. }
  269. .myqr .img{
  270. width: 480rpx;
  271. }
  272. .myqr .btn{
  273. width: 120rpx;
  274. height: 120rpx;
  275. line-height: 120rpx;
  276. margin-top: 20rpx;
  277. padding: 30rpx;
  278. background: #ffffff;
  279. border-radius:60rpx;
  280. }
  281. .order-status{
  282. background-color: #09afff;
  283. text-align: center;
  284. color: #fff;
  285. border-radius: 34rpx;
  286. height: 34rpx;
  287. font-size: 22rpx;
  288. line-height: 32rpx;
  289. margin-top: 20rpx;
  290. padding: 0 16rpx;
  291. }
  292. .order-id-wrapper{
  293. display: flex;
  294. height: 42rpx;
  295. font-size: 24rpx;
  296. color: #85868A;
  297. align-items: center;
  298. margin-top: 20rpx;
  299. }
  300. .order-id-wrapper image{
  301. width:20rpx;
  302. height:20rpx;
  303. margin-left:12rpx;
  304. }
  305. .main-amount{
  306. font-size: 24rpx;
  307. font-weight: bold;
  308. }