index.less 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. .container {
  2. width: 100%;
  3. display: flex;
  4. flex-direction: column;
  5. align-content: center;
  6. align-items: center;
  7. .topView {
  8. position: sticky;
  9. top: 0;
  10. z-index: 999;
  11. width: 100%;
  12. }
  13. .banner {
  14. height: 240px;
  15. width: 100%;
  16. .swiper-item, image {
  17. width: 100%;
  18. }
  19. }
  20. .attribute-info {
  21. border-top: 10px solid #f0f0f0;
  22. }
  23. .attribute-info, .seller-info {
  24. width: 100%;
  25. display: flex;
  26. flex-direction: column;
  27. align-content: center;
  28. align-items: center;
  29. margin-bottom: 10px;
  30. .title {
  31. padding: 5px;
  32. width: 100%;
  33. color: #333;
  34. font-size: 20px;
  35. }
  36. .attribute-info__item, .content__item {
  37. padding-left: 15px;
  38. border-bottom: 1px solid #f0f0f0;
  39. display: flex;
  40. flex-direction: row;
  41. justify-content: start;
  42. align-items: center;
  43. align-content: center;
  44. .title {
  45. font-size: 14px;
  46. width: 80px;
  47. color: #666;
  48. }
  49. .value {
  50. font-size: 14px;
  51. color: #333;
  52. }
  53. }
  54. .attribute-info__item {
  55. height: 44px;
  56. width: 100%;
  57. }
  58. .content {
  59. width: 95%;
  60. background-color: #f0f0f0;
  61. border-radius: 10px;
  62. padding: 5px 0px;
  63. &__item {
  64. padding-left: 5px;
  65. &__step {
  66. display: flex;
  67. flex-direction: row;
  68. justify-content: start;
  69. align-items: center;
  70. align-content: center;
  71. padding: 0px 2.5px;
  72. white-space: nowrap;
  73. width: 98%;
  74. &__item {
  75. display: inline-flex;
  76. flex-direction: column;
  77. align-items: center;
  78. align-content: center;
  79. text {
  80. font-size: 13px;
  81. padding: 2.5px;
  82. text-align: center;
  83. }
  84. }
  85. }
  86. }
  87. .title {
  88. font-size: 14px;
  89. width: 80px;
  90. color: #666;
  91. }
  92. .value {
  93. font-size: 14px;
  94. color: #333;
  95. }
  96. }
  97. }
  98. .seller-info {
  99. .content {
  100. &__item {
  101. .title {
  102. width: 50px;
  103. }
  104. }
  105. }
  106. }
  107. .price-info {
  108. width: 100%;
  109. display: flex;
  110. flex-direction: column;
  111. align-content: center;
  112. align-items: center;
  113. padding: 10px 0px;
  114. border-bottom: 5px solid #f0f0f0;
  115. .content__item {
  116. display: flex;
  117. flex-direction: row;
  118. justify-content: start;
  119. align-items: center;
  120. align-content: center;
  121. width: 95%;
  122. height: 30px;
  123. text {
  124. color: #333;
  125. padding: 5px 0px;
  126. }
  127. &__price {
  128. font-size: 18px;
  129. }
  130. &__rate {
  131. font-size: 14px;
  132. margin-left: 15px;
  133. }
  134. &__name {
  135. font-size: 16px;
  136. padding: 5px 0px;
  137. }
  138. &__weight, &__gprice, &__price, &__ordertime {
  139. width: 50%;
  140. font-size: 13px;
  141. }
  142. }
  143. }
  144. .operator-view {
  145. width: 95%;
  146. padding-top: 15px;
  147. display: flex;
  148. flex-direction: row;
  149. align-content: center;
  150. align-items: center;
  151. justify-content: space-between;
  152. .button-view {
  153. display: flex;
  154. flex-direction: row;
  155. justify-content: space-between;
  156. width: 90%;
  157. van-button {
  158. width: 48%;
  159. }
  160. }
  161. }
  162. }
  163. .popup-view {
  164. display: flex;
  165. flex-direction: column;
  166. align-items: center;
  167. align-content: center;
  168. .title {
  169. font-size: 18px;
  170. font-weight: bold;
  171. color: #333;
  172. text-align: center;
  173. padding: 15px 0px;
  174. }
  175. .message {
  176. font-size: 13px;
  177. color: #333;
  178. text-align: center;
  179. padding-bottom: 15px;
  180. }
  181. van-field {
  182. width: 90%;
  183. }
  184. .button-view {
  185. display: flex;
  186. flex-direction: row;
  187. justify-content: space-between;
  188. align-items: center;
  189. align-content: center;
  190. padding-top: 15px;
  191. width: 90%;
  192. van-button {
  193. width: 45%;
  194. }
  195. }
  196. }