Browse Source

报告详情页iframe样式bug

jwyu 2 years ago
parent
commit
48c2d83aed

+ 3 - 0
src/views/priceDriven/detail.vue

@@ -557,6 +557,9 @@ onUnmounted(() => {
         font-size: 18px !important;
         line-height: 1.8 !important;
       }
+      ::v-deep(iframe){
+        width: 100% !important;
+      }
     }
   }
   .right-aside-box {

+ 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

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