Browse Source

优化优化

master
dai 3 years ago
parent
commit
c5b54f916d
  1. 5
      src/assets/scss/main-shuju.scss
  2. 1
      src/views/main-shuju/main-content.vue

5
src/assets/scss/main-shuju.scss

@ -10,8 +10,9 @@ body {
.m-iframe { .m-iframe {
position: relative; position: relative;
width: 100vw; box-sizing: content-box;
height: calc(100vh - 55px); width: calc(100% + 20px);
// height: calc(100vh - 55px);
margin: -10px; margin: -10px;
z-index: 100; z-index: 100;
} }

1
src/views/main-shuju/main-content.vue

@ -18,6 +18,7 @@
height="100%" height="100%"
frameborder="0" frameborder="0"
scrolling="yes" scrolling="yes"
:style="{ height: $store.state.fixed1920.height - 100 + 'px' }"
/> />
</template> </template>
<keep-alive v-show="!tabIsIframe($router.currentRoute.meta.iframeURL)"> <keep-alive v-show="!tabIsIframe($router.currentRoute.meta.iframeURL)">

Loading…
Cancel
Save