_templatePage.scss 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. .templatePage {
  2. position: relative;
  3. width: 100%;
  4. height: 100%;
  5. // display: flex;
  6. // flex-direction: column;
  7. &__header {
  8. position: relative;
  9. padding-top: em(60);
  10. padding-left: em(30);
  11. }
  12. &__body {
  13. flex: 1;
  14. display: flex;
  15. flex-direction: column;
  16. justify-content: center;
  17. align-items: center;
  18. position: relative;
  19. margin-top: em(32);
  20. }
  21. &__footer {
  22. position: relative;
  23. padding-top: em(80);
  24. }
  25. &__title {
  26. position: relative;
  27. padding-bottom: em(20);
  28. width: em(500);
  29. }
  30. &__swiper {
  31. position: relative;
  32. width: em(500);
  33. height: em(500);
  34. }
  35. &__slide {
  36. position: relative;
  37. width: em(500);
  38. height: em(500);
  39. border-radius: em(20);
  40. border: 1px solid #4B5283;
  41. overflow: hidden;
  42. img {
  43. height: 100%;
  44. object-fit: cover;
  45. }
  46. }
  47. .swiper-container {
  48. overflow: visible!important;
  49. .swiper-slide {
  50. transition: all 0.5s ease-in-out;
  51. margin-right: em(30);
  52. }
  53. .swiper-slide:not(.swiper-slide-active) {
  54. filter: grayscale(0.6);
  55. opacity: 0.8;
  56. }
  57. .swiper-slide.swiper-slide-active {
  58. filter: grayscale(0);
  59. opacity: 1;
  60. }
  61. }
  62. &__pagination {
  63. position: relative;
  64. display: flex;
  65. justify-content: center;
  66. align-items: center;
  67. padding-top: em(10);
  68. .pagination__bullet {
  69. position: relative;
  70. width: em(10);
  71. height: em(10);
  72. border-radius: 100%;
  73. background-color: #FFFFFF;
  74. margin-left: em(5);
  75. margin-right: em(5);
  76. &.swiper-pagination-bullet-active {
  77. background-color: #4B5283;
  78. }
  79. }
  80. }
  81. .btn__back {
  82. cursor: pointer;
  83. position: relative;
  84. width: em(233);
  85. }
  86. .btn__confirm {
  87. cursor: pointer;
  88. position: relative;
  89. width: em(250);
  90. margin-left: auto;
  91. margin-right: auto;
  92. }
  93. }