index.less 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. .container {
  2. display: flex;
  3. flex-direction: column;
  4. width: 100%;
  5. align-content: center;
  6. .banner {
  7. height: 210px;
  8. width: 100%;
  9. .swiper-item, image {
  10. width: 100%;
  11. }
  12. }
  13. &__top {
  14. display: flex;
  15. flex-direction: column;
  16. align-content: center;
  17. width: 100%;
  18. padding: 10px 0px;
  19. &__row {
  20. display: flex;
  21. flex-direction: row;
  22. align-items: center;
  23. align-content: center;
  24. justify-content: space-between;
  25. padding: 2.5px 10px;
  26. text {
  27. font-size: 14px;
  28. color: #333;
  29. text-align: left;
  30. width: 100%;
  31. }
  32. .qty {
  33. text-align: center;
  34. }
  35. }
  36. .price, :first-child {
  37. text {
  38. font-size: 16px;
  39. font-weight: bold;
  40. }
  41. }
  42. .container__top__row__step {
  43. display: flex;
  44. white-space: nowrap;
  45. flex-direction: row;
  46. justify-content: start;
  47. align-items: center;
  48. align-content: center;
  49. margin: 0px 10px;
  50. width: 96%;
  51. &__item {
  52. display: inline-flex;
  53. flex-direction: column;
  54. align-items: center;
  55. align-content: center;
  56. padding-top: 5px;
  57. .value {
  58. font-size: 12px;
  59. padding: 5px 5px;
  60. text-align: center;
  61. }
  62. }
  63. }
  64. }
  65. &__diamondinfo {
  66. display: flex;
  67. flex-direction: column;
  68. align-content: center;
  69. margin-top: 10px;
  70. text {
  71. padding: 10px 15px;
  72. font-size: 14px;
  73. text-align: left;
  74. width: 100%;
  75. border-bottom: 1px solid #f0f0f0;
  76. }
  77. :first-child {
  78. padding: 10px 5px;
  79. font-size: 20px;
  80. font-weight: bold;
  81. }
  82. }
  83. .button-view {
  84. border-radius: 10px;
  85. width: 100%;
  86. padding: 15px 0px;
  87. display: flex;
  88. flex-direction: row;
  89. align-content: center;
  90. align-items: center;
  91. justify-content: space-between;
  92. van-button {
  93. width: 95%;
  94. padding-left: 2.5%;
  95. }
  96. }
  97. }
  98. .popup-view {
  99. display: flex;
  100. flex-direction: column;
  101. align-items: center;
  102. align-content: center;
  103. .title {
  104. font-size: 18px;
  105. font-weight: bold;
  106. color: #333;
  107. text-align: center;
  108. padding: 15px 0px;
  109. }
  110. .message {
  111. font-size: 13px;
  112. color: #333;
  113. text-align: center;
  114. padding-bottom: 15px;
  115. }
  116. van-field {
  117. width: 80%;
  118. }
  119. .button-view {
  120. display: flex;
  121. flex-direction: row;
  122. justify-content: space-between;
  123. align-items: center;
  124. align-content: center;
  125. padding-top: 15px;
  126. width: 80%;
  127. van-button {
  128. width: 45%;
  129. }
  130. }
  131. }