Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
Commits
Go to a project
GitLab
Go to group
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
Rock Zhang
2016-03-08 11:09:05 +0800
Commit
da8cf121101f44ecb7bab1f080a6b57e0bcee8ac
2 parents
38f3f30d
1d8cc5a5
Merge branch 'feature/limitsale' of git.dev.yoho.cn:web/yohobuy into feature/limitsale
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
8 deletions
static/js/product/detail/like.js
static/sass/product/_limit.css
template/m.yohobuy.com/actions/product/detail/limit.phtml
static/js/product/detail/like.js
View file @
da8cf12
...
...
@@ -68,7 +68,7 @@ $('#likeBtn').on('touchstart', function() {
$
(
'#addtoCart'
).
on
(
'touchstart'
,
function
()
{
$
(
'.cart-bar'
).
hide
();
chosePanel
.
setLimitGoodModeWithSknId
(
productCode
,
skn
);
productCode
&&
chosePanel
.
setLimitGoodModeWithSknId
(
productCode
,
skn
);
chosePanel
.
show
();
//统计代码:用于统计用户加入购物车的动作
...
...
static/sass/product/_limit.css
View file @
da8cf12
...
...
@@ -8,17 +8,15 @@
line-height
:
2.2rem
;
margin-bottom
:
0.1rem
;
background-color
:
#fff
;
padding
:
0.2rem
0
;
padding
:
0.2rem
0
0.2rem
0.5rem
;
div
{
width
:
2
0%
;
width
:
0%
;
display
:
inline-block
;
float
:
left
;
img
{
width
:
1.5rem
;
border
:
1px
solid
#ccc
;
border-radius
:
100%
;
position
:
relative
;
top
:
0.25rem
;
}
...
...
template/m.yohobuy.com/actions/product/detail/limit.phtml
View file @
da8cf12
{
{>
layout/header
}
}
<div
class=
"limit-good-page yoho-page"
>
<div
class=
"top clearfix"
>
<div>
<img
src=
"{{profile}}"
alt=
""
>
</div>
<p>我在Yoho!Buy有货发现了一个限定发售商品</p>
</div>
<div
class=
"banner"
>
...
...
Please
register
or
login
to post a comment