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
0c121901
Commit
0c121901
authored
Jul 04, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
城市定位
parent
8ea16c23
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
edit.html
application/index/view/houses/edit.html
+14
-0
shop_edit.css
public/resource/css/shop_edit.css
+1
-1
shop_edit.js
public/resource/js/shop_edit.js
+1
-1
No files found.
application/index/view/houses/edit.html
View file @
0c121901
...
...
@@ -20,6 +20,11 @@
z-index
:
6
;
}
.select-search
{
position
:
absolute
;
left
:
14px
;
top
:
26px
;
}
</style>
<!--默认#page-content-wrapper是隐藏的-->
<div
id=
"page-content-wrapper"
style=
"display: none;"
>
...
...
@@ -662,6 +667,15 @@
<div
class=
"modal-header address-search-head-div"
>
<div
class=
"address-header-bar"
>
<div
id=
"address_city_title"
>
上海市
</div>
<div
class=
"select-search"
>
<select
name=
""
id=
"select-city-search"
class=
"form-control"
>
<option
value=
"上海市"
>
上海市
</option>
<option
value=
"杭州市"
>
杭州市
</option>
<option
value=
"深圳市"
>
深圳市
</option>
<option
value=
"广州市"
>
广州市
</option>
<option
value=
"北京市"
>
北京市
</option>
</select>
</div>
<div
class=
"crile"
>
<input
class=
"main-input"
id=
"search_input"
type=
"search"
placeholder=
"请输入地址"
/>
<img
src=
"/resource/image/search_gb.png"
class=
"cancel-pic"
/>
...
...
public/resource/css/shop_edit.css
View file @
0c121901
...
...
@@ -78,7 +78,7 @@
.address-search-head-div
{
height
:
88px
;
overflow
:
hidden
;
padding-left
:
1
2
%
;
padding-left
:
1
5
%
;
}
/*获取百度经纬度样式*/
/*********************************************************百度定位页面iframe引入*************************************/
...
...
public/resource/js/shop_edit.js
View file @
0c121901
...
...
@@ -680,7 +680,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
function
addressLoadMain
(
keyword
)
{
loadItem
.
show
();
noMoreItem
.
hide
();
LocalSearch
.
setLocation
(
'上海市'
);
LocalSearch
.
setLocation
(
$
(
'#select-city-search'
).
val
()
);
LocalSearch
.
search
(
keyword
);
};
...
...
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