微信公众号前端模版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.1 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>iframe测试</title>
<script type="text/javascript" src="src/utils/import-util.js"></script>
</head>
<body>
<div id="app" v-cloak>
<iframe :src="link" id="show_iframe" key="show_iframe"
sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin allow-top-navigation" width="100%"
style="height:100vh;position:fixed;z-index:4000;top:0;bottom:0;max-width: 767px;" frameborder="0"></iframe>
</div>
<script>
Vue.createApp({
data() {
return {
link: '/wx/health-card-bind.html'
}
}
}).use(VueConfig)
.use(store)
.mount('#app');
</script>
</body>
</html>