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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
37 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
}
}
{
{#
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
}
}
<div
id=
"mainCart"
class=
"shopping-cart-page yoho-page"
>
{
{#
shoppingCart
}
}
{
{#if
showLoginInfo
}
}
<p
class=
"login-info"
>
<span
class=
"iconfont"
>
628
;</span>
请您先
<a
class=
"btn btn-login"
href=
"{{signurl}}"
>登录</a>
可以同步电脑和手机中的商品
</p>
{
{^
}
}
{
{#if
cartNav
}
}
{
{/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"
>
<li
class=
"active"
>
<span>
...
...
@@ -35,31 +30,27 @@
</span>
</li>
</ul>
{
{/if
}
}
{
{/if
}
}
{
{#
commonCart
}
}
<div
class=
"cart-content common"
>
{
{>
cart/cart-content
}
}
</div>
<div
class=
"cart-content common"
>
{
{>
cart/cart-content
}
}
</div>
{
{/
commonCart
}
}
{
{#
preSellCart
}
}
<div
class=
"cart-content presell hide"
>
<p
class=
"presell-info"
>
<span
class=
"iconfont"
>
61
a;</span>
<span
class=
"txt"
>预售商品全场包邮,到货后立即发货</span>
<span
class=
"txt"
>预售商品不参加活动,不可使用优惠券</span>
</p>
{
{>
cart/cart-content
}
}
</div>
<div
class=
"cart-content presell hide"
>
<p
class=
"presell-info"
>
<span
class=
"iconfont"
>
61
a;</span>
<span
class=
"txt"
>预售商品全场包邮,到货后立即发货</span>
<span
class=
"txt"
>预售商品不参加活动,不可使用优惠券</span>
</p>
{
{>
cart/cart-content
}
}
</div>
{
{/
preSellCart
}
}
</div>
{
{/if
}
}
<input
id=
"cartType"
type=
"hidden"
value=
"{{cartType}}"
>
{
{/
shoppingCart
}
}
{
{>
cart/chose-panel
}
}
{
{/
shoppingCart
}
}
</div>
{
{>
layout/footer
}
}
...
...
Please
register
or
login
to post a comment