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
0f5c0153
Commit
0f5c0153
authored
Aug 27, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新窗口打开页面
parent
7864ea62
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
15 deletions
+2
-15
public.js
public/resource/js/public.js
+1
-14
menu_template_tpl.html
public/resource/template/menu_template_tpl.html
+1
-1
No files found.
public/resource/js/public.js
View file @
0f5c0153
...
@@ -89,24 +89,11 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
...
@@ -89,24 +89,11 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
if
(
window
.
location
.
pathname
==
'/index/getHouseList'
||
window
.
location
.
pathname
==
'/index/followUpList'
||
window
.
location
.
pathname
==
'/index/users_list'
||
window
.
location
.
pathname
==
'/index/RemarkFollowList'
){
if
(
window
.
location
.
pathname
==
'/index/getHouseList'
||
window
.
location
.
pathname
==
'/index/followUpList'
||
window
.
location
.
pathname
==
'/index/users_list'
||
window
.
location
.
pathname
==
'/index/RemarkFollowList'
){
$
(
'#user_city_choose'
).
show
();
$
(
'#user_city_choose'
).
show
();
}
}
//改变title的文字
// if(window.location.pathname == '/index/getHouseList'){
// document.title = '商铺列表';
// };
// if(window.location.pathname == '/index/followUpList'){
// document.title = '商铺跟进列表';
// };
// if(window.location.pathname == '/index/users_list'){
// document.title = '客户列表';
// };
// if(window.location.pathname == '/index/RemarkFollowList'){
// document.title = '客户跟进列表';
// };
_doc
.
on
(
'click'
,
'.menu-sub-alink'
,
function
(
e
){
_doc
.
on
(
'click'
,
'.menu-sub-alink'
,
function
(
e
){
e
.
preventDefault
();
e
.
preventDefault
();
e
.
stopPropagation
();
e
.
stopPropagation
();
var
_this
=
$
(
this
);
var
_this
=
$
(
this
);
location
.
href
=
_this
.
data
(
'href'
);
location
.
href
=
_this
.
attr
(
'href'
);
});
});
_doc
.
on
(
'click'
,
'.menu-main-li'
,
function
(
e
){
_doc
.
on
(
'click'
,
'.menu-main-li'
,
function
(
e
){
...
...
public/resource/template/menu_template_tpl.html
View file @
0f5c0153
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<!--<
img
src
=
"/resource/image/icon_more@2x.png"
id
=
""
/>-->
<!--<
img
src
=
"/resource/image/icon_more@2x.png"
id
=
""
/>-->
<
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-zhanwei"
><
/span> <span class="span-list">
[
%= it[item
][
"_child"
][
item_menu
][
'title'
]
%]</
span
><
/a></
li
>
<
li
><
a
href
=
"
/[%= it[item]['_child'][item_menu]['name'] %]"
target
=
"_blank"
class
=
"menu-sub-alink
"
><
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