|
@@ -5,21 +5,17 @@
|
|
|
overflow: hidden;
|
|
|
--plyr-color-main: var(--van-primary);
|
|
|
--plyr-range-track-height: 3px;
|
|
|
- // :global {
|
|
|
- // // 更改动画样式
|
|
|
- // .van-swipe__track {
|
|
|
- // height: 100% !important;
|
|
|
- // transform: translateY(0px) !important;
|
|
|
- // position: relative;
|
|
|
- // }
|
|
|
- // }
|
|
|
}
|
|
|
+
|
|
|
.coursewarePlay {
|
|
|
position: relative;
|
|
|
height: 100vh;
|
|
|
margin: 0 auto;
|
|
|
- overflow: hidden;
|
|
|
+ transform-style: preserve-3d;
|
|
|
+ perspective: (32rem);
|
|
|
+ transition-timing-function: initial;
|
|
|
}
|
|
|
+
|
|
|
.playModel {
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
@@ -29,6 +25,7 @@
|
|
|
box-shadow: inset 0px 0px 164px 0px rgba(0, 0, 0, 1);
|
|
|
pointer-events: none;
|
|
|
}
|
|
|
+
|
|
|
.headerContainer {
|
|
|
position: fixed;
|
|
|
top: 0;
|
|
@@ -41,6 +38,7 @@
|
|
|
background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent);
|
|
|
transition: transform 0.5s;
|
|
|
}
|
|
|
+
|
|
|
.backBtn {
|
|
|
color: #fff;
|
|
|
height: 26px;
|
|
@@ -49,12 +47,14 @@
|
|
|
align-items: center;
|
|
|
z-index: 10;
|
|
|
padding: 4px 10px 4px 15px;
|
|
|
+
|
|
|
:global {
|
|
|
.van-icon {
|
|
|
margin-right: 8px;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.menu {
|
|
|
position: absolute;
|
|
|
width: 100%;
|
|
@@ -65,22 +65,27 @@
|
|
|
font-size: 12px;
|
|
|
color: #fff;
|
|
|
}
|
|
|
+
|
|
|
.tabsContent {
|
|
|
width: 100vw;
|
|
|
height: 100vh;
|
|
|
+
|
|
|
:global {
|
|
|
.van-tabs__wrap {
|
|
|
display: none !important;
|
|
|
}
|
|
|
+
|
|
|
.van-tabs__content {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.swipeItem {
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
+
|
|
|
.itemDiv {
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
@@ -88,11 +93,16 @@
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
background-color: #000;
|
|
|
- transition: all 3s;
|
|
|
+ transition-duration: .8s;
|
|
|
+ transform-style: preserve-3d;
|
|
|
+ transition-property: transform, opacity, height;
|
|
|
+ backface-visibility: hidden;
|
|
|
+ overflow: hidden;
|
|
|
video {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
}
|
|
|
+
|
|
|
img {
|
|
|
display: block;
|
|
|
width: 100%;
|
|
@@ -100,6 +110,7 @@
|
|
|
object-fit: contain;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.fullBtn {
|
|
|
width: 38px;
|
|
|
height: 46px;
|
|
@@ -110,31 +121,36 @@
|
|
|
justify-content: space-evenly;
|
|
|
overflow: hidden;
|
|
|
white-space: nowrap;
|
|
|
+
|
|
|
&:active {
|
|
|
background: rgba(255, 255, 255, 0.2);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.rightFixedBtns {
|
|
|
position: absolute;
|
|
|
top: 50%;
|
|
|
transform: translateY(-50%);
|
|
|
right: 12px;
|
|
|
z-index: 10;
|
|
|
-
|
|
|
+
|
|
|
.btnsBottom {
|
|
|
margin-top: 10px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.leftFixedBtns {
|
|
|
position: absolute;
|
|
|
top: 50%;
|
|
|
transform: translateY(-50%);
|
|
|
left: 12px;
|
|
|
z-index: 10;
|
|
|
+
|
|
|
.prePoint {
|
|
|
margin-bottom: 8px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.btnsWrap {
|
|
|
background: rgba(51, 51, 51, 0.4);
|
|
|
border-radius: 6px;
|
|
@@ -149,6 +165,7 @@
|
|
|
z-index: 10;
|
|
|
background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent);
|
|
|
transition: transform 0.5s;
|
|
|
+
|
|
|
.time {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
@@ -156,14 +173,17 @@
|
|
|
font-size: 10px;
|
|
|
padding: 4px 20px;
|
|
|
}
|
|
|
+
|
|
|
.slider {
|
|
|
padding: 8px 20px;
|
|
|
+
|
|
|
:global {
|
|
|
.van-slider__button {
|
|
|
background: var(--van-primary);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.actions {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
@@ -171,10 +191,12 @@
|
|
|
font-size: 12px;
|
|
|
padding: 0 10px 4px 20px;
|
|
|
align-items: center;
|
|
|
+
|
|
|
.actionBtn {
|
|
|
display: flex;
|
|
|
}
|
|
|
- .actionBtn > img {
|
|
|
+
|
|
|
+ .actionBtn>img {
|
|
|
width: 30px;
|
|
|
height: 30px;
|
|
|
display: block;
|
|
@@ -182,17 +204,22 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.popup {
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
}
|
|
|
+
|
|
|
.overlayClass {
|
|
|
--van-overlay-background: transparent;
|
|
|
}
|
|
|
+
|
|
|
:global {
|
|
|
+
|
|
|
.top-enter-active,
|
|
|
.top-leave-active {
|
|
|
transition: transform 0.5s;
|
|
|
}
|
|
|
+
|
|
|
.top-enter-from,
|
|
|
.top-leave-to {
|
|
|
transform: translateY(-100%);
|
|
@@ -202,6 +229,7 @@
|
|
|
.left-leave-active {
|
|
|
transition: all 0.5s;
|
|
|
}
|
|
|
+
|
|
|
.left-enter-from,
|
|
|
.left-leave-to {
|
|
|
left: -60px;
|
|
@@ -241,6 +269,7 @@
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
}
|
|
|
+
|
|
|
.playRecordTime {
|
|
|
width: 90px;
|
|
|
margin-right: 10px;
|
|
@@ -252,6 +281,7 @@
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
color: #fff;
|
|
|
+
|
|
|
.timeLoad {
|
|
|
width: 5px;
|
|
|
height: 5px;
|
|
@@ -267,21 +297,27 @@
|
|
|
0% {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
+
|
|
|
50% {
|
|
|
opacity: 0.5;
|
|
|
}
|
|
|
+
|
|
|
100% {
|
|
|
opacity: 1;
|
|
|
}
|
|
|
}
|
|
|
-.swiperContainer{
|
|
|
- :global{
|
|
|
- .swiper-wrapper{
|
|
|
+
|
|
|
+.swiperContainer {
|
|
|
+ :global {
|
|
|
+ .swiper-wrapper {
|
|
|
height: 100vh;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-.noActive{
|
|
|
- transform: rotate(-180deg) translate3d(0, 0, -800px);
|
|
|
+.nextItem {
|
|
|
+ transform: translate3d(0, 0, -800px) rotateX(-180deg);
|
|
|
}
|
|
|
+.preItem{
|
|
|
+ transform: translate3d(0, 0, -800px) rotateX(180deg);
|
|
|
+}
|