index.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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: 210px;
  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: 10px 5px;
  32. width: 100%;
  33. color: #333;
  34. font-size: 20px;
  35. }
  36. .attribute-info__item, .content__item{
  37. width: 100%;
  38. padding-left: 15px;
  39. height: 44px;
  40. border-bottom: 1px solid #f0f0f0;
  41. display: flex;
  42. flex-direction: row;
  43. justify-content: start;
  44. align-items: center;
  45. align-content: center;
  46. .title {
  47. font-size: 14px;
  48. width: 80px;
  49. color: #666;
  50. }
  51. .value {
  52. font-size: 14px;
  53. color: #333;
  54. }
  55. }
  56. .content {
  57. width: 95%;
  58. background-color: #f0f0f0;
  59. border-radius: 10px;
  60. padding: 10px 0px;
  61. &__item {
  62. height: 35px;
  63. padding-left: 5px;
  64. &__step {
  65. display: flex;
  66. flex-direction: row;
  67. justify-content: start;
  68. align-items: center;
  69. align-content: center;
  70. width: 100%;
  71. margin: 5px 0px;
  72. &__item {
  73. display: flex;
  74. flex-direction: column;
  75. align-items: center;
  76. align-content: center;
  77. padding-top: 10px;
  78. margin-bottom: 5px;
  79. text {
  80. font-size: 13px;
  81. padding: 2.5px;
  82. width: 100px;
  83. text-align: center;
  84. }
  85. }
  86. }
  87. }
  88. .title {
  89. font-size: 14px;
  90. width: 80px;
  91. color: #666;
  92. }
  93. .value {
  94. font-size: 14px;
  95. color: #333;
  96. }
  97. }
  98. }
  99. .price-info {
  100. width: 100%;
  101. display: flex;
  102. flex-direction: column;
  103. align-content: center;
  104. align-items: center;
  105. padding: 10px 0px;
  106. border-bottom: 5px solid #f0f0f0;
  107. .content__item {
  108. display: flex;
  109. flex-direction: row;
  110. justify-content: start;
  111. align-items: center;
  112. align-content: center;
  113. width: 95%;
  114. height: 30px;
  115. text {
  116. color: #333;
  117. padding: 5px 0px;
  118. }
  119. &__price {
  120. font-size: 18px;
  121. }
  122. &__rate {
  123. font-size: 14px;
  124. margin-left: 15px;
  125. }
  126. &__name {
  127. font-size: 16px;
  128. padding: 5px 0px;
  129. }
  130. &__weight, &__gprice, &__price, &__ordertime {
  131. width: 50%;
  132. font-size: 13px;
  133. }
  134. }
  135. }
  136. .button-view {
  137. border-radius: 10px;
  138. width: 95%;
  139. padding-top: 15px;
  140. display: flex;
  141. flex-direction: row;
  142. align-content: center;
  143. align-items: center;
  144. justify-content: space-between;
  145. van-button {
  146. width: 90%;
  147. }
  148. }
  149. }