index.module.scss 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  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. width: 15%;
  98. }
  99. // 底部
  100. .pvfloor {
  101. position: absolute;
  102. bottom: 0;
  103. left: 50%;
  104. transform: translateX(-50%);
  105. display: flex;
  106. .pvflRow {
  107. width: 60px;
  108. height: 70px;
  109. position: relative;
  110. cursor: pointer;
  111. .pvflR1 {
  112. position: absolute;
  113. width: 100%;
  114. height: 100%;
  115. z-index: 3;
  116. top: 0;
  117. left: 0;
  118. background-size: 100% 100%;
  119. transition: all 0.3s;
  120. background-image: url('../../assets/img/Vector1.png');
  121. }
  122. .pvflR2 {
  123. position: absolute;
  124. width: 100%;
  125. height: 100%;
  126. z-index: 2;
  127. top: 0;
  128. left: 0;
  129. text-align: center;
  130. & > img {
  131. width: 50px;
  132. height: auto;
  133. }
  134. }
  135. .pvflR3 {
  136. opacity: 0.3;
  137. position: absolute;
  138. bottom: 3px;
  139. left: 50%;
  140. transform: translateX(-50%);
  141. width: 56px;
  142. z-index: 4;
  143. color: #fffddc;
  144. font-size: 14px;
  145. transition: all 0.3s;
  146. text-align: center;
  147. }
  148. &:hover {
  149. .pvflR1 {
  150. z-index: 1;
  151. background-image: url('../../assets/img/Vector2.png');
  152. }
  153. .pvflR3 {
  154. opacity: 1;
  155. background-image: url('../../assets/img/danceAc.png');
  156. background-size: 100% auto;
  157. background-repeat: no-repeat;
  158. background-position: center;
  159. }
  160. }
  161. }
  162. .pvflRowAc {
  163. .pvflR1 {
  164. z-index: 1;
  165. background-image: url('../../assets/img/Vector2.png');
  166. }
  167. .pvflR3 {
  168. opacity: 1;
  169. background-image: url('../../assets/img/danceAc.png');
  170. background-size: 100% auto;
  171. background-repeat: no-repeat;
  172. background-position: center;
  173. }
  174. }
  175. }
  176. .pvBtn {
  177. position: absolute;
  178. right: 20px;
  179. top: 50%;
  180. transform: translateY(-50%);
  181. cursor: pointer;
  182. width: 120px;
  183. height: auto;
  184. z-index: 10;
  185. & > img {
  186. width: 100%;
  187. }
  188. & > div {
  189. position: absolute;
  190. top: 0;
  191. left: 0;
  192. width: 100%;
  193. height: 100%;
  194. display: flex;
  195. justify-content: center;
  196. align-items: center;
  197. color: #fffddc;
  198. font-size: 16px;
  199. & > span {
  200. padding-left: 5px;
  201. font-size: 14px;
  202. }
  203. }
  204. }
  205. .pvRRbtn {
  206. position: absolute;
  207. right: 25px;
  208. bottom: 65px;
  209. z-index: 10;
  210. display: flex;
  211. & > div {
  212. background-size: 100% 100%;
  213. transition: all 0.3s;
  214. width: 50px;
  215. height: 50px;
  216. cursor: pointer;
  217. }
  218. .pvRRbtn1 {
  219. margin-right: 5px;
  220. background-image: url('../../assets/img/icon-walk.png');
  221. }
  222. .pvRRbtn2 {
  223. background-image: url('../../assets/img/icon-more.png');
  224. }
  225. }
  226. }
  227. .pvBoxHide {
  228. opacity: 0;
  229. }
  230. // 最后一个长视频
  231. .A4last {
  232. width: 100%;
  233. height: 100%;
  234. position: relative;
  235. opacity: 0;
  236. pointer-events: none;
  237. z-index: 30;
  238. transition: all 0.5;
  239. .A3videoLastBtn {
  240. position: absolute;
  241. width: 50px;
  242. height: 50px;
  243. cursor: pointer;
  244. bottom: 20px;
  245. right: 20px;
  246. display: flex;
  247. justify-content: center;
  248. align-items: center;
  249. color: #733c00;
  250. background-size: 100% 100%;
  251. font-size: 20px;
  252. padding-bottom: 4px;
  253. }
  254. }
  255. .A4lastShow {
  256. opacity: 1;
  257. pointer-events: auto;
  258. }
  259. // 竖屏
  260. @media all and (orientation: portrait) {
  261. // video {
  262. // object-fit: none;
  263. // }
  264. }
  265. // 屏幕>=1200
  266. @media screen and (min-width: 1200px) {
  267. .A4base {
  268. & > img {
  269. width: 1200px;
  270. }
  271. .A4baseBtn {
  272. bottom: 100px;
  273. width: 160px;
  274. & > div {
  275. font-size: 22px;
  276. transition: all 0.3s;
  277. &:hover {
  278. color: #ead98f;
  279. }
  280. }
  281. .A4BIcon {
  282. width: 50px;
  283. top: -100px;
  284. }
  285. }
  286. }
  287. .pvBox {
  288. .pvBtn {
  289. width: 160px;
  290. right: 40px;
  291. & > div {
  292. transition: all 0.3s;
  293. font-size: 20px;
  294. &:hover {
  295. color: #ead98f;
  296. }
  297. }
  298. }
  299. // 底部
  300. .pvfloor {
  301. .pvflRow {
  302. width: 100px;
  303. height: 110px;
  304. .pvflR2 {
  305. & > img {
  306. width: 90px;
  307. }
  308. }
  309. .pvflR3 {
  310. width: 96px;
  311. font-size: 22px;
  312. }
  313. }
  314. }
  315. .pvRRbtn {
  316. right: 40px;
  317. bottom: 40px;
  318. z-index: 10;
  319. & > div {
  320. background-size: 100% 100%;
  321. width: 70px;
  322. height: 70px;
  323. cursor: pointer;
  324. }
  325. .pvRRbtn1 {
  326. &:hover {
  327. background-image: url('../../assets/img/icon-walk1.png');
  328. }
  329. }
  330. .pvRRbtn2 {
  331. &:hover {
  332. background-image: url('../../assets/img/icon-more1.png');
  333. }
  334. }
  335. }
  336. }
  337. }
  338. }
  339. }