index.less 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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. :first-child {
  37. text {
  38. font-size: 16px;
  39. }
  40. text:nth-child(3) {
  41. color: #f00;
  42. }
  43. }
  44. .container__top__row__step {
  45. display: flex;
  46. flex-direction: row;
  47. justify-content: start;
  48. align-items: center;
  49. align-content: center;
  50. margin: 0px 10px;
  51. &__item {
  52. display: flex;
  53. flex-direction: column;
  54. align-items: center;
  55. align-content: center;
  56. padding-top: 10px;
  57. margin-bottom: 5px;
  58. .value {
  59. font-size: 12px;
  60. padding: 2.5px 5px;
  61. text-align: center;
  62. }
  63. }
  64. }
  65. }
  66. &__diamondinfo {
  67. display: flex;
  68. flex-direction: column;
  69. align-content: center;
  70. margin-top: 10px;
  71. text {
  72. padding: 10px 15px;
  73. font-size: 14px;
  74. text-align: left;
  75. width: 100%;
  76. border-bottom: 1px solid #f0f0f0;
  77. }
  78. :first-child {
  79. padding: 10px 5px;
  80. font-size: 20px;
  81. font-weight: bold;
  82. }
  83. }
  84. .button-view {
  85. border-radius: 10px;
  86. width: 100%;
  87. padding: 15px 0px;
  88. display: flex;
  89. flex-direction: row;
  90. align-content: center;
  91. align-items: center;
  92. justify-content: space-between;
  93. van-button {
  94. width: 95%;
  95. padding-left: 2.5%;
  96. }
  97. }
  98. }
  99. .popup-view {
  100. display: flex;
  101. flex-direction: column;
  102. align-items: center;
  103. align-content: center;
  104. .title {
  105. font-size: 18px;
  106. font-weight: bold;
  107. color: #333;
  108. text-align: center;
  109. padding: 15px 0px;
  110. }
  111. .message {
  112. font-size: 13px;
  113. color: #333;
  114. text-align: center;
  115. padding-bottom: 15px;
  116. }
  117. van-field {
  118. width: 80%;
  119. }
  120. .button-view {
  121. display: flex;
  122. flex-direction: row;
  123. justify-content: space-between;
  124. align-items: center;
  125. align-content: center;
  126. padding-top: 15px;
  127. width: 80%;
  128. van-button {
  129. width: 45%;
  130. }
  131. }
  132. }