Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
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
梁志锋
2015-10-30 20:31:43 +0800
Commit
a6dd42d9cead49712b3c05c921c16a010f952047
2 parents
98a21952
10c19707
Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
1 deletions
static/sass/product/_index.scss
static/sass/product/_suspend-cart.scss
template/m.yohobuy.com/partials/product/list.phtml
template/m.yohobuy.com/partials/product/suspend-cart.phtml
static/sass/product/_index.scss
View file @
a6dd42d
@import
"new-arrival"
,
"discount"
,
"list"
,
"detail"
;
\ No newline at end of file
@import
"new-arrival"
,
"discount"
,
"list"
,
"detail"
,
"suspend-cart"
;
\ No newline at end of file
...
...
static/sass/product/_suspend-cart.scss
0 → 100644
View file @
a6dd42d
.suspend-cart
{
position
:
fixed
;
width
:
44px
;
height
:
44px
;
line-height
:
44px
;
border-radius
:
50%
;
background
:
rgba
(
0
,
0
,
0
,
0
.3
);
text-align
:
center
;
right
:
15px
;
bottom
:
70px
;
z-index
:
10
;
.iconfont
{
color
:
#fff
;
font-size
:
22px
;
}
.cart-count
{
position
:
absolute
;
width
:
18px
;
height
:
18px
;
line-height
:
18px
;
border-radius
:
50%
;
background
:
#f00
;
top
:
0
;
right
:
0
;
color
:
#fff
;
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/partials/product/list.phtml
View file @
a6dd42d
...
...
@@ -120,4 +120,6 @@
{
{#if
query
}
}
<input
id=
"query"
type=
"hidden"
value=
{
{query
}
}>
{
{/if
}
}
{
{>
product/suspend-cart
}
}
{
{/
goodList
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/partials/product/suspend-cart.phtml
0 → 100644
View file @
a6dd42d
<div id="suspend-cart" class="suspend-cart">
<a href={{cartUrl}}>
<span class="iconfont"></span>
</a>
<span class="cart-count hide">1</span>
</div>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment