案例效果

根据不同项目需求,修改登录页背景界面

实现思路

  1. 找到项目中login.html界面

  2. 找到登录页配置

  3. 修改BGIMG、BGIMGBLUR参数值

操作步骤

1. 找到项目中login.html界面:jepaas-commercial/je-web/src/main/webapp/login.html

2. 找到登录页配置

3. 修改BGIMG、BGIMGBLUR参数值,值为图片路径,自定义即可

相关代码

<script>
    //登录页配置
    window.LOGIN_CONFIG = {"LOGO":"","THEMECOLOR":"","BGIMG":"","BGIMGBLUR":"","FINDPASSWORD":true,"FASTLOGIN":true,"OTHERLOGIN":{"DTTALK":true,"WECHAT":true,"QQ":true,"APP":true,"PHONE":true},"ACCOUNT":[{"type":"USERNAME","enable":false,"text":"用户名"},{"type":"ACCOUNT","enable":true,"text":"账号"},{"type":"PHONE","enable":true,"text":"手机"},{"type":"EMAILE","enable":false,"text":"邮箱"},{"type":"JOBNO","enable":false,"text":"工号"}],"SHOWI18N":true,"I18NLIST":[{"icon":"jeicon-China","value":"zh_CN","label":"简体中文"},{"icon":"jeicon-English","value":"en","label":"English"}],"imageAttrs":["ICO","LOGO","BGIMG","BGIMGBLUR"]}
</script>

关键字,相关问题

  • 登录页
  • 背景图
最后编辑: 吝志超  文档更新时间: 2024-07-05 09:35   作者:呼丽华