Просмотр исходного кода

生词预览播放按钮无法点击 生词过长时滚动条

natasha 6 дней назад
Родитель
Сommit
8b3a3e83d5

+ 3 - 2
src/views/book/courseware/preview/components/new_word/NewWordPreview.vue

@@ -2231,6 +2231,7 @@ export default {
 
             .strock-play-box,
             .playStorkes-btn {
+              z-index: 2 !important; // 1时点不了 所以只能为2
               width: 9px !important;
               height: 9px !important;
             }
@@ -2407,8 +2408,8 @@ export default {
 
   .hz-box {
     display: flex;
-    flex-flow: wrap;
-    width: max-content;
+    max-width: 223px;
+    overflow-x: auto;
   }
 
   .writeTop-item {

+ 1 - 1
src/views/book/courseware/preview/components/new_word/components/Strockplay.vue

@@ -109,7 +109,7 @@ export default {
     position: absolute;
     top: 0;
     right: 0;
-    z-index: 1;
+    z-index: 2; // 1时点不了 所以只能为2
     cursor: pointer;
   }
 }

+ 1 - 1
src/views/book/courseware/preview/components/new_word/components/Strockplayredline.vue

@@ -125,7 +125,7 @@ export default {
   position: absolute;
   top: 0;
   right: 0;
-  z-index: 1;
+  z-index: 2; // 1时点不了 所以只能为2
   display: flex;
   align-items: center;
   justify-content: center;