html, body { height: 100%; } .l-box { width: 100%; height: 100%; overflow: hidden; } .l-footer { bottom: 24px; left: 0; position: fixed; right: 0; display: flex; flex-flow: column; -webkit-box-align: center; align-items: center; } .lf-wrap { width: 900px; height: 220px; background: rgba(0,0,0,.4); border-radius: 4px; box-sizing: border-box; overflow: hidden; padding: 30px; position: relative; } .swiper { width: 100%; height: 100%; } .vn-op { font-size: 12px; background: rgba(255, 255, 255, 0.15); user-select: none; border-radius: 5px; cursor: pointer; height: 30px; /* margin: 0 6px; */ /* padding: 0 10px; */ color: rgb(199, 199, 199); /* Center slide text vertically */ display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; transition-property:all; } .vn-op.cur { background: #0c78b1; color: #fff; } .swiper{ --swiper-theme-color: #00ff33;/* 设置Swiper风格 */ --swiper-navigation-color: #0c78b1;/* 单独设置按钮颜色 */ --swiper-navigation-size: 20px;/* 设置按钮大小 */ } .vr-main { margin-top: 16px; user-select: none; } .vm-op { border: 2px solid #fff; border-radius: 5px; cursor: pointer; height: 90px; overflow: hidden; width: 135px; opacity: .7; /* Center slide text vertically */ display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; transition-property:all; } .vm-op.cur { border-color: #0c78b1; opacity: 1; } .vm-op .w { background-position: 50%; background-size: cover; height: 100%; position: relative; width: 100%; } .vm-op .text { display: flex; flex-flow: row; -webkit-box-pack: center; justify-content: center; -webkit-box-align: center; align-items: center; background-color: rgba(0,0,0,.5); bottom: 0; height: 18px; left: 0; position: absolute; width: 100%; } .vm-op .text .t { font-size: 12px; color: #fff; line-height: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .scoped-fixed-rt { position: absolute; top: 0; right: 0; width: 300px; height: 200px; background: url(../images/card.jpg) no-repeat; border-radius: 0 0 0 20px; } .vr-more { color: #f6b64c; font-weight: bold; font-size: 16px; margin: 0; margin-bottom: 6px; padding: 0; border: 0; outline: none; background: none; border-radius: 0; -webkit-appearance: none; display: none; } @media (max-width: 767px) { .vr-more { display: block; } .scoped-fixed-rt { display: none; } .lf-wrap { width: 100%; height: 144px; padding: 10px; } .vr-main { margin-top: 10px; } .vn-op { padding: 0; } .vn-op.cur { background: #f6b64c; } .vm-op { width: 56px; height: 56px; } .vm-op.cur { border-color: #f6b64c; } .swiper-button-next, .swiper-button-prev { display: none; } } .scoped-fixed-left { position: fixed; left: 0; top: 50%; transform: translate(0, -50%); cursor: pointer; user-select: none; background-color: rgba(0, 0, 0, 0.7); color: #fff; width: 20px; padding: 10px; border-radius: 0 6px 6px 0; }