...
|
...
|
@@ -14,16 +14,16 @@ |
|
|
<scroll-view scroll-y="{{enableScroll}}" class="contentContainer" style="position: absolute;top:{{scrollerViewTop}}px;height:{{scrollerViewHeight}}px" enable-back-to-top="true">
|
|
|
<!--商品池 -->
|
|
|
<view tt:if="{{curShoppingCartData.goods_pool_list.length}}" class="goodsPoolListContainer">
|
|
|
<block wx:for="{{curShoppingCartData.goods_pool_list}}" tt:key="goodsPoolItem" tt:for-item="item">
|
|
|
<block tt:for="{{curShoppingCartData.goods_pool_list}}" tt:key="{{index}}" tt:for-item="item">
|
|
|
<shoppingCartProductCell data="{{{item, index,isEditing,deleteAnimation,tempSku}}}" bindshoppingCartProductAction="onShoppingCartProductAction" bindmoveStart="moveStart" bindmoveEnd="moveEnd"></shoppingCartProductCell>
|
|
|
</block>
|
|
|
</view>
|
|
|
|
|
|
<!-- 商品列表 -->
|
|
|
<block class="" wx:if="{{curShoppingCartData.goods_list.length}}">
|
|
|
<block wx:for="{{curShoppingCartData.goods_list}}" wx:for-item="goodsItem" wx:for-index="goodsIndex" wx:key="goodsitem">
|
|
|
<block class="" tt:if="{{curShoppingCartData.goods_list.length}}">
|
|
|
<block tt:for="{{curShoppingCartData.goods_list}}" tt:for-item="goodsItem" tt:for-index="goodsIndex" tt:key="{{goodsIndex}}">
|
|
|
<view class="poolGoodCellContainer">
|
|
|
<view class="cellLine" wx:if="{{goodsIndex > 0}}"></view>
|
|
|
<view class="cellLine" tt:if="{{goodsIndex > 0}}"></view>
|
|
|
<shoppingCartOneProductCell data="{{{goodsItem,isEditing,deleteAnimation,tempSku}}}" bindshoppingCartProductAction="onShoppingCartProductAction" bindmoveStart="moveStart" bindmoveEnd="moveEnd"></shoppingCartOneProductCell>
|
|
|
</view>
|
|
|
</block>
|
...
|
...
|
@@ -31,22 +31,22 @@ |
|
|
</block>
|
|
|
|
|
|
<!--加价购 & 赠品 -->
|
|
|
<block wx:if="{{curShoppingCartData.gGiftAndPriceGiftList.length}}">
|
|
|
<block tt:if="{{curShoppingCartData.gGiftAndPriceGiftList.length}}">
|
|
|
<shoppingCartGiftOrPriceCell data="{{{giftList:curShoppingCartData.gGiftAndPriceGiftList}}}" bindnavToGiftPage="navToGiftPage"></shoppingCartGiftOrPriceCell>
|
|
|
</block>
|
|
|
|
|
|
<!--无效商品 -->
|
|
|
<block wx:if="{{curShoppingCartData.invalidGoodsList.length}}">
|
|
|
<block tt:if="{{curShoppingCartData.invalidGoodsList.length}}">
|
|
|
<shoppingCartInvalidProductCell data="{{{invalidGoodsList:curShoppingCartData.invalidGoodsList,isEditing,deleteAnimation,tempSku}}}"></shoppingCartInvalidProductCell>
|
|
|
</block>
|
|
|
|
|
|
<!-- 已参与活动 -->
|
|
|
<block wx:if="{{curShoppingCartData.promotion_info.length}}">
|
|
|
<block tt:if="{{curShoppingCartData.promotion_info.length}}">
|
|
|
<shoppingCartPromotionCell data="{{{promotionList:curShoppingCartData.promotion_info}}}"></shoppingCartPromotionCell>
|
|
|
</block>
|
|
|
|
|
|
<!-- 总计价格 -->
|
|
|
<block wx:if="{{curShoppingCartData.shopping_cart_data}}">
|
|
|
<block tt:if="{{curShoppingCartData.shopping_cart_data}}">
|
|
|
<text class="totalCost">{{curShoppingCartData.shopping_cart_data.promotion_formula}}</text>
|
|
|
<view class="bottonGray"></view>
|
|
|
</block>
|
...
|
...
|
|