index.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. }