Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
2c6d2db1
Commit
2c6d2db1
authored
Jan 30, 2019
by
yinxr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Signed-off-by: 找回index.less文件,并修复logo样式问题
parent
27867d4e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
262 additions
and
14 deletions
+262
-14
head-file.ftl
src/main/webapp/WEB-INF/manager/include/head-file.ftl
+4
-8
index.ftl
src/main/webapp/WEB-INF/manager/index.ftl
+3
-2
login.ftl
src/main/webapp/WEB-INF/manager/login.ftl
+4
-4
index.css
src/main/webapp/static/ms-admin/4.7.0/css/index.css
+0
-0
index.less
src/main/webapp/static/ms-admin/4.7.0/less/index.less
+251
-0
No files found.
src/main/webapp/WEB-INF/manager/include/head-file.ftl
View file @
2c6d2db1
...
...
@@ -35,19 +35,15 @@
<link rel="stylesheet" href="${base}/static/ms-admin/4.7.0/css/login.css">
<link rel="stylesheet" href="${base}/static/mweixin/css/custom-menu.css">
<link rel="stylesheet" href="${base}/static/mweixin/css/message-reply.css">
<!--
<link rel="stylesheet" href="../../../static/ms-admin/4.7.0/css/login.css">
<link rel="stylesheet" href="../../../static/mweixin/css/custom-menu.css">
<link rel="stylesheet" href="../../../static/mweixin/css/message-reply.css">
-->
<script>
ms.base = "${base}";
ms.manager = "${managerPath}";
// ms.base = "http://192.168.0.54:8
2
";
// ms.manager = "http://192.168.0.54:8
2
/apis/ms";
// ms.web = "http://192.168.0.54:8
2
/apis";
// ms.base = "http://192.168.0.54:8
5
";
// ms.manager = "http://192.168.0.54:8
5
/apis/ms";
// ms.web = "http://192.168.0.54:8
5
/apis";
//图片懒加载
Vue.use(VueLazyload, {
error: ms.base + '/images/ic_image_deault.png',
...
...
src/main/webapp/WEB-INF/manager/index.ftl
View file @
2c6d2db1
...
...
@@ -6,10 +6,11 @@
<
#
include
"/
reset-password
.
ftl
"
/>
<
#
include
"/
exit-system
.
ftl
"
/>
<link
rel=
"stylesheet"
href=
"${base}/static/ms-admin/4.7.0/css/index.css"
>
<!--#include virtual="include/head-file.ftl" -->
<!--#include virtual="./reset-password.ftl" -->
<!--
#include virtual="./reset-password.ftl" -->
<!--#include virtual="./exit-system.ftl" -->
<
!--<link rel="stylesheet" href="../../../static/ms-admin/4.7.0/css/index.css">--
>
<
link
rel=
"stylesheet"
href=
"../../../static/ms-admin/4.7.0/css/index.css"
>
</head>
<body>
...
...
src/main/webapp/WEB-INF/manager/login.ftl
View file @
2c6d2db1
...
...
@@ -3,11 +3,11 @@
<head>
<title></title>
<
#
include
"/
include
/
head-file
.
ftl
"
/>
-->
<
#
include
"/
include
/
head-file
.
ftl
"
/>
<link
rel=
"stylesheet"
href=
"${base}/static/ms-admin/4.7.0/css/login.css"
>
<!--#include virtual="include/head-file.ftl" -->
<
!-- <link rel="stylesheet" href="../../../static/ms-admin/4.7.0/css/login.css"> --
>
<
link
rel=
"stylesheet"
href=
"../../../static/ms-admin/4.7.0/css/login.css"
>
</head>
<body>
...
...
@@ -122,12 +122,12 @@
})
},
code
:
function
()
{
this
.
verifCode
=
ms
.
manager
+
"/code?t="
+
new
Date
().
getTime
();
this
.
verifCode
=
ms
.
web
+
"/code?t="
+
new
Date
().
getTime
();
},
},
mounted
:
function
()
{
this
.
verifCode
=
ms
.
manager
+
"/code?t="
+
new
Date
().
getTime
()
this
.
verifCode
=
ms
.
web
+
"/code?t="
+
new
Date
().
getTime
()
}
})
...
...
src/main/webapp/static/ms-admin/4.7.0/
less/css/login
.css
→
src/main/webapp/static/ms-admin/4.7.0/
css/index
.css
View file @
2c6d2db1
This diff is collapsed.
Click to expand it.
src/main/webapp/static/ms-admin/4.7.0/less/index.less
0 → 100644
View file @
2c6d2db1
// 首页样式
@import "app.less";
//头部
.index{
width: 100%;
}
.ms-admin-header {
display: flex;
padding: 0;
background-color: @themeColor;
height: @headHeight !important;
//头部menu
.ms-admin-header-menu {
background-color: @themeColor;
width: auto;
border-bottom: none;
position: relative;
&>.ms-admin-menu-item>*,
&>.ms-admin-menu-item {
.ms-line-height(@headHeight) !important;
background-color: @themeColor !important;
color: rgba(255, 255, 255, 0.65) !important;
border-bottom: none !important;
font-size: 1em;
&:hover {
color: #fff !important;
}
&.is-active {
color: #fff !important;
}
}
// 快捷菜单
.ms-admin-shortcut-menu{
user-select: none;
outline: none;
padding-left: 20px;
width: 100%;
min-width: 500px;
min-height: 200px;
background-color:#fff !important;
height: auto;
flex-wrap: wrap;
position: absolute;
right: 0;
top: 0;
z-index: 9;
background: #ffffff;
border:1px solid @borderColor;
box-shadow: 2px 3px 5px 0.1px rgba(0,0,0,.1);
>li{
margin: 0;
// min-width: 100px;
// text-align: center;
margin-right: 20px;
text-align: left;
display: -webkit-inline-box;
display: inline-block;
.ms-line-height(50px);
.ms-font(@defalutSize, @defalutColor, normal);
&:hover{
cursor: pointer;
color: @themeColor;
}
}
// 更多图标
i{
position: absolute;
top: 18px;
right: 19px;
.ms-font(@defalutSize, @defalutColor, normal);
&:hover{
cursor: pointer;
}
}
}
}
}
//logo
.ms-admin-logo {
min-width: 200px;
width: 200px;
.ms-align-center;
overflow: hidden;
&>img {
padding: @listPadding 0 @listPadding 20px;
width: 80px;
}
&>div {
.ms-align-center;
img {
margin-top: -10px;
margin-left: 3px;
}
span {
margin-top: -7px;
position: absolute;
margin-left: 6px;
font-size: 12px;
}
}
.iconfont {
color: #fff;
margin-left: auto;
margin-right: @listPadding;
cursor: pointer;
}
}
//头部右侧mstore
.ms-admin-mstore {
margin-left: auto;
min-width: 200px;
.ms-align-center;
justify-content: flex-end;
padding: 0;
.ms-admin-mstore-icon {
min-width: @headHeight;
.ms-width-height(@headHeight);
background-color: #0080FF;
.ms-flex(center);
align-items: center;
cursor: pointer;
.iconfont {
color: #fff;
}
}
}
//头部登录
.ms-admin-login {
.ms-align-center;
&>span {
width: 120px;
padding: 0 20px;
height: @headHeight;
.ms-align-center;
cursor: pointer;
outline: none;
img {
border-radius: 50%;
.ms-width-height(20px);
margin-right: 8px;
}
span {
color: #fff;
}
}
.active {
background: #fff;
span {
color: @titleColor;
}
}
}
//下拉菜单
.ms-admin-login-down {
width: 120px;
border: none;
.ms-margin-padding(0) !important;
border-radius: 0;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
&>.popper__arrow {
display: none;
}
}
//左侧菜单
.ms-admin-menu-aside{
width: 200px !important;
overflow: visible;
.ms-admin-menu {
.ms-width-height(200px, 100%);
position: relative;
.el-menu--inline {
.is-active {
border-left: 2px solid @themeColor;
}
}
// 左侧收缩按钮
.ms-menu-expand{
transform: rotate(270deg);
position: absolute;
right: -34px;
top: 50%;
cursor: pointer;
// 收缩
i{
.ms-font(14px,#333);
position: absolute;
transform: rotate(90deg);
top: 5px;
right: 43%;
}
&::before{
border-color: transparent transparent #eee;
border-style: none solid solid;
border-width: 0 30px 22px;
content: "";
display: block;
height: 0;
left: -10px;
width: 30px;
}
}
.ms-menu-expand-active{
transform: rotate(90deg);
transition: all .3 ease;
right: -56px;
}
}
// 激活状态
.ms-admin-menu-active{
.ms-width-height(60px, 100%);
}
}
.ms-admin-menu-aside-active{
width: 60px !important;
}
//身体
.ms-admin-container {
height: ~'calc(100vh - 60px)';
&>.ms-admin-main {
padding: 0;
background-color: #fff;
//选项卡
.ms-admin-tabs {
height: 100%;
.el-tabs__content{
height: 100%;
.el-tab-pane{
height: 100%;
}
}
.el-tabs__nav-scroll {
background: #fafafa;
.el-tabs__nav {
border-left: none;
border-radius: 0;
}
}
}
// 嵌套iframe
iframe{
.ms-width-height(100%);
border: none !important;
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment