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
cf43ae77
Commit
cf43ae77
authored
Feb 18, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
058250bb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
houseList.html
application/index/view/houses/houseList.html
+0
-1
houseList.js
public/resource/js/houseList.js
+4
-0
house_template_tpl.html
public/resource/template/house_template_tpl.html
+5
-1
No files found.
application/index/view/houses/houseList.html
View file @
cf43ae77
...
@@ -272,7 +272,6 @@
...
@@ -272,7 +272,6 @@
<option
value=
""
>
出租状态
</option>
<option
value=
""
>
出租状态
</option>
<option
value=
"1"
>
求租
</option>
<option
value=
"1"
>
求租
</option>
<option
value=
"2"
>
已租
</option>
<option
value=
"2"
>
已租
</option>
<option
value=
"3"
>
无效
</option>
</select>
</select>
<select
class=
"form-control btn2 "
id=
"yetai_id"
>
<select
class=
"form-control btn2 "
id=
"yetai_id"
>
...
...
public/resource/js/houseList.js
View file @
cf43ae77
...
@@ -88,6 +88,8 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -88,6 +88,8 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
// $('#end_date').val(day_end);//去掉默认时间
// $('#end_date').val(day_end);//去掉默认时间
//初始化城市 区域筛选
//初始化城市 区域筛选
// business.initializationCityFunction();
// business.initializationCityFunction();
// 商铺列表 默认显示求租房源
$
(
'#lease_state'
).
val
(
1
);
business
.
getList
(
1
);
business
.
getList
(
1
);
business
.
event
();
business
.
event
();
business
.
resetLoad
();
business
.
resetLoad
();
...
@@ -1340,6 +1342,8 @@ if(data.code == 200) {
...
@@ -1340,6 +1342,8 @@ if(data.code == 200) {
params
.
price_start
=
$
(
'#price_start'
).
val
();
//月租金开始
params
.
price_start
=
$
(
'#price_start'
).
val
();
//月租金开始
params
.
price_end
=
$
(
'#price_end'
).
val
();
//月租金结束
params
.
price_end
=
$
(
'#price_end'
).
val
();
//月租金结束
params
.
fit_industry_type
=
$
(
'#suitable_yetai_input'
).
val
();
//适合业态
params
.
fit_industry_type
=
$
(
'#suitable_yetai_input'
).
val
();
//适合业态
params
.
residue_type
=
$
(
'#lease_state'
).
val
();
//求租 已租 无效 筛选
$
.
ajax
({
$
.
ajax
({
url
:
'/index/getHouseList.html'
,
//获取列表
url
:
'/index/getHouseList.html'
,
//获取列表
type
:
'GET'
,
type
:
'GET'
,
...
...
public/resource/template/house_template_tpl.html
View file @
cf43ae77
...
@@ -61,7 +61,11 @@
...
@@ -61,7 +61,11 @@
[
%
}
%
]
[
%
}
%
]
<
/td
>
<
/td
>
<
td
>
<
td
>
求租
[
%
if
(
it
[
item
][
"residue_num"
]
==
0
)
{
%
]
已租
[
%
}
else
{
%
]
求租
[
%
}
%
]
<
/td
>
<
/td
>
<
td
>
<
td
>
[
%
if
(
it
[
item
][
"is_show"
]
==
0
)
{
%
]
[
%
if
(
it
[
item
][
"is_show"
]
==
0
)
{
%
]
...
...
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