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
9647ffc5
Commit
9647ffc5
authored
Aug 27, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加高级搜索
parent
10a560f0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
houseList.html
application/index/view/houses/houseList.html
+0
-0
houseList.js
public/resource/js/houseList.js
+14
-0
No files found.
application/index/view/houses/houseList.html
View file @
9647ffc5
This diff is collapsed.
Click to expand it.
public/resource/js/houseList.js
View file @
9647ffc5
...
...
@@ -26,6 +26,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
all_shop
:
true
,
// false: 本人商铺,true:所有商铺
is_exclusive_type
:
0
,
//0非独家 1:独家
auth_edit_exclusive
:
0
,
//0:无独家权限 1:有独家权限
main_select
:
false
,
// true : 开启高级搜索 ,false :关闭高级搜索
init
:
function
()
{
//初始化dot
business
.
getDistrict
();
...
...
@@ -124,6 +125,19 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
business
.
getList
(
1
);
});
$
(
'#main_select'
).
unbind
(
'click'
).
bind
(
'click'
,
function
(){
business
.
main_select
=
!
business
.
main_select
;
console
.
log
(
business
.
main_select
);
if
(
business
.
main_select
){
$
(
'.main-select'
).
show
();
$
(
'#main_select'
).
html
(
"关闭高级搜索"
);
}
else
{
$
(
'.main-select'
).
hide
();
$
(
'#main_select'
).
html
(
"高级搜索"
);
}
});
$
(
document
).
delegate
(
".del_modal"
,
"click"
,
function
()
{
business
.
id
=
$
(
this
).
attr
(
"data-id"
);
...
...
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