index.module.scss 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  1. .A4dance {
  2. background-size: 100% 100%;
  3. :global {
  4. video {
  5. width: 100%;
  6. height: 100%;
  7. object-fit: fill;
  8. }
  9. .A4base {
  10. width: 100%;
  11. height: 100%;
  12. position: absolute;
  13. z-index: 11;
  14. opacity: 1;
  15. transition: opacity 0.5s;
  16. background-color: rgba(0, 0, 0, 0.4);
  17. .A4BIcon {
  18. position: absolute;
  19. top: -60px;
  20. left: 50%;
  21. transform: translateX(-50%);
  22. width: 30px;
  23. z-index: 10;
  24. cursor: pointer;
  25. }
  26. & > img {
  27. position: absolute;
  28. top: 0px;
  29. width: 650px;
  30. max-width: 90%;
  31. left: 50%;
  32. transform: translateX(-50%);
  33. }
  34. .A4baseBtn {
  35. position: absolute;
  36. bottom: 40px;
  37. left: 50%;
  38. transform: translateX(-50%);
  39. cursor: pointer;
  40. width: 100px;
  41. height: auto;
  42. z-index: 10;
  43. & > img {
  44. width: 100%;
  45. }
  46. .A4Btxt {
  47. position: absolute;
  48. top: 0;
  49. left: 0;
  50. color: #fffddc;
  51. width: 100%;
  52. height: 100%;
  53. display: flex;
  54. justify-content: center;
  55. align-items: center;
  56. }
  57. .A4Bxian {
  58. position: absolute;
  59. bottom: -10px;
  60. left: 0;
  61. width: 100%;
  62. padding: 0 10px;
  63. height: 2px;
  64. & > div {
  65. width: 100%;
  66. height: 100%;
  67. background-color: rgba(231, 214, 142, 0.6);
  68. & > div {
  69. width: 0%;
  70. height: 100%;
  71. background-color: #fffddc;
  72. }
  73. }
  74. }
  75. }
  76. }
  77. .A4baseHide {
  78. opacity: 0;
  79. pointer-events: none;
  80. }
  81. .pvBoxShow {
  82. opacity: 1;
  83. pointer-events: auto;
  84. }
  85. // 主要内容
  86. .pvBox {
  87. width: 100%;
  88. height: 100%;
  89. position: relative;
  90. opacity: 1;
  91. transition: opacity 0.5s;
  92. // 热点
  93. .pvHot {
  94. cursor: pointer;
  95. position: absolute;
  96. z-index: 30;
  97. display: inline-block;
  98. height: 30px;
  99. width: auto;
  100. & > img {
  101. position: relative;
  102. top: 0;
  103. left: 0;
  104. transition: all 0.3s;
  105. }
  106. .pvHotBase {
  107. position: absolute;
  108. top: 0;
  109. left: 0;
  110. }
  111. .pvHotHover {
  112. opacity: 0;
  113. }
  114. &:hover {
  115. .pvHotBase {
  116. opacity: 0;
  117. }
  118. .pvHotHover {
  119. opacity: 1;
  120. }
  121. }
  122. }
  123. // 底部
  124. .pvfloor {
  125. position: absolute;
  126. bottom: 0;
  127. left: 50%;
  128. transform: translateX(-50%);
  129. display: flex;
  130. z-index: 31;
  131. .pvflRow {
  132. width: 60px;
  133. height: 70px;
  134. position: relative;
  135. cursor: pointer;
  136. .pvflR1 {
  137. position: absolute;
  138. width: 100%;
  139. height: 100%;
  140. z-index: 3;
  141. top: 0;
  142. left: 0;
  143. background-size: 100% 100%;
  144. transition: all 0.3s;
  145. background-image: url('../../assets/img/Vector1.png');
  146. }
  147. .pvflR2 {
  148. position: absolute;
  149. width: 100%;
  150. height: 100%;
  151. z-index: 2;
  152. top: 0;
  153. left: 0;
  154. text-align: center;
  155. & > img {
  156. width: 50px;
  157. height: auto;
  158. }
  159. }
  160. .pvflR3 {
  161. opacity: 0.3;
  162. position: absolute;
  163. bottom: 3px;
  164. left: 50%;
  165. transform: translateX(-50%);
  166. width: 56px;
  167. z-index: 4;
  168. color: #fffddc;
  169. font-size: 14px;
  170. transition: all 0.3s;
  171. text-align: center;
  172. }
  173. &:hover {
  174. .pvflR1 {
  175. z-index: 1;
  176. background-image: url('../../assets/img/Vector2.png');
  177. }
  178. .pvflR3 {
  179. opacity: 1;
  180. background-image: url('../../assets/img/danceAc.png');
  181. background-size: 100% auto;
  182. background-repeat: no-repeat;
  183. background-position: center;
  184. }
  185. }
  186. }
  187. .pvflRowAc {
  188. .pvflR1 {
  189. z-index: 1;
  190. background-image: url('../../assets/img/Vector2.png');
  191. }
  192. .pvflR3 {
  193. opacity: 1;
  194. background-image: url('../../assets/img/danceAc.png');
  195. background-size: 100% auto;
  196. background-repeat: no-repeat;
  197. background-position: center;
  198. }
  199. }
  200. }
  201. .pvBtn {
  202. position: absolute;
  203. right: 20px;
  204. top: 50%;
  205. transform: translateY(-50%);
  206. cursor: pointer;
  207. width: 120px;
  208. height: auto;
  209. z-index: 10;
  210. & > img {
  211. width: 100%;
  212. }
  213. & > div {
  214. position: absolute;
  215. top: 0;
  216. left: 0;
  217. width: 100%;
  218. height: 100%;
  219. display: flex;
  220. justify-content: center;
  221. align-items: center;
  222. color: #fffddc;
  223. font-size: 16px;
  224. & > span {
  225. padding-left: 5px;
  226. font-size: 14px;
  227. }
  228. }
  229. }
  230. .pvRRbtn {
  231. position: absolute;
  232. right: 25px;
  233. bottom: 25px;
  234. z-index: 10;
  235. display: flex;
  236. & > div {
  237. background-size: 100% 100%;
  238. transition: all 0.3s;
  239. width: 50px;
  240. height: 50px;
  241. cursor: pointer;
  242. }
  243. .pvRRbtn1 {
  244. margin-right: 5px;
  245. background-image: url('../../assets/img/icon-walk.png');
  246. }
  247. .pvRRbtn2 {
  248. background-image: url('../../assets/img/icon-more.png');
  249. }
  250. }
  251. }
  252. .pvBoxHide {
  253. opacity: 0;
  254. }
  255. // 最后一个长视频
  256. .A4last {
  257. width: 100%;
  258. height: 100%;
  259. position: relative;
  260. opacity: 0;
  261. pointer-events: none;
  262. z-index: 30;
  263. transition: all 0.5;
  264. .A3videoLastBtn {
  265. position: absolute;
  266. width: 50px;
  267. height: 50px;
  268. cursor: pointer;
  269. bottom: 20px;
  270. right: 20px;
  271. background-size: 100% 100%;
  272. }
  273. }
  274. .A4lastShow {
  275. opacity: 1;
  276. pointer-events: auto;
  277. }
  278. // 中间的8个动画
  279. .A4floorBox {
  280. position: absolute;
  281. z-index: 30;
  282. opacity: 1;
  283. transition: opacity 0.5s;
  284. top: 0;
  285. left: 0;
  286. width: 100%;
  287. height: 100%;
  288. background-size: 100% 100%;
  289. background-color: rgba(0, 0, 0, 0.4);
  290. .A4fMain {
  291. position: absolute;
  292. top: 45%;
  293. left: 50%;
  294. transform: translate(-50%, -50%);
  295. width: 460px;
  296. height: 260px;
  297. // 边框遮盖
  298. .A4fMainKK {
  299. width: 100%;
  300. height: 100%;
  301. position: absolute;
  302. top: 0;
  303. left: 0;
  304. width: 100%;
  305. height: 100%;
  306. z-index: 10;
  307. pointer-events: none;
  308. }
  309. .A4fMback {
  310. position: absolute;
  311. top: 50%;
  312. transform: translateY(-50%);
  313. right: -50px;
  314. width: 30px;
  315. height: auto;
  316. cursor: pointer;
  317. }
  318. .A4fRow {
  319. position: absolute;
  320. top: 0;
  321. left: 0;
  322. transition: opacity 0.5s;
  323. width: 100%;
  324. height: 100%;
  325. padding: 8px 10px;
  326. }
  327. }
  328. }
  329. .A4floorBoxHide {
  330. opacity: 0;
  331. pointer-events: none;
  332. }
  333. // 点击 热点 云气图
  334. .A4hotBox {
  335. width: 100%;
  336. height: 100%;
  337. position: absolute;
  338. top: 0;
  339. left: 0;
  340. opacity: 0;
  341. pointer-events: none;
  342. z-index: 32;
  343. transition: all 0.5s;
  344. }
  345. .A4hotBoxShow {
  346. opacity: 1;
  347. pointer-events: auto;
  348. }
  349. // 其他热点
  350. .A4othHot {
  351. position: absolute;
  352. top: 0;
  353. left: 0;
  354. z-index: 33;
  355. width: 100%;
  356. height: 100%;
  357. }
  358. // 屏幕>=1200
  359. @media screen and (min-width: 1200px) {
  360. .A4base {
  361. .A4baseBtn {
  362. & > div {
  363. transition: all 0.3s;
  364. &:hover {
  365. color: #ead98f;
  366. }
  367. }
  368. }
  369. }
  370. .pvBox {
  371. .pvBtn {
  372. & > div {
  373. transition: all 0.3s;
  374. &:hover {
  375. color: #ead98f;
  376. }
  377. }
  378. }
  379. .pvRRbtn {
  380. .pvRRbtn1 {
  381. &:hover {
  382. background-image: url('../../assets/img/icon-walk1.png');
  383. }
  384. }
  385. .pvRRbtn2 {
  386. &:hover {
  387. background-image: url('../../assets/img/icon-more1.png');
  388. }
  389. }
  390. }
  391. }
  392. }
  393. }
  394. }