特殊页面可以直接使用HTML

This commit is contained in:
GoEdgeLab
2021-10-10 10:35:14 +08:00
parent 615e873d07
commit b766a0f23c
7 changed files with 164 additions and 16 deletions

View File

@@ -0,0 +1,21 @@
Tea.context(function () {
this.bodyType = this.bodyTypes[0].code
this.addHTMLTemplate = function () {
this.$refs.htmlBody.value = `<!DOCTYPE html>
<html>
<head>
\t<title>页面标题</title>
\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<h3>内容标题</h3>
<p>内容</p>
<footer>Powered by GoEdge.</footer>
</body>
</html>`
}
})