index.less 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. }
  33. :first-child {
  34. text {
  35. font-size: 18px;
  36. }
  37. text:nth-child(3) {
  38. color: #f00;
  39. }
  40. }
  41. }
  42. &__diamondinfo {
  43. display: flex;
  44. flex-direction: column;
  45. align-content: center;
  46. margin-top: 10px;
  47. text {
  48. padding: 10px 15px;
  49. font-size: 14px;
  50. text-align: left;
  51. width: 100%;
  52. border-bottom: 1px solid #f0f0f0;
  53. }
  54. :first-child {
  55. padding: 10px 5px;
  56. font-size: 20px;
  57. font-weight: bold;
  58. }
  59. }
  60. .button-view {
  61. border-radius: 10px;
  62. width: 100%;
  63. padding: 15px 0px;
  64. display: flex;
  65. flex-direction: row;
  66. align-content: center;
  67. align-items: center;
  68. justify-content: space-between;
  69. van-button {
  70. width: 95%;
  71. padding-left: 2.5%;
  72. }
  73. }
  74. }