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
f688b2be
Commit
f688b2be
authored
Sep 05, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
5c647c76
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
frame_tpl.html
application/index/view/global/frame_tpl.html
+2
-1
public.css
public/resource/css/public.css
+3
-4
public.js
public/resource/js/public.js
+4
-2
No files found.
application/index/view/global/frame_tpl.html
View file @
f688b2be
...
@@ -38,7 +38,8 @@
...
@@ -38,7 +38,8 @@
<!--添加隐藏按钮-->
<!--添加隐藏按钮-->
<div
id=
"hide_menu"
>
<div
id=
"hide_menu"
>
<span
class=
"width-136-hide"
>
<span
class=
"width-136-hide"
>
隐藏
<img
src=
"/resource/image/icon_down@2x.png"
class=
"text-icon-hide"
/>
隐藏
<!--<img src="/resource/image/icon_down@2x.png" class="text-icon-hide"/>-->
</span>
</span>
</div>
</div>
...
...
public/resource/css/public.css
View file @
f688b2be
...
@@ -116,23 +116,22 @@ a:hover{
...
@@ -116,23 +116,22 @@ a:hover{
/*隐藏按钮 样式*/
/*隐藏按钮 样式*/
#hide_menu
{
#hide_menu
{
overflow
:
hidden
;
overflow
:
hidden
;
margin-top
:
-1
0
px
;
margin-top
:
-1
8
px
;
}
}
.glyphicon-chevron-down
{
.glyphicon-chevron-down
{
float
:
right
;
float
:
right
;
}
}
.width-136-hide
{
.width-136-hide
{
/*width: 136px;*/
width
:
12%
;
width
:
12%
;
height
:
36px
;
height
:
36px
;
color
:
#
fff
;
color
:
#
777
;
line-height
:
36px
;
line-height
:
36px
;
text-align
:
center
;
text-align
:
center
;
float
:
left
;
float
:
left
;
background-color
:
rgba
(
0
,
0
,
0
,
.2
);
font-size
:
16px
;
font-size
:
16px
;
cursor
:
pointer
;
cursor
:
pointer
;
font-weight
:
500
;
}
}
/*菜单图标的样式*/
/*菜单图标的样式*/
...
...
public/resource/js/public.js
View file @
f688b2be
...
@@ -105,11 +105,13 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
...
@@ -105,11 +105,13 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
var
_this
=
$
(
this
);
var
_this
=
$
(
this
);
if
(
$
.
trim
(
_this
.
html
()).
indexOf
(
"隐藏"
)
!=-
1
){
if
(
$
.
trim
(
_this
.
html
()).
indexOf
(
"隐藏"
)
!=-
1
){
$
(
'#sidebar-wrapper'
).
hide
();
$
(
'#sidebar-wrapper'
).
hide
();
_this
.
html
(
'显示<img src="/resource/image/icon_down_hide@2x.png" class="text-icon-hide"/>'
);
_this
.
html
(
'显示'
);
// _this.html('显示<img src="/resource/image/icon_down_hide@2x.png" class="text-icon-hide"/>');
$
(
"#page-content-wrapper"
).
css
(
"width"
,
"100%"
);
//内容显示大小
$
(
"#page-content-wrapper"
).
css
(
"width"
,
"100%"
);
//内容显示大小
}
else
{
}
else
{
$
(
'#sidebar-wrapper'
).
show
();
$
(
'#sidebar-wrapper'
).
show
();
_this
.
html
(
'隐藏<img src="/resource/image/icon_down@2x.png" class="text-icon-hide"/>'
);
_this
.
html
(
'隐藏'
);
// _this.html('隐藏<img src="/resource/image/icon_down@2x.png" class="text-icon-hide"/>');
$
(
"#page-content-wrapper"
).
css
(
"width"
,
"88%"
);
//内容显示大小
$
(
"#page-content-wrapper"
).
css
(
"width"
,
"88%"
);
//内容显示大小
}
}
});
});
...
...
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