Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
2016-10-31 17:54:47 +0800
Commit
e570681698d67701c59548d2d2d5d456a8883fae
1 parent
b7331f5e
precode class
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
4 deletions
public/img/product/coupon-small.png → public/img/product/small-coupon-after.png
public/img/product/small-coupon-before.png
public/img/sprite.product.png
public/js/product/detail.page.js
public/scss/product/_detail.css
public/img/product/
coupon-small
.png → public/img/product/
small-coupon-after
.png
View file @
e570681
1.02 KB
public/img/product/small-coupon-before.png
0 → 100644
View file @
e570681
1.03 KB
public/img/sprite.product.png
View file @
e570681
13.8 KB
|
W:
|
H:
13.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
public/js/product/detail.page.js
View file @
e570681
...
...
@@ -594,6 +594,7 @@ bindEvent.add(function() {
}
}
// 增加事件
clickMoreCouponEvent
.
add
(
clickMoreCoupon
);
});
...
...
@@ -703,7 +704,6 @@ window.fetchHotArea = fetchHotArea;
// 商品详情图片懒加载
lazyLoad
(
$
(
'#details-html img'
));
// 咨询和评价
function
fetchComment
()
{
var
commentPage
=
1
,
...
...
public/scss/product/_detail.css
View file @
e570681
...
...
@@ -244,6 +244,8 @@
line-height
:
18px
;
font-size
:
12px
;
color
:
red
;
margin-left
:
8px
;
margin-right
:
8px
;
}
.more-coupon
{
...
...
@@ -255,15 +257,40 @@
font-size
:
12px
;
color
:
white
;
margin-left
:
8px
;
margin-right
:
8px
;
cursor
:
pointer
;
}
.small
{
position
:
relative
;
float
:
left
;
width
:
96px
;
height
:
18px
;
background
:
resolve
(
"product/coupon-small.png"
)
no-repeat
;
margin-right
:
20px
;
margin-right
:
10px
;
margin-left
:
10px
;
background-color
:
#d0021b
;
min-width
:
10px
;
}
.small
:before
{
position
:
absolute
;
display
:
inline-block
;
content
:
""
;
top
:
0
;
left
:
-5px
;
width
:
5px
;
height
:
18px
;
background
:
url(/product/small-coupon-before.png)
;
}
.small
:after
{
position
:
absolute
;
display
:
inline-block
;
content
:
""
;
top
:
0
;
right
:
-5px
;
width
:
5px
;
height
:
18px
;
background
:
url(/product/small-coupon-after.png)
;
}
}
...
...
Please
register
or
login
to post a comment