Commit 82301c3d by liangzhen

IFRAME样式

1 parent 6ed6e0be
<template> <template>
<div> <div>
<div id="parentElement" v-show="false">{{id}}</div> <div id="parentElement" v-show="false">{{id}}</div>
<iframe :src="zjIframe" frameborder="0" style="width:100vw;height:100vh;" id="iframe" ></iframe> <iframe :src="zjIframe" frameborder="0" id="iframe" ></iframe>
</div> </div>
</template> </template>
...@@ -28,9 +28,9 @@ export default { ...@@ -28,9 +28,9 @@ export default {
</script> </script>
<style> <style>
#iframeId{ #iframe{
width: 100%; width: 100%;
height: 100vh; height:86vh;
} }
</style> </style>
\ No newline at end of file
<template> <template>
<div> <div>
<!-- <iframe :src="iframeURL" frameborder="0" style="width:100vw;height:100vh;" id="iframe" ></iframe> --> <!-- <iframe :src="iframeURL" frameborder="0" style="width:100vw;height:100vh;" id="iframe" ></iframe> -->
<iframe :src="zjIframe" frameborder="0" style="width:100vw;height:100vh;" id="iframe" ></iframe> <iframe :src="zjIframe" frameborder="0" id="iframe" ></iframe>
</div> </div>
</template> </template>
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
#iframeId{ #iframe{
width: 100%; width: 100%;
height: 100vh; height:86vh;
} }
</style> </style>
\ No newline at end of file
<template> <template>
<div> <div>
<iframe :src="zjIframe" frameborder="0" style="width:100vw;height:100vh;" id="iframe" ></iframe> <iframe :src="zjIframe" frameborder="0" class="zjIfame" id="iframe" ></iframe>
</div> </div>
</template> </template>
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
#iframeId{ #iframe{
width: 100%; width: 100%;
height: 100vh; height:86vh;
} }
</style> </style>
\ No newline at end of file
<template> <template>
<div> <div>
<iframe :src="zjIframe" frameborder="0" style="width:100vw;height:100vh;" id="iframe" ></iframe> <iframe :src="zjIframe" frameborder="0" id="iframe" ></iframe>
</div> </div>
</template> </template>
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
#iframeId{ #iframe{
width: 100%; width: 100%;
height: 100vh; height:86vh;
} }
</style> </style>
\ No newline at end of file
<template> <template>
<div> <div>
<iframe :src="zjIframe" frameborder="0" style="width:100vw;height:100vh;" id="iframe" ></iframe> <iframe :src="zjIframe" frameborder="0" id="iframe" ></iframe>
</div> </div>
</template> </template>
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
#iframeId{ #iframe{
width: 100%; width: 100%;
height: 100vh; height:86vh;
} }
</style> </style>
\ No newline at end of file
<template> <template>
<div> <div>
<iframe :src="zjIframe" frameborder="0" style="width:100vw;height:100vh;" id="iframe" ></iframe> <iframe :src="zjIframe" frameborder="0" id="iframe" ></iframe>
</div> </div>
</template> </template>
...@@ -20,7 +20,7 @@ export default { ...@@ -20,7 +20,7 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
#iframeId{ #iframe{
width: 100%; width: 100%;
height: 100vh; height: 100vh;
} }
......
<template> <template>
<div> <div>
<iframe :src="zjIframe" frameborder="0" style="width:100vw;height:100vh;" id="iframe" ></iframe> <iframe :src="zjIframe" frameborder="0" id="iframe" ></iframe>
</div> </div>
</template> </template>
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
#iframeId{ #iframe{
width: 100%; width: 100%;
height: 100vh; height:86vh;
} }
</style> </style>
\ No newline at end of file
<template> <template>
<div> <div>
<iframe :src="zjIframe" frameborder="0" style="width:100vw;height:100vh;" id="iframe" ></iframe> <iframe :src="zjIframe" frameborder="0" id="iframe" ></iframe>
</div> </div>
</template> </template>
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
#iframeId{ #iframe{
width: 100%; width: 100%;
height: 100vh; height:86vh;
} }
</style> </style>
\ No newline at end of file
<template> <template>
<div> <div>
<iframe :src="zjIframe" frameborder="0" style="width:100vw;height:100vh;" id="iframe" ></iframe> <iframe :src="zjIframe" frameborder="0" id="iframe" ></iframe>
</div> </div>
</template> </template>
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
#iframeId{ #iframe{
width: 100%; width: 100%;
height: 100vh; height:86vh;
} }
</style> </style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!