index.module.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. .B1CardM {
  2. position: absolute;
  3. top: 0;
  4. left: 0;
  5. z-index: 40;
  6. background-size: 100% 100%;
  7. width: 100%;
  8. height: 100%;
  9. background-color: rgba(28, 21, 12, 0.70);
  10. backdrop-filter: blur(10px);
  11. :global {
  12. .B1Cback {
  13. z-index: 10;
  14. position: absolute;
  15. top: 20px;
  16. right: 20px;
  17. }
  18. .swiper {
  19. position: absolute;
  20. left: 50%;
  21. top: 50%;
  22. transform: translate(-50%, -50%);
  23. width: 90%;
  24. max-width: 400px;
  25. height: auto;
  26. }
  27. .swiper-3d .swiper-slide-shadow {
  28. background: rgba(0, 0, 0, 0);
  29. }
  30. .swiper-slide {
  31. color: #fff;
  32. padding: 8% 8%;
  33. .slideBac {
  34. pointer-events: none;
  35. position: absolute;
  36. z-index: 3;
  37. top: 0%;
  38. left: 0%;
  39. width: 100%;
  40. height: 100%;
  41. background-size: 100% 100%;
  42. }
  43. p {
  44. padding: 0 14%;
  45. position: absolute;
  46. left: 0;
  47. bottom: 10%;
  48. width: 100%;
  49. color: #fff;
  50. line-height: 18px;
  51. overflow-y: auto;
  52. letter-spacing: 2px;
  53. max-height: 30%;
  54. }
  55. &>img {
  56. width: 100%;
  57. height: calc(100% - 170px);
  58. }
  59. }
  60. // .swiper-slide-active {}
  61. .B1Cname {
  62. position: absolute;
  63. top: 8%;
  64. left: 50%;
  65. transform: translateX(-50%);
  66. z-index: 10;
  67. color: var(--themeColor2);
  68. font-size: 24px;
  69. letter-spacing: 2px;
  70. font-weight: 700;
  71. }
  72. .B1Cbtn {
  73. position: absolute;
  74. bottom: 30px;
  75. left: 50%;
  76. z-index: 10;
  77. transform: translateX(-50%);
  78. width: 200px;
  79. height: 50px;
  80. &>img {
  81. width: 100%;
  82. height: 100%;
  83. object-fit: fill;
  84. }
  85. &>div {
  86. position: absolute;
  87. top: 0;
  88. left: 0;
  89. width: 100%;
  90. height: 100%;
  91. color: var(--themeColor);
  92. letter-spacing: 2px;
  93. display: flex;
  94. justify-content: center;
  95. align-items: center;
  96. font-size: 20px;
  97. font-weight: 700;
  98. &>p {
  99. font-size: 24px;
  100. position: relative;
  101. top: 4px;
  102. }
  103. }
  104. }
  105. }
  106. }