From c5182f94af66be6caee71bfaf82cc969ce81b23a Mon Sep 17 00:00:00 2001 From: taoshihan1991 <630892807@qq.com> Date: Tue, 22 Dec 2020 14:27:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81=E5=92=8C?= =?UTF-8?q?=E5=A4=B4=E5=83=8F=E7=9A=84=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- router/view.go | 2 ++ static/html/setting_bottom.html | 17 +++++++++++++++++ static/html/setting_left.html | 2 ++ tmpl/setting.go | 12 ++++++++++++ 4 files changed, 33 insertions(+) diff --git a/router/view.go b/router/view.go index df3d002..1c16dce 100644 --- a/router/view.go +++ b/router/view.go @@ -21,6 +21,8 @@ func InitViewRouter(engine *gin.Engine) { engine.GET("/setting_welcome", tmpl.PageSettingWelcome) engine.GET("/setting_deploy", tmpl.PageSettingDeploy) engine.GET("/setting_kefu_list", tmpl.PageKefuList) + engine.GET("/setting_avator", tmpl.PageAvator) + engine.GET("/setting_modifypass", tmpl.PageModifypass) engine.GET("/setting_ipblack", tmpl.PageIpblack) engine.GET("/setting_config", tmpl.PageConfig) engine.GET("/mail_list", tmpl.PageMailList) diff --git a/static/html/setting_bottom.html b/static/html/setting_bottom.html index 52878f1..96fba74 100644 --- a/static/html/setting_bottom.html +++ b/static/html/setting_bottom.html @@ -95,6 +95,7 @@ html_en: "", }, }, + methods: { //提交表单 setAccount(formName){ @@ -406,6 +407,22 @@ ' var GOFLY_KEFU_ID="'+this.kefuForm.name+'";\n' + ' <\/script>\n'+ '