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
11965c1ccaeb7cd4960ab9a6b3c6739f30bc6d00
1 parent
0ca90c6b
地址列表点击背景色变化
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
static/js/me/address-act.js
static/sass/me/_address.scss
static/js/me/address-act.js
View file @
11965c1
...
...
@@ -55,7 +55,7 @@ $addressForm.on('submit', function() {
}
if
(
security
.
hasDangerInput
(
false
))
{
return
false
;
return
false
;
}
// 简单的表单校验
...
...
@@ -164,6 +164,12 @@ $addressListPage.find('.address-last').each(function(i, elem) {
});
});
$addressListPage
.
on
(
'touchstart'
,
'li'
,
function
()
{
$
(
this
).
addClass
(
'highlight'
);
}).
on
(
'touchend touchcancel'
,
'li'
,
function
()
{
$
(
this
).
removeClass
(
'highlight'
);
});
$
(
'input, textarea'
).
on
(
'focus'
,
function
()
{
$footer
.
hide
();
}).
on
(
'blur'
,
function
()
{
...
...
static/sass/me/_address.scss
View file @
11965c1
...
...
@@ -207,10 +207,16 @@
font-size
:
pxToRem
(
32px
);
line-height
:
pxToRem
(
88px
);
border-bottom
:
1px
solid
#e0e0e0
;
.iconfont
{
float
:
right
;
color
:
#d0d0d0
;
}
&
.highlight
{
background
:
#eee
;
}
ul
{
display
:
none
;
position
:
absolute
;
...
...
Please
register
or
login
to post a comment