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
728c6f6e
Commit
728c6f6e
authored
Jul 12, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
站点显示优化
parent
01f368f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
frame_tpl.html
application/index/view/global/frame_tpl.html
+9
-4
mainIndex.js
public/resource/js/mainIndex.js
+1
-1
No files found.
application/index/view/global/frame_tpl.html
View file @
728c6f6e
...
@@ -108,17 +108,22 @@
...
@@ -108,17 +108,22 @@
<i><img
src=
"/resource/image/logo@1x.png"
class=
"houtai_footer_icon1"
></i>
<i><img
src=
"/resource/image/logo@1x.png"
class=
"houtai_footer_icon1"
></i>
</a>
</a>
</div>
</div>
<i><img
src=
"/resource/image/icon_address_white@1x.png"
class=
"address_control"
></i>
<!--<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"
>
<div
class=
"dropdown"
style=
"float: right;"
>
<button
class=
"btn btn-default dropdown-toggle new_btn"
type=
"button"
id=
"dropdownMenu1"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"true"
></button>
<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>
<i><img
src=
"/resource/image/Path20@1x.png"
class=
"down_control"
></i>
<ul
class=
"dropdown-menu c-user"
aria-labelledby=
"dropdownMenu1"
>
<ul
class=
"dropdown-menu c-user"
aria-labelledby=
"dropdownMenu1"
style=
"left: 26px;"
>
<li><a
href=
"#"
>
修改密码
</a></li>
<li><a
href=
"#"
>
修改密码
</a></li>
<li
role=
"separator"
class=
"divider"
></li>
<li
role=
"separator"
class=
"divider"
></li>
<li><a
href=
"/index/logout"
id=
"logout"
>
退出登录
</a></li>
<li><a
href=
"/index/logout"
id=
"logout"
>
退出登录
</a></li>
</ul>
</ul>
</div>
</div>
<div
style=
"display: none;"
>
<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>
</div>
</div>
</div>
<div
id=
"hide_menu"
class=
""
style=
"width:25px;display:inline;position:absolute;z-index:10000;top:80px;left:0px;"
>
<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
class=
"width-136-hide hideBtn1"
style=
"text-align:center;"
>
...
...
public/resource/js/mainIndex.js
View file @
728c6f6e
...
@@ -84,7 +84,7 @@ define (['doT', 'text!temp/menu_template_tpl.html','ckfinder','ckfinderStart', '
...
@@ -84,7 +84,7 @@ define (['doT', 'text!temp/menu_template_tpl.html','ckfinder','ckfinderStart', '
if
(
user_info_obj
)
{
if
(
user_info_obj
)
{
var
temp
=
document
.
getElementById
(
'menu_tpl'
).
innerHTML
;
var
temp
=
document
.
getElementById
(
'menu_tpl'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#dropdownMenu1"
).
append
(
user_info_obj
[
'name'
]);
$
(
"#dropdownMenu1"
).
append
(
user_info_obj
[
'
city'
]
+
'-'
+
user_info_obj
[
'
name'
]);
$
(
"#menu_bar"
).
html
(
doTtmpl
(
user_info_obj
[
'menu'
]));
$
(
"#menu_bar"
).
html
(
doTtmpl
(
user_info_obj
[
'menu'
]));
//回调
//回调
...
...
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