Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
d9bb10e11b5d7dd5ede0b00ea84824c522534837
2 parents
04b96b7c
69b29c58
Merge remote-tracking branch 'remotes/origin/develop/wap' into beta/wap
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
static/js/cart/chose-panel.js
static/js/product/detail/like.js
static/sass/me/_coupons.scss
static/js/cart/chose-panel.js
View file @
d9bb10e
...
...
@@ -34,6 +34,7 @@ var $chosePanel = $('#chose-panel'),
$allChoseItems
,
queryString
,
$choseArea
,
$cartBar
,
$soonSoldOut
=
$
(
'.soonSoldOut-tag'
),
$yohoPage
=
$
(
'.yoho-page'
);
...
...
@@ -54,6 +55,7 @@ function init() {
$sizeRowList
=
$
(
'.size-list ul'
);
$colorRowList
=
$
(
'.color-list ul'
);
$leftNum
=
$
(
'#left-num'
);
$cartBar
=
$
(
'.cart-bar'
);
curColorIndex
=
0
;
curSizeIndex
=
0
;
isEdit
=
0
;
...
...
@@ -136,6 +138,10 @@ function show(html, cb) {
function
hide
()
{
$
(
'.chose-panel'
).
hide
();
innerScroll
.
enableScroll
(
$choseArea
);
if
(
$cartBar
.
length
>
0
)
{
$cartBar
.
show
();
}
}
//修改加入购物车的文字和背景
...
...
static/js/product/detail/like.js
View file @
d9bb10e
...
...
@@ -64,6 +64,7 @@ $('#likeBtn').on('touchstart', function() {
});
$
(
'#addtoCart'
).
on
(
'touchstart'
,
function
()
{
$
(
'.cart-bar'
).
hide
();
chosePanel
.
show
();
//统计代码:用于统计用户加入购物车的动作
...
...
static/sass/me/_coupons.scss
View file @
d9bb10e
...
...
@@ -52,9 +52,9 @@
font-size
:
50px
;
}
p
{
width
:
59
.517241%
;
width
:
61
.517241%
;
height
:
auto
;
margin
:
0
3
%
16em
/
$pxConvertRem
;
margin
:
0
2
%
16em
/
$pxConvertRem
;
float
:
left
;
&
:first-of-type
{
margin-top
:
0
.75rem
;
...
...
Please
register
or
login
to post a comment