2020-09-20 08:58:48 +08:00
|
|
|
Tea.context(function () {
|
|
|
|
|
this.success = NotifyPopup
|
|
|
|
|
|
2021-10-10 10:35:14 +08:00
|
|
|
this.bodyType = this.pageConfig.bodyType
|
|
|
|
|
|
2020-09-20 08:58:48 +08:00
|
|
|
this.newStatus = ""
|
|
|
|
|
if (this.pageConfig.newStatus > 0) {
|
|
|
|
|
this.newStatus = this.pageConfig.newStatus
|
|
|
|
|
}
|
2021-10-10 10:35:14 +08:00
|
|
|
|
|
|
|
|
this.addHTMLTemplate = function () {
|
|
|
|
|
this.$refs.htmlBody.value = `<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
2021-12-02 14:45:51 +08:00
|
|
|
\t<title>\${status} \${statusMessage}</title>
|
2021-10-10 10:35:14 +08:00
|
|
|
\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
|
2021-12-02 14:45:51 +08:00
|
|
|
<h1>\${status} \${statusMessage}</h1>
|
|
|
|
|
<p><!-- 内容 --></p>
|
2021-10-10 10:35:14 +08:00
|
|
|
|
2021-12-02 14:45:51 +08:00
|
|
|
<address>Request ID: \${requestId}, Powered by GoEdge.</address>
|
2021-10-10 10:35:14 +08:00
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>`
|
|
|
|
|
}
|
2020-09-20 08:58:48 +08:00
|
|
|
})
|