index.less 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. page {
  2. background: #f6f6f6;
  3. }
  4. .box {
  5. background: #ffffff;
  6. margin: 30rpx;
  7. padding: 30rpx;
  8. border-radius: 30rpx;
  9. position: relative;
  10. .code {
  11. width: 100%;
  12. text-align: center;
  13. margin: 30rpx 0;
  14. .code-img {
  15. width: 300rpx;
  16. height: 300rpx;
  17. }
  18. }
  19. .order-details {
  20. font-size: 30rpx;
  21. margin-top: 20rpx;
  22. color: #666666;
  23. display: flex;
  24. .number {
  25. color: black;
  26. }
  27. }
  28. .names {
  29. font-size: 30rpx;
  30. }
  31. .taxi {
  32. display: flex;
  33. margin: 0rpx 0 0 10rpx;
  34. position: absolute;
  35. bottom: 20rpx;
  36. right: 30rpx;
  37. .taxi-box {
  38. margin-right: 40rpx;
  39. .taxi-name {
  40. text-align: center;
  41. }
  42. .taxi-phone {
  43. text-align: center;
  44. }
  45. }
  46. .taxi-boxs {
  47. margin-right: 0rpx;
  48. .taxi-name {
  49. text-align: center;
  50. }
  51. .taxi-phone {
  52. text-align: center;
  53. }
  54. }
  55. }
  56. .time {
  57. margin-top: 20rpx;
  58. font-size: 26rpx;
  59. width: 450rpx;
  60. }
  61. .order-times {
  62. width: 90%;
  63. background: #FFFFFF;
  64. border: 1rpx solid #FFE300;
  65. border-radius: 30rpx;
  66. margin: 20rpx 5% 0rpx 5%;
  67. display: flex;
  68. justify-content: space-between;
  69. padding: 10rpx 30rpx;
  70. .order-date {
  71. display: flex;
  72. .date {
  73. margin-right: 20rpx;
  74. }
  75. }
  76. .price {
  77. color: red;
  78. }
  79. }
  80. .order-number {
  81. display: flex;
  82. justify-content: space-between;
  83. .number {
  84. font-size: 30rpx;
  85. }
  86. .state {
  87. font-size: 30rpx;
  88. }
  89. }
  90. .order-txt {
  91. display: flex;
  92. margin: 20rpx 0rpx 0 0;
  93. .order-image {
  94. width: 240rpx;
  95. height: 180rpx;
  96. margin-right: 20rpx;
  97. }
  98. .order-name {
  99. margin-top: 5rpx;
  100. .name {
  101. overflow: hidden; //一定要写
  102. text-overflow: ellipsis; //超出省略号
  103. display: -webkit-box; //一定要写
  104. -webkit-line-clamp: 1; //控制行数
  105. -webkit-box-orient: vertical; //一定要写
  106. }
  107. .order-price {
  108. color: red;
  109. margin-top: 20rpx;
  110. }
  111. .order-time {
  112. margin-top: 20rpx;
  113. }
  114. }
  115. }
  116. .order-order {
  117. display: flex;
  118. justify-content: flex-end;
  119. margin-top: 20rpx;
  120. .bu {
  121. border: 1rpx solid #BBBBBB !important;
  122. border-radius: 24rpx !important;
  123. font-size: 30rpx !important;
  124. padding: 0rpx 20rpx !important;
  125. margin-right: 20rpx !important;
  126. background: #ffffff !important;
  127. }
  128. .service {
  129. border: 1rpx solid #BBBBBB;
  130. border-radius: 24rpx;
  131. font-size: 30rpx;
  132. padding: 20rpx 20rpx;
  133. margin-right: 20rpx;
  134. }
  135. .pay {
  136. // border: 1rpx solid #BBBBBB;
  137. border-radius: 24rpx;
  138. font-size: 30rpx;
  139. padding: 20rpx 0;
  140. width: 180rpx;
  141. text-align: center;
  142. background: #46a9a4;
  143. }
  144. }
  145. }
  146. .bommon {
  147. position: fixed;
  148. bottom: 0;
  149. width: 100%;
  150. display: flex;
  151. justify-content: space-between;
  152. padding: 10rpx 30rpx;
  153. background: #ffffff;
  154. .bommon-price {
  155. color: red;
  156. margin: auto 30rpx;
  157. }
  158. .bommon-pay {
  159. background: #fee104;
  160. border-radius: 30rpx;
  161. font-size: 32rpx;
  162. padding: 20rpx 50rpx;
  163. }
  164. }