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
a4f5bc50
Commit
a4f5bc50
authored
Jan 15, 2019
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
313b7874
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
65 deletions
+14
-65
frame_tpl.html
application/index/view/global/frame_tpl.html
+13
-43
main_index.html
application/index/view/main_index/main_index.html
+0
-12
mainIndex.js
public/resource/js/mainIndex.js
+1
-10
No files found.
application/index/view/global/frame_tpl.html
View file @
a4f5bc50
<!DOCTYPE html>
<html
lang=
"en-us"
>
<head>
<head>
<link
rel=
"icon"
href=
"/favicon.ico"
type=
"image/x-icon"
>
<link
rel=
"shortcut icon"
href=
"/favicon.ico"
type=
"image/x-icon"
>
{include file="global/header_tpl" /}
...
...
@@ -30,10 +30,6 @@
.hideBtn2
{
position
:
relative
;
right
:
1px
;
/*border-top: 0px solid transparent;
border-bottom: 20px solid transparent;
border-right: 0px solid #ff9419;
border-left: 22px solid #ff9419 ; */
border-top
:
0px
solid
transparent
;
border-bottom
:
0px
solid
transparent
;
border-right
:
20px
solid
#ff9419
;
...
...
@@ -65,12 +61,8 @@
background-color
:
rgba
(
255
,
255
,
255
)
!important
;
color
:
#333333
!important
;
opacity
:
30%
!important
;
/*padding-top:0px;*/
/*padding-bottom:0px;*/
}
.c-user
{
/*padding-top:0px;*/
/*padding-bottom:0px;*/
border
:
none
;
box-shadow
:
0
0px
22px
-9px
;
}
...
...
@@ -79,10 +71,7 @@
.c-user
li
a
:focus
,
.c-user
>
li
>
a
:hover
{
background-color
:
#cccccc
!important
;
color
:
#333333
!important
;
/*padding-bottom:0px;*/
/*padding-top:0px;*/
}
.new_btn
{
...
...
@@ -109,31 +98,18 @@
background-color
:
#F8F9FB
!important
;
}
</style>
</head>
<!--<body style="margin: 0 auto !important">-->
<body>
<div
class=
"navbar"
style=
"background: #FF750E !important;"
id=
"headTileNavBar"
>
</head>
<body>
<div
class=
"navbar"
style=
"background: #FF750E !important;"
id=
"headTileNavBar"
>
<div
class=
"container-fluid"
>
<a
class=
"brand"
>
<i><img
src=
"/resource/image/logo@1x.png"
class=
"houtai_footer_icon1"
></i>
<!--<span class="hidden-phone">同联商业后台管理中心</span>-->
</a>
</div>
<!--<select class="form-control btn2-city ld-Marheight-city" id="user_city_choose">
<option value="310100">上海市</option>
<option value="330100">杭州市</option>
</select>-->
<i><img
src=
"/resource/image/icon_address_white@1x.png"
class=
"address_control"
></i>
<select
class=
"form-control btn2-city ld-Marheight-city user_city_choose_site new_class"
disabled=
"disabled"
>
</select>
<select
class=
"form-control btn2-city ld-Marheight-city user_city_choose_site new_class"
disabled=
"disabled"
>
</select>
<div
class=
"dropdown"
>
<button
class=
"btn btn-default dropdown-toggle new_btn"
type=
"button"
id=
"dropdownMenu1"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"true"
>
</button>
<!--<span class="caret"></span>-->
<button
class=
"btn btn-default dropdown-toggle new_btn"
type=
"button"
id=
"dropdownMenu1"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"true"
></button>
<i><img
src=
"/resource/image/Path20@1x.png"
class=
"down_control"
></i>
<ul
class=
"dropdown-menu c-user"
aria-labelledby=
"dropdownMenu1"
>
<li><a
href=
"#"
>
修改密码
</a></li>
...
...
@@ -141,23 +117,17 @@
<li><a
href=
"/index/logout"
id=
"logout"
>
退出登录
</a></li>
</ul>
</div>
</div>
<!--<div id="hideLine" style="width:2px;height:80px;background-color: #000000;float:left;display:inline;display:none"></div>
--><!--添加隐藏按钮-->
<div
id=
"hide_menu"
class=
""
style=
"width:2%;display:inline;position:absolute;z-index:10000;top:80px;left:0px;"
>
<div
class=
"width-136-hide hideBtn1"
style=
";text-align:center;"
>
</div>
<div
id=
"hide_menu"
class=
""
style=
"width:25px;display:inline;position:absolute;z-index:10000;top:80px;left:0px;"
>
<div
class=
"width-136-hide hideBtn1"
style=
"text-align:center;"
>
<div
style=
"width:100%;"
><img
src=
"/resource/image/-@1x.png"
style=
"width:14px;height:14px;margin-left:6px;margin-top:14px"
class=
"houtai_footer_icon1"
></div>
<span
style=
"position:absolute;left:6px;top:34px"
>
隐藏
</span>
<!--<img src="/resource/image/icon_down@2x.png" class="text-icon-hide"/>-->
</div>
</div>
<div
id=
"wrapper"
style=
"width:100% !important;float:left !important;display:inline"
>
</div>
<div
id=
"wrapper"
style=
"width:100% !important;float:left !important;display:inline"
>
{__CONTENT__}
{include file="global/footer_tpl" /}
</div>
</body>
</div>
</body>
</html>
application/index/view/main_index/main_index.html
View file @
a4f5bc50
...
...
@@ -3,15 +3,11 @@
<input
type=
"hidden"
class=
"page-load"
id=
"mainIndex"
/>
<style>
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
html
{
font-size
:
640%
;
overflow
:
scroll
!important
;
padding
:
0
15px
;
}
body
{
/*overflow: scroll;;*/
}
.container
{
width
:
100%
;
height
:
100%
;
...
...
@@ -58,8 +54,6 @@
height
:
820px
!important
;
overflow-y
:
auto
;
}
/* 左侧目录标签的滚动条样式 */
#mainFrameTabs
::-webkit-scrollbar-track
{
-webkit-box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0.3
)
!important
;
...
...
@@ -88,15 +82,9 @@
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<iframe
frameborder=
"0"
class=
"iframe-type"
scrolling=
"yes"
style=
"width:100%;height:100%;border:0px"
src=
"/index/PerformanceRanking"
>
</iframe>
</div>
</div>
</div>
</div>
</div>
<!--加载图标-->
<!--<div id="main_loading_pic">
<img src="/resource/image/jz2.gif">
</div>-->
public/resource/js/mainIndex.js
View file @
a4f5bc50
...
...
@@ -17,26 +17,17 @@ define (['doT', 'text!temp/menu_template_tpl.html','ckfinder','ckfinderStart', '
//只在首页显示 菜单
var
height1
=
$
(
"html"
).
height
();
var
height
=
$
(
"html"
).
height
()
-
80
+
"px !important"
;
// $('.tab-content').attr("style","height:"+height);
$
(
'#mainFrameTabs'
).
attr
(
"style"
,
"height:"
+
height
);
$
(
'#sidebar-wrapper'
).
attr
(
"style"
,
"height:"
+
height
);
// var width = $("html").width() - 160 + "px !important" ;
var
sceenWidth
=
window
.
screen
.
width
<
1200
?
1200
:
window
.
screen
.
width
;
var
width
=
sceenWidth
-
$
(
'#sidebar-wrapper'
).
width
()
+
"px !important"
;
var
sceen
=
sceenWidth
+
"px !important"
;
$
(
'#mainFrameTabs'
).
attr
(
"style"
,
"min-width:989px !important"
);
// $('#mainFrameTabs').attr("style","min-width:"+height);
$
(
'#mainFrameTabs'
).
attr
(
"style"
,
"min-width:959px !important"
);
$
(
'#wrapper'
).
attr
(
"style"
,
"min-width:"
+
sceen
);
$
(
'#headTileNavBar'
).
attr
(
"style"
,
"min-width:"
+
sceen
);
// $('#mainFrameTabs').attr("style","min-width:1200px !important");
// $('#wrapper').attr("style","min-width:1570px !important" );
// $('#headTileNavBar').attr("style","min-width:1570px !important");
menu_bar
(
function
(){
//回调部分
//记录tab的点击状态,对应的标签内容展开,并高亮显示
...
...
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