Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
b202d4a0012055759f59d2588f29baa35aba5c22
1 parent
683a34e8
修改地址页面 省市区点击时间延迟绑定
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
static/js/me/address-act.js
static/js/me/address-act.js
View file @
b202d4a
...
...
@@ -117,20 +117,20 @@ $input.on('focus', function() {
$footer
.
show
();
});
// 省市区
$area
.
on
(
'touchend'
,
function
()
{
$editAddressPage
.
hide
();
$addressListPage
.
show
(
1
,
function
()
{
$footer
.
hide
();
});
currentPage
=
'list'
;
$navTitle
.
html
(
'地区选择'
);
});
// 省市区列表异步加载
$
.
get
(
'/home/locationList'
).
then
(
function
(
html
)
{
$addressListPage
.
html
(
html
);
// 省市区
$area
.
on
(
'touchend'
,
function
()
{
$editAddressPage
.
hide
();
$addressListPage
.
show
(
1
,
function
()
{
$footer
.
hide
();
});
currentPage
=
'list'
;
$navTitle
.
html
(
'地区选择'
);
});
// touchend 在下滑的时候会触发
// 省市区联动
$addressListPage
.
find
(
'.address'
).
each
(
function
(
i
,
elem
)
{
...
...
Please
register
or
login
to post a comment