.A4dance { background-size: 100% 100%; :global { video { width: 100%; height: 100%; object-fit: fill; } .A4base { width: 100%; height: 100%; position: absolute; z-index: 11; opacity: 1; transition: opacity 0.5s; background-color: rgba(0, 0, 0, 0.4); .A4BIcon { position: absolute; top: -60px; left: 50%; transform: translateX(-50%); width: 30px; z-index: 10; cursor: pointer; } & > img { position: absolute; top: 0px; width: 650px; max-width: 90%; left: 50%; transform: translateX(-50%); } .A4baseBtn { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); cursor: pointer; width: 100px; height: auto; z-index: 10; & > img { width: 100%; } .A4Btxt { position: absolute; top: 0; left: 0; color: #fffddc; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; } .A4Bxian { position: absolute; bottom: -10px; left: 0; width: 100%; padding: 0 10px; height: 2px; & > div { width: 100%; height: 100%; background-color: rgba(231, 214, 142, 0.6); & > div { width: 0%; height: 100%; background-color: #fffddc; } } } } } .A4baseHide { opacity: 0; pointer-events: none; } .pvBoxShow { opacity: 1; pointer-events: auto; } // 主要内容 .pvBox { width: 100%; height: 100%; position: relative; opacity: 1; transition: opacity 0.5s; // 热点 .pvHot { cursor: pointer; position: absolute; z-index: 30; display: inline-block; height: 30px; width: auto; & > img { position: relative; top: 0; left: 0; transition: all 0.3s; } .pvHotBase { position: absolute; top: 0; left: 0; } .pvHotHover { opacity: 0; } &:hover { .pvHotBase { opacity: 0; } .pvHotHover { opacity: 1; } } } // 底部 .pvfloor { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; z-index: 31; .pvflRow { width: 60px; height: 70px; position: relative; cursor: pointer; .pvflR1 { position: absolute; width: 100%; height: 100%; z-index: 3; top: 0; left: 0; background-size: 100% 100%; transition: all 0.3s; background-image: url('../../assets/img/Vector1.png'); } .pvflR2 { position: absolute; width: 100%; height: 100%; z-index: 2; top: 0; left: 0; text-align: center; & > img { width: 50px; height: auto; } } .pvflR3 { opacity: 0.3; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); width: 56px; z-index: 4; color: #fffddc; font-size: 14px; transition: all 0.3s; text-align: center; } &:hover { .pvflR1 { z-index: 1; background-image: url('../../assets/img/Vector2.png'); } .pvflR3 { opacity: 1; background-image: url('../../assets/img/danceAc.png'); background-size: 100% auto; background-repeat: no-repeat; background-position: center; } } } .pvflRowAc { .pvflR1 { z-index: 1; background-image: url('../../assets/img/Vector2.png'); } .pvflR3 { opacity: 1; background-image: url('../../assets/img/danceAc.png'); background-size: 100% auto; background-repeat: no-repeat; background-position: center; } } } .pvBtn { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); cursor: pointer; width: 120px; height: auto; z-index: 10; & > img { width: 100%; } & > div { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; color: #fffddc; font-size: 16px; & > span { padding-left: 5px; font-size: 14px; } } } .pvRRbtn { position: absolute; right: 25px; bottom: 25px; z-index: 10; display: flex; & > div { background-size: 100% 100%; transition: all 0.3s; width: 50px; height: 50px; cursor: pointer; } .pvRRbtn1 { margin-right: 5px; background-image: url('../../assets/img/icon-walk.png'); } .pvRRbtn2 { background-image: url('../../assets/img/icon-more.png'); } } } .pvBoxHide { opacity: 0; } // 最后一个长视频 .A4last { width: 100%; height: 100%; position: relative; opacity: 0; pointer-events: none; z-index: 30; transition: all 0.5; .A3videoLastBtn { position: absolute; width: 50px; height: 50px; cursor: pointer; bottom: 20px; right: 20px; background-size: 100% 100%; } } .A4lastShow { opacity: 1; pointer-events: auto; } // 中间的8个动画 .A4floorBox { position: absolute; z-index: 30; opacity: 1; transition: opacity 0.5s; top: 0; left: 0; width: 100%; height: 100%; background-size: 100% 100%; background-color: rgba(0, 0, 0, 0.4); .A4fMain { position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%); width: 460px; height: 260px; // 边框遮盖 .A4fMainKK { width: 100%; height: 100%; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; pointer-events: none; } .A4fMback { position: absolute; top: 50%; transform: translateY(-50%); right: -50px; width: 30px; height: auto; cursor: pointer; } .A4fRow { position: absolute; top: 0; left: 0; transition: opacity 0.5s; width: 100%; height: 100%; padding: 8px 10px; } } } .A4floorBoxHide { opacity: 0; pointer-events: none; } // 点击 热点 云气图 .A4hotBox { width: 100%; height: 100%; position: absolute; top: 0; left: 0; opacity: 0; pointer-events: none; z-index: 32; transition: all 0.5s; } .A4hotBoxShow { opacity: 1; pointer-events: auto; } // 其他热点 .A4othHot { position: absolute; top: 0; left: 0; z-index: 33; width: 100%; height: 100%; } // 屏幕>=1200 @media screen and (min-width: 1200px) { .A4base { .A4baseBtn { & > div { transition: all 0.3s; &:hover { color: #ead98f; } } } } .pvBox { .pvBtn { & > div { transition: all 0.3s; &:hover { color: #ead98f; } } } .pvRRbtn { .pvRRbtn1 { &:hover { background-image: url('../../assets/img/icon-walk1.png'); } } .pvRRbtn2 { &:hover { background-image: url('../../assets/img/icon-more1.png'); } } } } } } }