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
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
2015-10-30 20:30:41 +0800
Commit
e7f7799732f01a69ee4ee4bbd592cc8eecc728e4
1 parent
30a90892
suspend cart
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 @
e7f7799
@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 @
e7f7799
.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 @
e7f7799
...
...
@@ -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 @
e7f7799
<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