提交 8af6afcf 编写于 作者: fxy060608's avatar fxy060608

fix(v3): __uniappview.html

上级 e8f11e25
......@@ -23,39 +23,13 @@
}
</style>
<link rel="stylesheet" href="view.css" />
<script>
/*CONFIG*/
</script>
<script>
var __id__ = '';
window.__dispatchGenerateFunc__ = function(page) {
__id__ = page;
document.title = page;
// window.history.pushState('', '', page);
var wxss = page.replace('.html', '.wxss')
if (
typeof __wxAppCode__ !== 'undefined' &&
__wxAppCode__.hasOwnProperty(wxss)
) {
var setCssToHead = __wxAppCode__[wxss]
typeof setCssToHead === 'function' && setCssToHead()
document.dispatchEvent(new CustomEvent("generateFuncReady", {
detail: {
generateFunc: $gwx(page.replace('.html', '.wxml'))
}
}));
} else {
plus.webview.currentWebview().setJsFile('_www/' + page.replace('.html', '.js'));
}
};
</script>
<script src="__uniappes6.js"></script>
<script src="view.umd.js"></script>
<script src="app-view.js"></script>
</head>
<body>
<div id="app"></div>
<div id="app"></div>
<script src="__uniappes6.js"></script>
<script src="view.umd.js"></script>
<script src="app-view.js"></script>
</body>
</html>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册