Browse Source

修改内容列表样式

zengyicheng 2 years ago
parent
commit
f0db123c55
1 changed files with 5 additions and 6 deletions
  1. 5 6
      src/components/study.vue

+ 5 - 6
src/components/study.vue

@@ -3259,10 +3259,8 @@ export default {
     document.scrollingElement.scrollTop = 0;
     window.addEventListener("resize", () => {
       var a = document.getElementsByClassName("box_course")[0].offsetHeight;
-      document.getElementsByClassName("vedioList")[0].style.height =
-        a + "px";
-      document.getElementsByClassName("navBox")[0].style.height =
-        a - 40 + "px";
+      document.getElementsByClassName("vedioList")[0].style.height = a + "px";
+      document.getElementsByClassName("navBox")[0].style.height = a - 40 + "px";
     });
 
     setTimeout(() => {
@@ -4134,7 +4132,8 @@ export default {
   width: 112px;
 }
 .listNoVedio {
-  margin-top: 10px;
+  margin: 0 0 0 30px;
+  width: 97%;
 }
 .video-player >>> .video-js {
   height: 100%;
@@ -4232,7 +4231,7 @@ export default {
 .study_top::-webkit-scrollbar-track,
 .textContent::-webkit-scrollbar {
   border-radius: 10px;
-  background-color: #B8BDC9;
+  background-color: #b8bdc9;
 }
 
 /*定义滑块 内阴影+圆角*/