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
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
2015-12-20 13:45:25 +0800
Commit
8e52763f38345da0c4a1af366185eddd442ad5fd
1 parent
008a600e
cart html structure repaire
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
21 deletions
static/sass/cart/_index.scss
template/m.yohobuy.com/actions/cart/index/index.phtml
static/sass/cart/_index.scss
View file @
8e52763
...
...
@@ -195,8 +195,6 @@
}
}
}
.shopping-cart-zero
{
.cart-zero
{
width
:
100%
;
height
:
auto
;
...
...
template/m.yohobuy.com/actions/cart/index/index.phtml
View file @
8e52763
{
{>
layout/header
}
}
<div
id=
"mainCart"
class=
"shopping-cart-page yoho-page"
>
{
{#
shoppingCart
}
}
{
{#if
isEmptyCart
}
}
<div
class=
"shopping-cart-zero yoho-page"
>
<div
class=
"cart-zero"
>
<i
class=
"iconfont"
>
62
c</i>
<p>您的购物车暂无商品</p>
<a
href=
"/product/new"
>随便逛逛</a>
</div>
{
{>
product/recommend-for-you
}
}
</div>
{
{^
}
}
<div
id=
"mainCart"
class=
"shopping-cart-page yoho-page"
>
{
{#if
showLoginInfo
}
}
<p
class=
"login-info"
>
<span
class=
"iconfont"
>
628
;</span>
...
...
@@ -21,6 +8,14 @@
<a
class=
"btn btn-login"
href=
"{{signurl}}"
>登录</a>
可以同步电脑和手机中的商品
</p>
{
{/if
}
}
{
{#if
isEmptyCart
}
}
<div
class=
"cart-zero"
>
<i
class=
"iconfont"
>
62
c</i>
<p>您的购物车暂无商品</p>
<a
href=
"/product/new"
>随便逛逛</a>
</div>
{
{>
product/recommend-for-you
}
}
{
{^
}
}
{
{#if
cartNav
}
}
<ul
class=
"cart-nav clearfix"
>
...
...
@@ -36,7 +31,6 @@
</li>
</ul>
{
{/if
}
}
{
{/if
}
}
{
{#
commonCart
}
}
<div
class=
"cart-content common"
>
...
...
@@ -54,12 +48,9 @@
{
{>
cart/cart-content
}
}
</div>
{
{/
preSellCart
}
}
</div>
{
{/if
}
}
<input
id=
"cartType"
type=
"hidden"
value=
"{{cartType}}"
>
{
{/
shoppingCart
}
}
{
{>
cart/chose-panel
}
}
</div>
{
{>
layout/footer
}
}
...
...
Please
register
or
login
to post a comment