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.
go-fly/static/html/main.html

33 lines
628 B

{{.Header}}
<body>
<div id="app">
<template>
{{.Nav}}
<iframe class="mainIframe" v-bind:src="iframeUrl" frameborder="0"></iframe>
</template>
</div>
</body>
<script>
new Vue({
el: '#app',
delimiters:["<{","}>"],
data: {
iframeUrl:"/setting",
mailTotal:0,
},
methods: {
openIframeUrl(url){
this.iframeUrl=url;
},
//跳转
openUrl(url){
window.location.href=url;
},
},
created: function () {
}
})
</script>
</html>