Browse Source

修改样式

lex-xin 4 months ago
parent
commit
28b7d014c3

+ 4 - 1
src/tenant/music/coursewarePlay/component/video.module.less

@@ -252,6 +252,9 @@
     .van-slider {
       margin: 13px 0;
     }
+    .van-slider__bar {
+      background-color: #FF7C97 !important;
+    }
   }
 }
 
@@ -271,6 +274,6 @@
 
 
   &.hide {
-    transform: translateX(70px);
+    transform: translateY(55px);
   }
 }

BIN
src/tenant/music/coursewarePlay/image/icon-current.png


+ 12 - 7
src/tenant/music/coursewarePlay/index.module.less

@@ -115,7 +115,9 @@
   align-items: center;
   margin-left: auto;
   height: 100%;
-  padding-right: 15px;
+  padding-right: 40px;
+  padding-top: 12px;
+  pointer-events: auto;
 
   .rightBtn {
     display: flex;
@@ -449,18 +451,21 @@
 
 
 .goPractice {
-  width: 89px;
-  height: 32px;
+  position: absolute;
+  right: 39px;
+  bottom: 12px;
+  width: 86px;
+  height: 30px;
   background: url('./image/btn_go_practice.png') no-repeat center;
   background-size: contain;
-  position: absolute;
-  right: 12px;
-  bottom: 60px;
+  // position: absolute;
+  // right: 16px;
+  // bottom: 60px;
   z-index: 11;
   transition: all .5s ease;
 
 
   &.hide {
-    transform: translateX(66px);
+    transform: translateY(55px);
   }
 }

+ 1 - 1
src/tenant/music/coursewarePlay/index.tsx

@@ -896,7 +896,7 @@ export default defineComponent({
                 }}
                 onPause={() => {
                   clearTimeout(activeData.timer)
-                  activeData.model = true
+                  // activeData.model = true
                 }}
                 onEnded={async () => {
                   const _index = popupData.activeIndex + 1