Kaynağa Gözat

表格居中

natasha 2 hafta önce
ebeveyn
işleme
26288a6935

+ 1 - 0
src/views/book/courseware/preview/components/article/PhraseModelChs.vue

@@ -1479,6 +1479,7 @@ export default {
     max-width: 100%;
     margin-top: -196px;
     overflow: auto;
+    box-shadow: 0 4px 16px rgba(0, 0, 0, 15%);
 
     //   width: 260px;
     //   height: 200px;

+ 1 - 0
src/views/book/courseware/preview/components/article/Voicefullscreen.vue

@@ -1274,6 +1274,7 @@ export default {
     top: 50%;
     z-index: 9999;
     margin-top: -196px;
+    box-shadow: 0 4px 16px rgba(0, 0, 0, 15%);
   }
 
   &.bg1 {

+ 1 - 0
src/views/book/courseware/preview/components/article/WordModelChs.vue

@@ -1257,6 +1257,7 @@ export default {
   max-width: 100%;
   margin-top: -196px;
   overflow: auto;
+  box-shadow: 0 4px 16px rgba(0, 0, 0, 15%);
 
   //   width: 260px;
   //   height: 200px;

+ 9 - 1
src/views/book/courseware/preview/components/notes/NotesPreview.vue

@@ -70,7 +70,15 @@
                     </p>
                   </template>
 
-                  <span class="NPC-notes-con-text" v-html="item.con" v-else></span>
+                  <span
+                    class="NPC-notes-con-text"
+                    v-html="item.con"
+                    v-else
+                    :style="{
+                      color:
+                        data.unified_attrib && data.unified_attrib.topic_color ? data.unified_attrib.topic_color : '',
+                    }"
+                  ></span>
                   <span class="multilingual" v-if="showLang">
                     {{
                       multilingualTextList[getLang()] &&

+ 1 - 0
src/views/book/courseware/preview/components/table/TablePreview.vue

@@ -413,6 +413,7 @@ $border-color: #e6e6e6;
     color: #262626;
 
     .table-box {
+      margin: 0 auto;
       overflow: auto;
     }