-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (42 loc) · 1.51 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<!-- <link rel="shortcut icon" href="https://itc.shuishi.com/admin/system/favicon.ico"> -->
<!-- <link href="./bootstrap.min.css" rel="stylesheet"> -->
<!-- <script src="./vue.min.js"></script> -->
<script src="https://cdn.jsdelivr.net/npm/vue@2.7.10"></script>
<!-- <script src="./static/utils/vue.js" type="text/javascript" charset="utf-8"></script> -->
</head>
<style>
#vue_html{
width: 100%;
height:90vh;
display: flex;
justify-content: center;
}
</style>
<body class="gray-bg">
<div id="vue_html">
<!-- <iframe src="http://localhost:8091/login" frameborder="0" width="450"></iframe> -->
<iframe :src="pageName" frameborder="0" width="450"></iframe>
</div>
<script type="text/javascript">
var vm = new Vue({
el: '#vue_html',
data: {
pageName: ''
},
mounted() {
let url = window.location.pathname;
this.pageName = url.replace('/d/', '/c/');
console.log(this.pageName, 'loc')
},
methods: {
}
})
</script>
</body>
</html>