Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
9 years ago
Commit
c949ec2a734dbe80d834623009173d954887f32e
1 parent
89c4c3bf
防止重复提交
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
public/js/common/header.js
public/scss/components/_round-color.css
public/js/common/header.js
View file @
c949ec2
...
...
@@ -38,6 +38,13 @@ function handelProduct(data) {
}
function
refreshBag
()
{
var
time
=
Date
.
parse
(
new
Date
()),
oldTime
=
this
.
time
;
if
(
oldTime
&&
time
-
oldTime
<
100
)
{
return
;
}
this
.
time
=
time
;
$
.
ajax
({
type
:
'GET'
,
url
:
'/shopping/cart/data'
,
...
...
@@ -182,6 +189,7 @@ $searchKey.focus(function() {
$searchKey
.
val
(
'search'
).
css
(
'color'
,
'#aaa'
);
}
}).
val
(
'search'
).
css
(
'color'
,
'#aaa'
);
// }
$clearInput
.
click
(
function
()
{
...
...
public/scss/components/_round-color.css
View file @
c949ec2
...
...
@@ -21,7 +21,6 @@
img
{
width
:
100%
;
height
:
100%
;
margin-top
:
-1px
;
}
}
...
...
Please
register
or
login
to post a comment