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
0e9faacf
Commit
0e9faacf
authored
Sep 06, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
城市筛选优化
parent
d584eefd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
4 deletions
+19
-4
frame_tpl.html
application/index/view/global/frame_tpl.html
+3
-2
public.css
public/resource/css/public.css
+12
-2
houseList.js
public/resource/js/houseList.js
+4
-0
No files found.
application/index/view/global/frame_tpl.html
View file @
0e9faacf
...
@@ -47,8 +47,9 @@
...
@@ -47,8 +47,9 @@
<span
class=
"hidden-phone"
>
同联商业后台管理中心
</span>
<span
class=
"hidden-phone"
>
同联商业后台管理中心
</span>
</a>
</a>
</div>
</div>
<select
class=
"form-control btn2 ld-Marheight-city"
id=
"user_city_choose"
>
<select
class=
"form-control btn2-city ld-Marheight-city"
id=
"user_city_choose"
>
<option
value=
"310100"
selected=
"selected"
>
上海市
</option>
<!--<option value="">城市筛选</option>-->
<option
value=
"310100"
>
上海市
</option>
<option
value=
"330100"
>
杭州市
</option>
<option
value=
"330100"
>
杭州市
</option>
</select>
</select>
<div
class=
"dropdown"
>
<div
class=
"dropdown"
>
...
...
public/resource/css/public.css
View file @
0e9faacf
...
@@ -652,4 +652,15 @@ p{margin: 0;}
...
@@ -652,4 +652,15 @@ p{margin: 0;}
float
:
left
;
float
:
left
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
}
}
\ No newline at end of file
#user_city_choose
{
background
:
rgba
(
0
,
0
,
0
,
.2
);
color
:
#fff
;
border
:
0
;
}
.btn2-city
{
width
:
106px
;
float
:
left
;
margin-left
:
10px
;
border-radius
:
16px
;
}
public/resource/js/houseList.js
View file @
0e9faacf
...
@@ -98,6 +98,8 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -98,6 +98,8 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
$
(
"#reset"
).
click
(
function
()
{
//重置
$
(
"#reset"
).
click
(
function
()
{
//重置
document
.
getElementById
(
"form_search"
).
reset
();
document
.
getElementById
(
"form_search"
).
reset
();
$
(
'#business_circle_id'
).
html
(
''
);
});
});
$
(
'#modal-dujia'
).
on
(
'show.bs.modal'
,
function
()
{
$
(
'#modal-dujia'
).
on
(
'show.bs.modal'
,
function
()
{
...
@@ -253,6 +255,8 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
...
@@ -253,6 +255,8 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
//城市 区域 二级联动 筛选
//城市 区域 二级联动 筛选
_doc
.
on
(
'input'
,
'#user_city_choose'
,
function
()
{
_doc
.
on
(
'input'
,
'#user_city_choose'
,
function
()
{
$
(
'#shop_area_id'
).
val
(
''
);
$
(
'#shop_area_id'
).
val
(
''
);
$
(
'#business_circle_id'
).
val
(
''
);
$
(
'#business_circle_id'
).
html
(
''
);
business
.
getList
();
business
.
getList
();
var
_this
=
$
(
this
);
var
_this
=
$
(
this
);
var
_id
=
_this
.
val
();
var
_id
=
_this
.
val
();
...
...
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