使用iframe嵌套網頁
<iframe id="show-iframes" frameborder="0" name="showHere" scrolling="auto" src=""></iframe>
獲取手機屏幕的寬度自適應屏幕
var oIframe = document.getElementById('show-iframe');
const deviceWidth = document.documentElement.clientWidth;
const deviceHeight = document.documentElement.clientHeight;
oIframe.style.width = deviceWidth + 'px';
oIframe.style.height = deviceHeight + 'px';
let id = this.$route.params.id;
oIframe.src = url