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

报告详情页iframe样式bug

jwyu 2 лет назад
Родитель
Сommit
48c2d83aed
3 измененных файлов с 9 добавлено и 0 удалено
  1. 3 0
      src/views/priceDriven/detail.vue
  2. 3 0
      src/views/report/ChapterDetail.vue
  3. 3 0
      src/views/report/Detail.vue

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

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

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

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

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

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