iframe嵌套页面

Lvtianfang
吕天方 2 years ago
parent c619ccb2c3
commit 6151f3e21e

@ -2,7 +2,7 @@
<div class="ifram-view" :style="iframViewStyle"> <div class="ifram-view" :style="iframViewStyle">
<!-- <span>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</span> --> <!-- <span>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</span> -->
<!-- <iframe src="https://dev-mssm-liaoning.imian.org.cn/ggfw/#/firmContent/drugInfo" frameborder="0" style="width: 100%;height: 100%;"></iframe> --> <!-- <iframe src="https://dev-mssm-liaoning.imian.org.cn/ggfw/#/firmContent/drugInfo" frameborder="0" style="width: 100%;height: 100%;"></iframe> -->
<iframe src="http://localhost:81/#/firmContent/drugInfo" frameborder="0" style="width: 100%;height: 100%;"></iframe> <iframe :src="url" frameborder="0" style="width: 100%;height: 100%;"></iframe>
</div> </div>
</template> </template>
<script> <script>
@ -11,7 +11,8 @@ export default {
return { return {
iframViewStyle:{ iframViewStyle:{
height:"", height:"",
} },
url:`http://localhost:80/productinformation?b=${2}&token=${'UT:27da0d51-6ec8-4688-8a7e-5ecfb6daf716'}`
} }
}, },
methods:{ methods:{
@ -31,6 +32,5 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.ifram-view { .ifram-view {
background-color: #fff; background-color: #fff;
overflow-y: scroll;
} }
</style> </style>

Loading…
Cancel
Save