调整了样式
This commit is contained in:
parent
2a4f16aa52
commit
c813f905ce
@ -68,7 +68,7 @@ public class IndexRouteController {
|
||||
public ModelAndView defaultMain(@PathVariable("menuIdAndDefaultHome") String menuIdAndDefaultHome) {
|
||||
ModelAndView mv = new ModelAndView("default-main");
|
||||
UserInfoBO userInfoBO = securityComponent.getCurrentUser();
|
||||
mv.addObject("userUsername", userInfoBO.getUserUsername());
|
||||
mv.addObject("userName", userInfoBO.getUserName());
|
||||
Map<String, String> config = ConfigManager.getInstance().getConfig();
|
||||
// 先加载系统短标题,没有加载主标题,没有加载配置文件系统标题
|
||||
if (!StringUtils.isBlank(config.get(IUserCenterConst.SYSTEM_SHORT_TITLE))) {
|
||||
|
@ -14,8 +14,8 @@
|
||||
<link rel="stylesheet" href="assets/layuiadmin/style/default-main.css" media="all">
|
||||
<style>
|
||||
.system-nav-box {}
|
||||
.system-nav-box .system-box {display:none;background-color: #fff;width: 310px;position: absolute;top: 50px;left: -50px;border: 1px solid #f6f6f6; overflow: hidden;}
|
||||
.system-nav-box .system-box .system-item-list {width: 330px; max-height: 310px; overflow: auto; padding-bottom: 10px;}
|
||||
.system-nav-box .system-box {display:none;background-color: #fff; max-width: 310px;position: absolute;top: 50px;left: -50px;border: 1px solid #f6f6f6; overflow: hidden;}
|
||||
.system-nav-box .system-box .system-item-list {max-width: 330px; max-height: 310px; overflow: auto; padding-bottom: 10px;}
|
||||
.system-nav-box .system-box .system-item-list .system-item {background-color: red; color: #FFF; text-align: left; width: 60px; height: 60px; margin-left: 10px; margin-top: 10px; padding: 15px;border-bottom: 1px solid #f6f6f6; float: left}
|
||||
.system-nav-box .system-box .system-item-list .system-item .icon {text-align: center; line-height: 40px;}
|
||||
.system-nav-box .system-box .system-item-list .system-item .icon i{font-size: 30px;}
|
||||
@ -90,7 +90,7 @@
|
||||
</li>
|
||||
<li class="layui-nav-item" lay-unselect>
|
||||
<a href="javascript:void(0);">
|
||||
<cite th:text="${userUsername}"></cite>
|
||||
<cite th:text="${userName}"></cite>
|
||||
</a>
|
||||
<dl class="layui-nav-child">
|
||||
<dd><a id="LAY-changePassword" lay-href="javascript:void(0);">修改密码</a></dd>
|
||||
|
@ -16,6 +16,7 @@
|
||||
.resource-img, .resource-img-path {text-align: center}
|
||||
.layui-btn-container .layui-btn {margin-bottom: 0px}
|
||||
.layui-table {width: auto;}
|
||||
.CodeMirror {font-size : 13px;line-height: 150%;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@ -375,6 +376,8 @@
|
||||
theme: 'dracula',
|
||||
matchBrackets: true,
|
||||
indentUnit : 4,
|
||||
indentWithTabs: 4,
|
||||
flattenSpans: false,
|
||||
tabSize : 4,
|
||||
extraKeys: {
|
||||
'Shift-Tab': function (cm) {
|
||||
|
@ -16,6 +16,7 @@
|
||||
.resource-img, .resource-img-path {text-align: center}
|
||||
.layui-btn-container .layui-btn {margin-bottom: 0px}
|
||||
.layui-table {width: auto;}
|
||||
.CodeMirror {font-size : 13px;line-height: 150%;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@ -377,6 +378,8 @@
|
||||
theme: 'dracula',
|
||||
matchBrackets: true,
|
||||
indentUnit : 4,
|
||||
indentWithTabs: 4,
|
||||
flattenSpans: false,
|
||||
tabSize : 4,
|
||||
extraKeys: {
|
||||
'Shift-Tab': function (cm) {
|
||||
|
Loading…
Reference in New Issue
Block a user