.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; width: 15%; } // 底部 .pvfloor { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; .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: 65px; 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; display: flex; justify-content: center; align-items: center; color: #733c00; background-size: 100% 100%; font-size: 20px; padding-bottom: 4px; } } .A4lastShow { opacity: 1; pointer-events: auto; } // 竖屏 @media all and (orientation: portrait) { // video { // object-fit: none; // } } // 屏幕>=1200 @media screen and (min-width: 1200px) { .A4base { & > img { width: 1200px; } .A4baseBtn { bottom: 100px; width: 160px; & > div { font-size: 22px; transition: all 0.3s; &:hover { color: #ead98f; } } .A4BIcon { width: 50px; top: -100px; } } } .pvBox { .pvBtn { width: 160px; right: 40px; & > div { transition: all 0.3s; font-size: 20px; &:hover { color: #ead98f; } } } // 底部 .pvfloor { .pvflRow { width: 100px; height: 110px; .pvflR2 { & > img { width: 90px; } } .pvflR3 { width: 96px; font-size: 22px; } } } .pvRRbtn { right: 40px; bottom: 40px; z-index: 10; & > div { background-size: 100% 100%; width: 70px; height: 70px; cursor: pointer; } .pvRRbtn1 { &:hover { background-image: url('../../assets/img/icon-walk1.png'); } } .pvRRbtn2 { &:hover { background-image: url('../../assets/img/icon-more1.png'); } } } } } } }