Commit 0a7c876b authored by 张豪's avatar 张豪

智能制图设置内边距为0

parent 06574eed
......@@ -8,7 +8,7 @@
</div>
<div class="main-container">
<iframe ref="intelligent_drawing_iframe" width="100%" height="100%" scrolling="no" src="https://apaasgis.wodcloud.com/portal/apaasplat/viewer/mapViewer.html" frameborder="0"></iframe>
<iframe ref="intelligent_drawing_iframe" width="100%" height="100%" scrolling="no" :src="url" frameborder="0"></iframe>
</div>
</div>
</template>
......@@ -16,7 +16,9 @@
<script>
export default {
data() {
return {};
return {
url:'https://zhangh.wodcloud.com/portal/apaasplat/viewer/mapViewer.html'
};
},
mounted() {
// window.addEventListener('message',event =>{
......@@ -43,7 +45,10 @@ export default {
height: calc(100vh - 150px - 43px);
border-radius: 12px;
background-color: #fff;
padding: 20px;
padding: 0px;
}
.intelligent_drawing-container .main-container iframe {
border-radius: 12px;
}
</style>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment