Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
hujun
tl_estate
Commits
962c3592
Commit
962c3592
authored
Aug 01, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台样式优化
parent
36c1c999
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
+13
-7
public.css
public/resource/css/public.css
+10
-4
public.js
public/resource/js/public.js
+2
-2
menu_template_tpl.html
public/resource/template/menu_template_tpl.html
+1
-1
No files found.
public/resource/css/public.css
View file @
962c3592
...
@@ -2,7 +2,7 @@ body {
...
@@ -2,7 +2,7 @@ body {
/*width: 1335px !important;*/
/*width: 1335px !important;*/
/*min-width: 1335px !important;*/
/*min-width: 1335px !important;*/
width
:
1200px
!important
;
width
:
1200px
!important
;
min-width
:
1200px
!important
;
min-width
:
1200px
!important
;
margin
:
0
;
margin
:
0
;
margin
:
0
auto
;
margin
:
0
auto
;
background-color
:
#F2F2F2
;
background-color
:
#F2F2F2
;
...
@@ -88,7 +88,7 @@ a:hover{
...
@@ -88,7 +88,7 @@ a:hover{
overflow-y
:
auto
;
overflow-y
:
auto
;
transition
:
all
0.5s
ease
;
transition
:
all
0.5s
ease
;
/*width: 220px;*/
/*width: 220px;*/
width
:
1
2
%
;
width
:
1
4
%
;
z-index
:
1000
;
z-index
:
1000
;
float
:
left
;
float
:
left
;
}
}
...
@@ -102,7 +102,7 @@ a:hover{
...
@@ -102,7 +102,7 @@ a:hover{
}*/
}*/
/*新版本 样式*/
/*新版本 样式*/
#page-content-wrapper
{
#page-content-wrapper
{
width
:
8
8
%
;
width
:
8
6
%
;
float
:
left
;
float
:
left
;
}
}
/*隐藏按钮 样式*/
/*隐藏按钮 样式*/
...
@@ -115,7 +115,7 @@ a:hover{
...
@@ -115,7 +115,7 @@ a:hover{
float
:
right
;
float
:
right
;
}
}
.width-136-hide
{
.width-136-hide
{
width
:
1
2
%
;
width
:
1
4
%
;
height
:
36px
;
height
:
36px
;
color
:
#fff
;
color
:
#fff
;
line-height
:
36px
;
line-height
:
36px
;
...
@@ -132,6 +132,12 @@ a:hover{
...
@@ -132,6 +132,12 @@ a:hover{
height
:
13px
;
height
:
13px
;
margin-left
:
10px
;
margin-left
:
10px
;
}
}
.glyphicon-zhanwei
{
margin-left
:
10px
;
}
.sidebar-nav
li
{
border-bottom
:
1px
solid
#1a1a1a
;
}
.navbar
{
.navbar
{
border
:
none
;
border
:
none
;
}
}
...
...
public/resource/js/public.js
View file @
962c3592
...
@@ -99,11 +99,11 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
...
@@ -99,11 +99,11 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
$
(
'.width-136-hide'
).
html
(
'显示'
);
$
(
'.width-136-hide'
).
html
(
'显示'
);
_this
.
html
(
'显示'
);
_this
.
html
(
'显示'
);
console
.
log
(
2
);
console
.
log
(
2
);
$
(
"#page-content-wrapper"
).
css
(
"width"
,
"100
%"
);
// $("#page-content-wrapper").css("width","88
%");
}
else
{
}
else
{
$
(
'#sidebar-wrapper'
).
show
();
$
(
'#sidebar-wrapper'
).
show
();
_this
.
html
(
'隐藏'
);
_this
.
html
(
'隐藏'
);
$
(
"#page-content-wrapper"
).
css
(
"width"
,
"88%"
);
//
$("#page-content-wrapper").css("width","88%");
}
}
});
});
...
...
public/resource/template/menu_template_tpl.html
View file @
962c3592
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<!--<
img
src
=
"/resource/image/icon_more@2x.png"
id
=
"icon_more_menu"
/>-->
<!--<
img
src
=
"/resource/image/icon_more@2x.png"
id
=
"icon_more_menu"
/>-->
<
ul
class
=
"dropdown-menu"
role
=
"menu"
>
<
ul
class
=
"dropdown-menu"
role
=
"menu"
>
[
%
for
(
var
item_menu
in
it
[
item
][
"_child"
]){
%
]
[
%
for
(
var
item_menu
in
it
[
item
][
"_child"
]){
%
]
<
li
><
a
href
=
"javascript:;"
target
=
"_blank"
class
=
"menu-sub-alink"
data
-
href
=
"/[%= it[item]['_child'][item_menu]['name'] %]"
><
span
class
=
"glyphicon
glyphicon-dashboard"
aria
-
hidden
=
"true
"
><
/span> <span class="span-list">
[
%= it[item
][
"_child"
][
item_menu
][
'title'
]
%]</
span
><
/a></
li
>
<
li
><
a
href
=
"javascript:;"
target
=
"_blank"
class
=
"menu-sub-alink"
data
-
href
=
"/[%= it[item]['_child'][item_menu]['name'] %]"
><
span
class
=
"glyphicon
-zhanwei
"
><
/span> <span class="span-list">
[
%= it[item
][
"_child"
][
item_menu
][
'title'
]
%]</
span
><
/a></
li
>
[
%
}
%
]
[
%
}
%
]
<
/ul
>
<
/ul
>
[
%
}
%
]
[
%
}
%
]
...
...
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