index.module.scss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. .Hot2 {
  2. position: absolute;
  3. top: 0;
  4. left: 0;
  5. width: 100%;
  6. height: 100%;
  7. z-index: 20;
  8. transition: all 0.3s;
  9. display: flex;
  10. background-color: rgba(0, 0, 0, 0.6);
  11. backdrop-filter: blur(2px);
  12. :global {
  13. .h2Main {
  14. width: 50%;
  15. height: 100%;
  16. background-size: 100% 100%;
  17. padding: 3% 3% 1% 3%;
  18. // 标题
  19. .h2Titele {
  20. padding: 0 50px;
  21. position: relative;
  22. display: inline-block;
  23. color: #eacf60;
  24. font-size: 30px;
  25. & > img {
  26. position: absolute;
  27. top: 60%;
  28. left: 0;
  29. transform: translateY(-50%);
  30. width: 40px;
  31. height: auto;
  32. }
  33. .h2TimgR {
  34. left: auto;
  35. right: 0;
  36. }
  37. }
  38. // 图文
  39. .h2TuWen {
  40. margin: 10px 0;
  41. width: 100%;
  42. height: calc(100% - 150px);
  43. overflow-y: auto;
  44. border-bottom: 1px solid transparent;
  45. &::-webkit-scrollbar {
  46. display: none;
  47. }
  48. .H2model {
  49. width: 100%;
  50. height: 200px;
  51. .H2modelSon {
  52. iframe {
  53. width: 100%;
  54. height: 100%;
  55. }
  56. }
  57. video {
  58. object-fit: cover;
  59. width: 100%;
  60. height: 100%;
  61. }
  62. }
  63. .adm-image {
  64. width: 90%;
  65. margin: 0 auto;
  66. height: auto;
  67. min-height: 80px;
  68. margin-bottom: 10px;
  69. .adm-image-tip {
  70. min-height: 80px;
  71. }
  72. img {
  73. width: 100%;
  74. height: 100%;
  75. object-fit: contain !important;
  76. max-height: 180px;
  77. }
  78. }
  79. .h2txt {
  80. font-size: 14px;
  81. line-height: 24px;
  82. color: #fffddc;
  83. p {
  84. font-family: 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB',
  85. 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif !important;
  86. margin-bottom: 10px;
  87. }
  88. h3 {
  89. color: #eacf60;
  90. font-family: 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB',
  91. 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif !important;
  92. margin-bottom: 8px;
  93. }
  94. }
  95. }
  96. .h2TuWenDuo {
  97. height: calc(100% - 115px);
  98. margin-bottom: 15px;
  99. }
  100. // 底部
  101. .h2FlooBox {
  102. width: 100%;
  103. height: 40px;
  104. display: flex;
  105. justify-content: center;
  106. margin-bottom: 10px;
  107. .h2Floo {
  108. min-width: 200px;
  109. text-align: center;
  110. max-width: 80%;
  111. height: 100%;
  112. overflow-x: auto;
  113. white-space: nowrap;
  114. display: inline-block;
  115. border-radius: 4px;
  116. background: linear-gradient(
  117. to right,
  118. rgba(0, 0, 0, 0.2),
  119. rgba(0, 0, 0, 0.5),
  120. rgba(0, 0, 0, 0.2)
  121. );
  122. &::-webkit-scrollbar {
  123. display: none;
  124. }
  125. .h2FlooRow {
  126. padding: 0 10px;
  127. display: inline-block;
  128. cursor: pointer;
  129. font-size: 16px;
  130. color: #fffddc;
  131. opacity: 0.8;
  132. line-height: 38px;
  133. }
  134. .h2FlooRowShow {
  135. font-weight: 700;
  136. opacity: 1;
  137. color: #eacf60;
  138. }
  139. }
  140. }
  141. // 返回按钮
  142. #BtnRight {
  143. position: relative;
  144. width: 36px;
  145. height: 36px;
  146. left: 50%;
  147. transform: translateX(-50%);
  148. bottom: 0px;
  149. }
  150. }
  151. .h2Right {
  152. width: 50%;
  153. height: 100%;
  154. }
  155. // 屏幕>=1200
  156. @media screen and (min-width: 1200px) {
  157. .h2Main {
  158. width: 40%;
  159. .h2Titele {
  160. font-size: 22px;
  161. }
  162. .h2TuWen {
  163. .h2txt {
  164. h3 {
  165. font-size: 12px;
  166. }
  167. p {
  168. font-size: 10px;
  169. line-height: 20px;
  170. margin-bottom: 5px;
  171. }
  172. }
  173. // .adm-image {
  174. // max-width: 60%;
  175. // }
  176. }
  177. .h2FlooBox {
  178. height: 30px;
  179. .h2Floo {
  180. max-width: 100%;
  181. min-width: 100px;
  182. .h2FlooRow {
  183. line-height: 28px;
  184. font-size: 10px;
  185. padding: 0 8px;
  186. }
  187. }
  188. }
  189. }
  190. .h2Right {
  191. width: 60%;
  192. }
  193. }
  194. }
  195. }
  196. .Hot2Ji {
  197. background: linear-gradient(
  198. to right,
  199. rgba(43, 16, 16, 1),
  200. rgba(43, 16, 16, 0.9),
  201. rgba(43, 16, 16, 0.2)
  202. );
  203. }