浏览代码

Merge branch 'iframe-fix' into debug

jwyu 2 年之前
父节点
当前提交
23329fef94
共有 3 个文件被更改,包括 14 次插入5 次删除
  1. 8 5
      src/views/priceDriven/detail.vue
  2. 3 0
      src/views/report/ChapterDetail.vue
  3. 3 0
      src/views/report/Detail.vue

+ 8 - 5
src/views/priceDriven/detail.vue

@@ -547,15 +547,18 @@ onUnmounted(() => {
     .rich-section {
       padding: 20px;
       ::v-deep(img) {
-        width: 100%;
+        width: 100% !important;
       }
       ::v-deep(span) {
-        font-size: 18px;
-        line-height: 1.8;
+        font-size: 18px !important;
+        line-height: 1.8 !important;
       }
       ::v-deep(p) {
-        font-size: 18px;
-        line-height: 1.8;
+        font-size: 18px !important;
+        line-height: 1.8 !important;
+      }
+      ::v-deep(iframe){
+        width: 100% !important;
       }
     }
   }

+ 3 - 0
src/views/report/ChapterDetail.vue

@@ -518,6 +518,9 @@ const posterParams=computed(()=>{
                 font-size: 18px !important;
                 line-height: 1.8 !important;
             }
+            :deep(iframe){
+                width: 100% !important;
+            }
         }
     }
     .no-auth-wrap{

+ 3 - 0
src/views/report/Detail.vue

@@ -545,6 +545,9 @@ const formatTitle=(e)=>{
                 font-size: 18px !important;
                 line-height: 1.8 !important;
             }
+            :deep(iframe){
+                width: 100% !important;
+            }
         }
     }
     .no-auth-wrap{