index.scss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. .searchOrder {
  2. width: 100vw;
  3. min-height: 100vh;
  4. background-color: rgb(247, 247, 247);
  5. .serch-box {
  6. width: 100%;
  7. height: 84rpx;
  8. background-color: #ffffff;
  9. padding: 8rpx 32rpx;
  10. box-sizing: border-box;
  11. .search-container {
  12. width: 100%;
  13. height: 100%;
  14. background-color: #f4f4f4;
  15. border-radius: 50rpx;
  16. padding: 0 32rpx;
  17. box-sizing: border-box;
  18. @include flex(flex-start, null, null);
  19. .box-left {
  20. width: 260rpx;
  21. height: 100%;
  22. @include flex(flex-start, null, null);
  23. .picker{
  24. font-size: 48rpx;
  25. color: #000;
  26. }
  27. .search-text {
  28. flex: 1;
  29. padding-right: 19rpx;
  30. position: relative;
  31. @include flex(flex-start,null,8rpx);
  32. .text {
  33. width: 140rpx;
  34. color: #a3a3a3;
  35. font-size: 27rpx;
  36. overflow: hidden;
  37. text-overflow: ellipsis;
  38. white-space: nowrap;
  39. margin-right: 8rpx;
  40. }
  41. &::after {
  42. content: "";
  43. position: absolute;
  44. top: 50%;
  45. transform: translateY(-50%);
  46. right: 0;
  47. width: 2rpx;
  48. height: 80%;
  49. background-color: #d8d8d8;
  50. }
  51. }
  52. .search-icon {
  53. width: 56rpx;
  54. height: 100%;
  55. padding-left: 16rpx;
  56. @include flex(center,null,0);
  57. }
  58. }
  59. .box-ipt {
  60. flex: 1;
  61. font-size: 24rpx;
  62. input{
  63. caret-color: #ea5c1e;
  64. }
  65. }
  66. .box-delete{
  67. width: 40rpx;
  68. height: 100%;
  69. @include flex(center,null,0);
  70. }
  71. }
  72. }
  73. .order-container {
  74. padding: 0 32rpx 32rpx;
  75. .order-list {
  76. .order-item {
  77. width: auto;
  78. margin-top: 32rpx;
  79. padding: 32rpx;
  80. box-sizing: border-box;
  81. background-color: #ffffff;
  82. border-radius: 16rpx;
  83. display: flex;
  84. justify-content: center;
  85. gap: 24rpx;
  86. flex-direction: column;
  87. .order-number {
  88. width: 100%;
  89. @include flex(space-between);
  90. .number {
  91. font-size: 32rpx;
  92. font-weight: 700;
  93. }
  94. .number-icon {
  95. color: #999999;
  96. @include flex(center);
  97. font-size: 28rpx;
  98. text {
  99. padding-bottom: 2rpx;
  100. }
  101. }
  102. }
  103. .text-info {
  104. font-size: 28rpx;
  105. color: #999999;
  106. }
  107. .commodity-list {
  108. width: 100%;
  109. display: flex;
  110. justify-content: center;
  111. gap: 12rpx;
  112. flex-direction: column;
  113. .commodity-item {
  114. display: flex;
  115. justify-content: space-between;
  116. .item-left {
  117. display: flex;
  118. gap: 12rpx;
  119. .left-image {
  120. width: 124rpx;
  121. height: 124rpx;
  122. image {
  123. width: 100%;
  124. height: 100%;
  125. border-radius: 12rpx;
  126. }
  127. }
  128. .left-text {
  129. flex: 1;
  130. display: flex;
  131. flex-direction: column;
  132. gap: 6rpx;
  133. .text-title {
  134. color: #333333;
  135. font-size: 28rpx;
  136. }
  137. .text-price {
  138. font-size: 24rpx;
  139. color: #999999;
  140. }
  141. }
  142. }
  143. .item-right {
  144. color: #333333;
  145. font-size: 28rpx;
  146. }
  147. }
  148. }
  149. .gifts {
  150. @include flex(space-between);
  151. font-size: 28rpx;
  152. color: #333333;
  153. .gifs-right {
  154. color: #ea1717;
  155. }
  156. }
  157. .all-price {
  158. color: #333333;
  159. font-size: 28rpx;
  160. }
  161. .border-box {
  162. width: 100%;
  163. height: 2rpx;
  164. background-color: #d8d8d8;
  165. }
  166. .order-state {
  167. text-align: end;
  168. color: #999999;
  169. font-size: 28rpx;
  170. margin-top: 3rpx;
  171. }
  172. }
  173. }
  174. }
  175. .empty{
  176. width: 100%;
  177. height: 100%;
  178. margin-top: 200rpx;
  179. position: relative;
  180. }
  181. .order-empty{
  182. position: absolute;
  183. top: 0;
  184. left: 50%;
  185. transform: translateX(-50%);
  186. @include flex(center,column,32rpx);
  187. font-size: 28rpx;
  188. image{
  189. width: 320rpx;
  190. height: 320rpx;
  191. }
  192. .empty-title{
  193. color: rgba(0, 0, 0, 0.4);
  194. }
  195. }
  196. }