{extend name="default/base" /} {block name="title"}购物车 - {__block__}{/block} {block name="css"} {/block} {block name="header"}

- 首页

- 分类

- 关注

- 我的

{/block} {block name="footer"} {if(count($carts['carts'])>0)}
{/if} {/block} {block name="main"}
{if(count($carts['carts'])>0)} {volist name="$carts['carts']" id="ca" key="k"} {:hook('mobileDocumentCartGoodsPromotion',['goods'=>$ca])}

{$ca['goodsName']}

{if($ca['specNames'])}

规格： {volist name="ca['specNames']" id="sp"} {$sp['catName']}:{$sp['itemName']} {/volist}

{/if}

¥{$ca['shopPrice']}

{/volist}

共 {php}echo count($carts['carts']);{/php} 件商品

{else}

购物车内还没商品哦，去逛逛吧~

{/if}
{/block} {block name="include"} {include file="default/dialog" /} {/block} {block name="js"}
{/block}