| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- .VideoList {
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- background: url('../../../../assets/img/layoutBg.png') no-repeat;
- background-size: 100% 100%;
- :global {
- .swiper_container {
- width: 100%;
- height: 70%;
- perspective: 1500px;
- .swiper-slide-shadow-coverflow {
- background-image: none;
- }
- .swiper-button-arr-custom {
- width: 50px;
- height: 65px;
- &:after {
- content: '';
- }
- & > img {
- width: 50px;
- height: 55px;
- object-fit: cover;
- }
- }
- .itemCard {
- border-radius: 20px;
- margin: 0 auto;
- width: 70%;
- height: 100%;
- position: relative;
- cursor: pointer;
- transition: transform 0.3s ease;
- .name {
- width: 100%;
- height: 7%;
- text-align: center;
- font-weight: 600;
- font-size: 30px;
- color: #9d0800;
- letter-spacing: 5px;
- }
- .itemImage {
- width: 100%;
- height: 93%;
- & > video {
- border-radius: 20px;
- width: 100%;
- height: 100%;
- object-fit: contain;
- transition: all 0.3s ease;
- }
- }
- }
- }
- .swiper-pagination {
- bottom: 85px !important;
- .swiper-pagination-bullet-active {
- background-color: #9d0800;
- }
- }
- .videoModal {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.8);
- display: none;
- justify-content: center;
- align-items: center;
- z-index: 1000;
- .close {
- position: absolute;
- top: 20px;
- right: 20px;
- cursor: pointer;
- }
- .content {
- width: 100vw;
- height: 100vh;
- .custom-media-controller {
- width: 100%;
- height: 100%;
- & > video {
- width: 100%;
- height: 100%;
- object-fit: contain;
- }
- & > media-control-bar {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 70%;
- gap: 10px;
- margin: 0 auto;
- }
- media-play-button {
- width: 40px;
- height: 40px;
- border-radius: 50%;
- background-color: rgba(167, 31, 30, 1);
- border: none;
- display: flex;
- align-self: flex-start;
- }
- .progress {
- width: 70%;
- height: 50px;
- display: flex;
- align-items: center;
- flex-direction: column;
- & > media-time-range {
- width: 100%;
- height: 10px;
- --media-range-bar-color: rgba(167, 31, 30, 1);
- --media-range-track-background: rgba(230, 203, 160, 1); // 未播放部分背景
- border-radius: 5px;
- --media-range-track-fill-background: rgba(167, 31, 30, 1);
- }
- .time {
- display: flex;
- justify-content: space-between;
- width: 98%;
- align-items: center;
- media-time-display,
- media-duration-display {
- font-size: 16px;
- background: none;
- color: rgba(230, 203, 160, 1);
- }
- }
- cursor: pointer;
- }
- }
- }
- }
- .active {
- display: flex;
- }
- }
- }
|