huan-simple-html 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/.eslintignore +30 -30
  2. package/.npmignore +74 -70
  3. package/LICENSE +7 -7
  4. package/LICENSE_CN +7 -7
  5. package/README.md +31 -29
  6. package/README_EN.md +31 -29
  7. package/REEPORT +14 -14
  8. package/REPORT_EN +14 -14
  9. package/config.json +4 -4
  10. package/package.json +2 -2
  11. package/src/assets/image/logo.png +0 -0
  12. package/src/common.js +20 -4
  13. package/src/html/LICENSE_CN.html +45 -47
  14. package/src/html/LICENSE_US.html +43 -45
  15. package/src/html/error/4xx/400.html +9 -11
  16. package/src/html/error/4xx/403.html +10 -12
  17. package/src/html/error/4xx/404.html +16 -18
  18. package/src/html/error/4xx/404.signal.html +56 -56
  19. package/src/html/error/4xx/404.songzihuan.signal.html +57 -57
  20. package/src/html/error/4xx/405.html +10 -12
  21. package/src/html/error/4xx/4xx.html +10 -12
  22. package/src/html/error/5xx/500.html +10 -12
  23. package/src/html/error/5xx/500.signal.html +29 -29
  24. package/src/html/error/5xx/500.songzihuan.signal.html +30 -30
  25. package/src/html/error/5xx/501.html +10 -12
  26. package/src/html/error/5xx/502.html +9 -11
  27. package/src/html/error/5xx/503.html +10 -12
  28. package/src/html/error/5xx/504.html +9 -11
  29. package/src/html/error/5xx/505.html +10 -12
  30. package/src/html/error/5xx/506.html +9 -11
  31. package/src/html/error/5xx/507.html +10 -12
  32. package/src/html/error/5xx/508.html +10 -12
  33. package/src/html/error/5xx/509.html +10 -12
  34. package/src/html/error/5xx/510.html +9 -11
  35. package/src/html/error/5xx/511.html +12 -14
  36. package/src/html/error/5xx/5xx.html +10 -12
  37. package/src/html/index.html +122 -124
  38. package/src/html/index.new.html +12 -15
  39. package/src/html/index.new.signal.html +41 -42
  40. package/src/html/mitorg.html +5070 -5072
  41. package/src/style/error/404.css +30 -30
  42. package/src/style/error/4xx.css +16 -16
  43. package/src/style/error/5xx.css +15 -15
  44. package/src/style/index/index.css +34 -34
  45. package/src/style/index/license.css +3 -3
  46. package/src/style/index/mitorg.css +106 -106
  47. package/src/style/index/new.css +21 -21
  48. package/src/assets/image/logo_big.png +0 -0
  49. package/src/assets/image/songzihuan.jpg +0 -0
@@ -1,13 +1,11 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>501 Internal Server Error</title>
7
- </head>
8
- <body>
9
- <h1>501 Internal Server Error</h1>
10
- <p>The server encountered an unexpected condition which prevented it from fulfilling the request.</p>
11
- <p>Sorry, the requested feature is not implemented yet or is currently unavailable.</p>
12
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>501 Internal Server Error</title>
5
+ </head>
6
+ <body>
7
+ <h1>501 Internal Server Error</h1>
8
+ <p>The server encountered an unexpected condition which prevented it from fulfilling the request.</p>
9
+ <p>Sorry, the requested feature is not implemented yet or is currently unavailable.</p>
10
+ </body>
13
11
  </html>
@@ -1,12 +1,10 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>502 Bad Gateway</title>
7
- </head>
8
- <body>
9
- <h1>502 Bad Gateway</h1>
10
- <p>The server, while acting as a gateway or proxy, received an invalid response from the upstream server.</p>
11
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>502 Bad Gateway</title>
5
+ </head>
6
+ <body>
7
+ <h1>502 Bad Gateway</h1>
8
+ <p>The server, while acting as a gateway or proxy, received an invalid response from the upstream server.</p>
9
+ </body>
12
10
  </html>
@@ -1,13 +1,11 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>503 Service Unavailable</title>
7
- </head>
8
- <body>
9
- <h1>503 Service Unavailable</h1>
10
- <p>The service is temporarily unavailable. Please try again later.</p>
11
- <!-- Add custom styling or additional content as needed -->
12
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>503 Service Unavailable</title>
5
+ </head>
6
+ <body>
7
+ <h1>503 Service Unavailable</h1>
8
+ <p>The service is temporarily unavailable. Please try again later.</p>
9
+ <!-- Add custom styling or additional content as needed -->
10
+ </body>
13
11
  </html>
@@ -1,12 +1,10 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>504 Gateway Timeout</title>
7
- </head>
8
- <body>
9
- <h1>504 Gateway Timeout</h1>
10
- <p>The server acting as a gateway or proxy did not receive a timely response from the upstream server.</p>
11
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>504 Gateway Timeout</title>
5
+ </head>
6
+ <body>
7
+ <h1>504 Gateway Timeout</h1>
8
+ <p>The server acting as a gateway or proxy did not receive a timely response from the upstream server.</p>
9
+ </body>
12
10
  </html>
@@ -1,13 +1,11 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>505 HTTP Version Not Supported</title>
7
- </head>
8
- <body>
9
- <h1>505 HTTP Version Not Supported</h1>
10
- <p>The HTTP version used in the request is not supported by the server.</p>
11
- <p>Please check your client's HTTP protocol version and try again.</p>
12
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>505 HTTP Version Not Supported</title>
5
+ </head>
6
+ <body>
7
+ <h1>505 HTTP Version Not Supported</h1>
8
+ <p>The HTTP version used in the request is not supported by the server.</p>
9
+ <p>Please check your client's HTTP protocol version and try again.</p>
10
+ </body>
13
11
  </html>
@@ -1,12 +1,10 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Error 506</title>
7
- </head>
8
- <body>
9
- <h1>Error 506: Loop Detected</h1>
10
- <p>The server detected an infinite loop while processing your request.</p>
11
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>Error 506</title>
5
+ </head>
6
+ <body>
7
+ <h1>Error 506: Loop Detected</h1>
8
+ <p>The server detected an infinite loop while processing your request.</p>
9
+ </body>
12
10
  </html>
@@ -1,13 +1,11 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>507 Insufficient Storage</title>
7
- </head>
8
- <body>
9
- <h1>507 Insufficient Storage</h1>
10
- <p>The method could not be performed on the resource because the server is unable to store the representation needed to
11
- successfully complete the request.</p>
12
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>507 Insufficient Storage</title>
5
+ </head>
6
+ <body>
7
+ <h1>507 Insufficient Storage</h1>
8
+ <p>The method could not be performed on the resource because the server is unable to store the representation needed to
9
+ successfully complete the request.</p>
10
+ </body>
13
11
  </html>
@@ -1,13 +1,11 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Error 508 - Resource Limit Is Reached</title>
7
- </head>
8
- <body>
9
- <h1>Error 508</h1>
10
- <p>The request could not be completed because the server has reached its resource limit.</p>
11
- <p>Please try again later or contact the system administrator if the issue persists.</p>
12
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>Error 508 - Resource Limit Is Reached</title>
5
+ </head>
6
+ <body>
7
+ <h1>Error 508</h1>
8
+ <p>The request could not be completed because the server has reached its resource limit.</p>
9
+ <p>Please try again later or contact the system administrator if the issue persists.</p>
10
+ </body>
13
11
  </html>
@@ -1,13 +1,11 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>509 Bandwidth Limit Exceeded</title>
7
- </head>
8
- <body>
9
- <h1>509 Bandwidth Limit Exceeded</h1>
10
- <p>The server has exceeded the bandwidth specified for this resource.</p>
11
- <p>Please try again later or contact the server administrator for assistance.</p>
12
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>509 Bandwidth Limit Exceeded</title>
5
+ </head>
6
+ <body>
7
+ <h1>509 Bandwidth Limit Exceeded</h1>
8
+ <p>The server has exceeded the bandwidth specified for this resource.</p>
9
+ <p>Please try again later or contact the server administrator for assistance.</p>
10
+ </body>
13
11
  </html>
@@ -1,12 +1,10 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Error 510</title>
7
- </head>
8
- <body>
9
- <h1>Error 510 - Gateway Error</h1>
10
- <p>The server acting as a gateway or proxy received an invalid response from the upstream server.</p>
11
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>Error 510</title>
5
+ </head>
6
+ <body>
7
+ <h1>Error 510 - Gateway Error</h1>
8
+ <p>The server acting as a gateway or proxy received an invalid response from the upstream server.</p>
9
+ </body>
12
10
  </html>
@@ -1,15 +1,13 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>511 Network Authentication Required</title>
7
- </head>
8
- <body>
9
- <h1>511 Network Authentication Required</h1>
10
- <p>
11
- The client needs to authenticate to gain network access.
12
- Contact your network administrator for assistance.
13
- </p>
14
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>511 Network Authentication Required</title>
5
+ </head>
6
+ <body>
7
+ <h1>511 Network Authentication Required</h1>
8
+ <p>
9
+ The client needs to authenticate to gain network access.
10
+ Contact your network administrator for assistance.
11
+ </p>
12
+ </body>
15
13
  </html>
@@ -1,13 +1,11 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Server Error</title>
7
- </head>
8
- <body>
9
- <h1>Server Error</h1>
10
- <p>We're sorry, the server encountered an error and could not complete your request.</p>
11
- <p>Please try again later or contact the system administrator.</p>
12
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <title>Server Error</title>
5
+ </head>
6
+ <body>
7
+ <h1>Server Error</h1>
8
+ <p>We're sorry, the server encountered an error and could not complete your request.</p>
9
+ <p>Please try again later or contact the system administrator.</p>
10
+ </body>
13
11
  </html>
@@ -1,125 +1,123 @@
1
- <!DOCTYPE html>
2
- <html lang="zh">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>欢迎访问</title>
7
- <link rel="stylesheet" href="../style/index/index.css">
8
- </head>
9
- <body>
10
- <h1>欢迎光临!</h1>
11
-
12
- <p>我是宋子桓(Song Zihuan),非常欢迎你访问这个站点,这个站点是关于MIT协议的站点。</p>
13
-
14
- <p>
15
- MIT开源协议(Massachusetts Institute of Technology License)是一种广泛使用的开源软件许可协议,以其极为宽松的条款著称。以下是MIT许可证的主要特点和内容概览:
16
- </p>
17
- <p>
18
- 特点:
19
- </p>
20
- <ol>
21
- <li><span class="bold">简单明了:</span>MIT许可证只有寥寥数行,非常容易理解,没有复杂的法律术语。</li>
22
- <li><span class="bold">宽松自由:</span>它赋予软件使用者非常广泛的自由度,允许个人和商业机构自由地使用、复制、修改、合并、发布、分发、再授权和销售软件的原件或修改版,几乎没有任何限制。</li>
23
- <li><span class="bold">唯一要求:</span>使用MIT许可的软件时,使用者必须保留软件中包含的原始版权和许可声明。这意味着当你分发基于MIT许可代码的衍生作品时,需要在你的发行包中包含原作者的许可声明。 </li>
24
- </ol>
25
-
26
- <p>
27
- 适用场景:
28
- </p>
29
- <ul>
30
- <li><span class="bold">鼓励广泛采用:</span>对于希望自己的代码被尽可能多的人使用和贡献的开发者来说,MIT是一个极好的选择。</li>
31
- <li><span class="bold">商业友好:</span>由于其宽松的条款,很多商业项目倾向于使用或接纳MIT许可的组件,因为它不会给产品带来额外的使用负担。</li>
32
- <li><span class="bold">简单协作:</span>:对于小型项目或者快速原型开发,选择MIT可以简化合作过程中的法律考量。</li>
33
- </ul>
34
-
35
- <p>
36
- 总之,MIT许可证因其简洁和开放性而广受欢迎,特别适合那些旨在促进技术创新和知识共享的项目。
37
- </p>
38
-
39
- <p> 以上就是我的全部介绍,如果你想查阅MIT协议,可以 <a href="./LICENSE_US.html" target="_blank">点击此处(MIT LICENSE)立即前往查看MIT协议 </a>。</p>
40
-
41
- <p>如果你对我感兴趣,你还可以查看<a href="https://song-zh.com" target="_blank">点击此处,查看我的网站</a>。</p>
42
- <p>同时,也欢迎您浏览我的GitHub仓库:<a href="https://github.com/SongZihuan" target="_blank"> 宋子桓(Song Zihuan)的 GitHub</a></p>
43
- <p>希望您在这里能找到有趣的内容和灵感!祝您访问愉快!</p>
44
-
45
- <p id="copyright-container"></p>
46
-
47
- <script>
48
- const currentYear = new Date().getFullYear();
49
- const copyrightTemplate = `<p>Copyright &copy; ${currentYear} 宋子桓(Song Zihuan). All rights reserved.</p>`;
50
-
51
- const containerElement = document.getElementById('copyright-container');
52
- // 将生成的版权信息插入到页面指定位置
53
- if (containerElement) {
54
- containerElement.innerHTML = copyrightTemplate;
55
- }
56
- </script>
57
-
58
- <script>
59
- function extractNumbersFromString(str) {
60
- // 正则表达式匹配非数字字符后紧跟数字,然后是更多非数字字符
61
- const regex = /[^0-9]+(\d+)[^0-9]+/g
62
- let matches = ""
63
- let match = null
64
-
65
- // 使用正则表达式的全局搜索来查找所有匹配项
66
- while ((match = regex.exec(str)) !== null) {
67
- // 提取数字部分并添加到结果数组
68
- matches += match[1].toString()
69
- }
70
- return matches
71
- }
72
-
73
- fetch("/SH_CONFIG.json")
74
- .then(response => {
75
- if (!response.ok) {
76
- throw new Error('Network response was not ok');
77
- }
78
-
79
- return response.text().then(text => {
80
- const data = JSON.parse(text);
81
- if (typeof data !== "object" || data === null) {
82
- throw new Error('Config data error');
83
- }
84
- return data
85
- })
86
- })
87
- .then(SH_CONFIG => {
88
- if (SH_CONFIG && SH_CONFIG.ICP) {
89
- const p = document.createElement('p');
90
- const a = document.createElement('a');
91
- a.href = "https://beian.miit.gov.cn/";
92
- a.target = "_blank"
93
- a.textContent = SH_CONFIG.ICP;
94
- p.appendChild(a);
95
- document.body.appendChild(p);
96
- }
97
-
98
- if (window.WangAn && SH_CONFIG && SH_CONFIG.WANGAN) {
99
- const p = document.createElement('p');
100
- const img = document.createElement('img');
101
- const a = document.createElement('a');
102
-
103
- img.id = "WANGAN_LOGO"
104
- img.alt = "网络安全图标"
105
- img.src = window.WangAn;
106
- img.style = "vertical-align: middle"
107
-
108
- SH_CONFIG.WANGAN_NUM = extractNumbersFromString(SH_CONFIG.WANGAN)
109
-
110
- a.href = `https://www.beian.gov.cn/portal/registerSystemInfo?recordcode=${SH_CONFIG.WANGAN_NUM}`;
111
- a.target = "_blank";
112
- a.textContent = SH_CONFIG.WANGAN;
113
-
114
- p.appendChild(img)
115
- p.appendChild(a);
116
- document.body.appendChild(p);
117
- }
118
- })
119
- .catch(error => {
120
- console.error('There has been a problem with your fetch operation:', error);
121
- });
122
- </script>
123
-
124
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="zh">
3
+ <head>
4
+ <title>欢迎访问</title>
5
+ <link rel="stylesheet" href="../style/index/index.css">
6
+ </head>
7
+ <body>
8
+ <h1>欢迎光临!</h1>
9
+
10
+ <p>我是宋子桓(Song Zihuan),非常欢迎你访问这个站点,这个站点是关于MIT协议的站点。</p>
11
+
12
+ <p>
13
+ MIT开源协议(Massachusetts Institute of Technology License)是一种广泛使用的开源软件许可协议,以其极为宽松的条款著称。以下是MIT许可证的主要特点和内容概览:
14
+ </p>
15
+ <p>
16
+ 特点:
17
+ </p>
18
+ <ol>
19
+ <li><span class="bold">简单明了:</span>MIT许可证只有寥寥数行,非常容易理解,没有复杂的法律术语。</li>
20
+ <li><span class="bold">宽松自由:</span>它赋予软件使用者非常广泛的自由度,允许个人和商业机构自由地使用、复制、修改、合并、发布、分发、再授权和销售软件的原件或修改版,几乎没有任何限制。</li>
21
+ <li><span class="bold">唯一要求:</span>使用MIT许可的软件时,使用者必须保留软件中包含的原始版权和许可声明。这意味着当你分发基于MIT许可代码的衍生作品时,需要在你的发行包中包含原作者的许可声明。 </li>
22
+ </ol>
23
+
24
+ <p>
25
+ 适用场景:
26
+ </p>
27
+ <ul>
28
+ <li><span class="bold">鼓励广泛采用:</span>对于希望自己的代码被尽可能多的人使用和贡献的开发者来说,MIT是一个极好的选择。</li>
29
+ <li><span class="bold">商业友好:</span>由于其宽松的条款,很多商业项目倾向于使用或接纳MIT许可的组件,因为它不会给产品带来额外的使用负担。</li>
30
+ <li><span class="bold">简单协作:</span>:对于小型项目或者快速原型开发,选择MIT可以简化合作过程中的法律考量。</li>
31
+ </ul>
32
+
33
+ <p>
34
+ 总之,MIT许可证因其简洁和开放性而广受欢迎,特别适合那些旨在促进技术创新和知识共享的项目。
35
+ </p>
36
+
37
+ <p> 以上就是我的全部介绍,如果你想查阅MIT协议,可以 <a href="./LICENSE_US.html" target="_blank">点击此处(MIT LICENSE)立即前往查看MIT协议 </a>。</p>
38
+
39
+ <p>如果你对我感兴趣,你还可以查看<a href="https://song-zh.com" target="_blank">点击此处,查看我的网站</a>。</p>
40
+ <p>同时,也欢迎您浏览我的GitHub仓库:<a href="https://github.com/SongZihuan" target="_blank"> 宋子桓(Song Zihuan)的 GitHub</a> 。</p>
41
+ <p>希望您在这里能找到有趣的内容和灵感!祝您访问愉快!</p>
42
+
43
+ <p id="copyright-container"></p>
44
+
45
+ <script>
46
+ const currentYear = new Date().getFullYear();
47
+ const copyrightTemplate = `<p>Copyright &copy; ${currentYear} 宋子桓(Song Zihuan). All rights reserved.</p>`;
48
+
49
+ const containerElement = document.getElementById('copyright-container');
50
+ // 将生成的版权信息插入到页面指定位置
51
+ if (containerElement) {
52
+ containerElement.innerHTML = copyrightTemplate;
53
+ }
54
+ </script>
55
+
56
+ <script>
57
+ function extractNumbersFromString(str) {
58
+ // 正则表达式匹配非数字字符后紧跟数字,然后是更多非数字字符
59
+ const regex = /[^0-9]+(\d+)[^0-9]+/g
60
+ let matches = ""
61
+ let match = null
62
+
63
+ // 使用正则表达式的全局搜索来查找所有匹配项
64
+ while ((match = regex.exec(str)) !== null) {
65
+ // 提取数字部分并添加到结果数组
66
+ matches += match[1].toString()
67
+ }
68
+ return matches
69
+ }
70
+
71
+ fetch("/SH_CONFIG.json")
72
+ .then(response => {
73
+ if (!response.ok) {
74
+ throw new Error('Network response was not ok');
75
+ }
76
+
77
+ return response.text().then(text => {
78
+ const data = JSON.parse(text);
79
+ if (typeof data !== "object" || data === null) {
80
+ throw new Error('Config data error');
81
+ }
82
+ return data
83
+ })
84
+ })
85
+ .then(SH_CONFIG => {
86
+ if (SH_CONFIG && SH_CONFIG.ICP) {
87
+ const p = document.createElement('p');
88
+ const a = document.createElement('a');
89
+ a.href = "https://beian.miit.gov.cn/";
90
+ a.target = "_blank"
91
+ a.textContent = SH_CONFIG.ICP;
92
+ p.appendChild(a);
93
+ document.body.appendChild(p);
94
+ }
95
+
96
+ if (window.WangAn && SH_CONFIG && SH_CONFIG.WANGAN) {
97
+ const p = document.createElement('p');
98
+ const img = document.createElement('img');
99
+ const a = document.createElement('a');
100
+
101
+ img.id = "WANGAN_LOGO"
102
+ img.alt = "网络安全图标"
103
+ img.src = window.WangAn;
104
+ img.style = "vertical-align: middle"
105
+
106
+ SH_CONFIG.WANGAN_NUM = extractNumbersFromString(SH_CONFIG.WANGAN)
107
+
108
+ a.href = `https://www.beian.gov.cn/portal/registerSystemInfo?recordcode=${SH_CONFIG.WANGAN_NUM}`;
109
+ a.target = "_blank";
110
+ a.textContent = SH_CONFIG.WANGAN;
111
+
112
+ p.appendChild(img)
113
+ p.appendChild(a);
114
+ document.body.appendChild(p);
115
+ }
116
+ })
117
+ .catch(error => {
118
+ console.error('There has been a problem with your fetch operation:', error);
119
+ });
120
+ </script>
121
+
122
+ </body>
125
123
  </html>
@@ -1,16 +1,13 @@
1
- <!DOCTYPE html>
2
- <html lang="zh">
3
- <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>站点建设成功</title>
7
- <link rel="stylesheet" href="../style/index/new.css">
8
-
9
- </head>
10
- <body>
11
- <div class="success-icon">&#128512;</div>
12
- <h1>站点建设成功!</h1>
13
- <p>恭喜您,站点已成功搭建完成。现在您可以开始发布内容和定制您的网站了。</p>
14
- <p>祝您在互联网世界中探索无限可能!</p>
15
- </body>
1
+ <!DOCTYPE html>
2
+ <html lang="zh">
3
+ <head>
4
+ <title>站点建设成功</title>
5
+ <link rel="stylesheet" href="../style/index/new.css">
6
+ </head>
7
+ <body>
8
+ <div class="success-icon">&#128512;</div>
9
+ <h1>站点建设成功!</h1>
10
+ <p>恭喜您,站点已成功搭建完成。现在您可以开始发布内容和定制您的网站了。</p>
11
+ <p>祝您在互联网世界中探索无限可能!</p>
12
+ </body>
16
13
  </html>