productCell.ttml 593 Bytes
<view class="product-cell" bindtap="jumpToDetail">
    <image class="product-cell-image" src="{{item.default_images}}" mode="2" />
    <view class="product-cell-bottom-view">
        <text class="product-cell-name">{{item.product_name}}</text>
        <view class="product-cell-price-view">
            <text class="!item.showOriginPrice ? product-cell-sale-price-red : product-cell-sale-price">{{item.salePriceStr}}</text>
            <text tt:if="{{item.showOriginPrice}}" class="product-cell-market-price">{{item.originPriceStr}}</text>
        </view>
    </view>
    <slot></slot>
</view>