This commit is contained in:
shaoyongjun 2024-10-02 01:11:35 +08:00
parent e111cbb2b1
commit 27ff4d9548
2 changed files with 17 additions and 2 deletions

View File

@ -6,6 +6,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>水滴登录页</title>
<link rel="stylesheet" href="/v1/static/css/shuidi.css">
<style>
footer {
box-sizing: border-box;
text-align: center;
margin: 0;
padding: 0;
/*background-color: #457B9D;*/
}
</style>
</head>
<body>
@ -25,6 +34,12 @@
<a href="#" class="btns">忘记密码</a>
<a href="#" class="btns register">注册</a>
</div>
<footer>
<p>
<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">沪ICP备18034819号</a>
<a href="https://beian.mps.gov.cn/" target="_blank" rel="nofollow"><i class="police-ico"></i>沪公网安备31011302007198号</a>
</p>
</footer>
</body>
</html>

View File

@ -13,7 +13,7 @@ func Favicon(c echo.Context) error {
func Login(c echo.Context) error {
c.Response().Header().Set("Cache-Control", "max-age=3600")
return c.Blob(http.StatusOK, "text/html; charset=utf-8", pageMap["login.html"])
return c.Blob(http.StatusOK, "text/html; charset=utf-8", pageMap["login_shuidi.html"])
}
func Chat(c echo.Context) error {
@ -50,7 +50,7 @@ func InitStaticGroup(g *echo.Group) {
c.Response().Header().Set("Content-Type", "text/html; charset=utf-8")
c.Response().Header().Set("Cache-Control", "max-age=3600")
return c.Blob(http.StatusOK, "text/html; charset=utf-8", pageMap["login_shudi.html"])
return c.Blob(http.StatusOK, "text/html; charset=utf-8", pageMap["login_shuidi.html"])
})
g.GET("css/:name", func(c echo.Context) error {