index.module.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. .detail {
  2. width: 100%;
  3. height: 100%;
  4. position: relative;
  5. :global {
  6. .selectContainner {
  7. position: absolute;
  8. z-index: 1;
  9. top: 50%;
  10. left: 50%;
  11. transform: translate(-50%, -50%);
  12. width: 170px;
  13. height: 100%;
  14. display: flex;
  15. flex-direction: column;
  16. justify-content: center;
  17. gap: 30px;
  18. .detail_line {
  19. position: absolute;
  20. top: 42%;
  21. left: 73%;
  22. transform: translate(-50%, -50%);
  23. width: 4px;
  24. height: 84%;
  25. &>img {
  26. transition: all 0.5s;
  27. position: absolute;
  28. top: 0;
  29. left: 0;
  30. width: 100%;
  31. height: 100%;
  32. object-fit: contain;
  33. }
  34. }
  35. .detail_top,
  36. .detail_bottom {
  37. width: 100%;
  38. height: fit-content;
  39. display: flex;
  40. align-items: center;
  41. justify-content: space-between;
  42. gap: 10px;
  43. .topL {
  44. width: 100px;
  45. height: fit-content;
  46. display: flex;
  47. flex-direction: column;
  48. gap: 10px;
  49. .item {
  50. width: 100px;
  51. height: 27px;
  52. font-size: 18px;
  53. line-height: 15px;
  54. text-align: right;
  55. color: rgba(255, 233, 182, 1);
  56. cursor: pointer;
  57. position: relative;
  58. transition: all 0.5s;
  59. .selectedBg {
  60. width: 120px;
  61. height: 100%;
  62. position: absolute;
  63. top: -30%;
  64. left: 31%;
  65. z-index: -1;
  66. transition: all 0.5s;
  67. &>img {
  68. width: 100%;
  69. height: 100%;
  70. object-fit: contain;
  71. }
  72. }
  73. }
  74. .active {
  75. color: rgb(255, 252, 246);
  76. text-shadow: 3px 0px 10px rgba(255, 255, 255, 1);
  77. }
  78. }
  79. .topR {
  80. width: 40px;
  81. height: 100%;
  82. display: flex;
  83. align-items: center;
  84. .split {
  85. width: 2px;
  86. height: 100%;
  87. }
  88. .txt {
  89. width: 40px;
  90. font-size: 18px;
  91. writing-mode: vertical-rl;
  92. text-orientation: upright;
  93. text-align: right;
  94. color: rgba(255, 252, 246, 0.8);
  95. transition: all 0.5s;
  96. }
  97. .txtActive {
  98. color: rgba(255, 233, 182, 1);
  99. }
  100. }
  101. }
  102. }
  103. }
  104. }
  105. // ---------英文版
  106. .detailEn {
  107. :global {
  108. .topL .item {
  109. height: auto !important;
  110. font-size: 16px !important;
  111. }
  112. }
  113. }