cart.wxml 410 Bytes
<block wx:if="{{curShoppingCartData.has_product_in_shop_cart}}">
    我是购物车内容
</block>
<block wx:else>
    <view class='empty-cart'>
        <image src='../../static/images/empty_cart.png' class='empty-img'></image>
        <text class='empty-desc'>购物车空空如也\n去挑选中意的商品</text>
        <view class='shopping-btn' bindtap='goShopping'>去逛逛</view>
    </view>
</block>