138 lines
9.1 KiB
Plaintext
138 lines
9.1 KiB
Plaintext
|
<ep-navBar title="特别专题" background='#4facfe' back="{{true}}" iconTheme='white' color='#fff' bindback="handlerGobackClick"/>
|
||
|
<view class="special" style="background: {{info.bg_color?info.bg_color:'#f6f6f6f'}};">
|
||
|
<image class='topic-img' src="{{info.special_cover}}" mode="widthFix" wx:if="{{info.special_cover}}"></image>
|
||
|
<view class='like' wx:if="{{list.length}}">
|
||
|
<view class='like-list' wx:if="{{info.show_type==0}}">
|
||
|
<i-router-link routerClass="new-comers-item" url="/eaterplanet_ecommerce/pages/goods/goodsDetail?id={{item.actId}}" wx:for="{{list}}" wx:key="id">
|
||
|
<view wx:if="{{item.label_info && item.label_info.type==0}}" class='item-tag'>
|
||
|
<image class='item-tag-bg' mode='widthFix' src="../../images/tag.png"></image>
|
||
|
<view class='tag-name {{item.label_info.len==2?"two-word":""}}'>{{item.label_info.tagcontent}}</view>
|
||
|
</view>
|
||
|
<view wx:if="{{item.label_info && item.label_info.type==1}}" class='item-tag' style='background:url({{item.label_info.tagcontent}}) no-repeat left top;background-size: 100%;'></view>
|
||
|
<i-img defaultImage="../../images/placeholder-refund.png" height="200" width="200" iClass="new-img" loadImage="{{item.skuImage}}"></i-img>
|
||
|
<view class="act-end" wx:if="{{item.spuCanBuyNum==0}}">已抢光</view>
|
||
|
<view class="act-end" wx:if="{{item.actEnd}}">已结束</view>
|
||
|
<view class="spu-active" wx:if="{{reduction.is_open_fullreduction==1&&item.is_take_fullreduction==1}}">
|
||
|
<view class="tag">满{{reduction.full_money}}减{{reduction.full_reducemoney}}</view>
|
||
|
<view class="tag tag-green" wx:if="{{item.isLimit}}">限购</view>
|
||
|
</view>
|
||
|
<!-- <view class="spu-play" wx:if="{{item.is_video}}">
|
||
|
<image class="img" src="../../images/play.png"></image>
|
||
|
</view> -->
|
||
|
<view class='title'>{{item.spuName}}</view>
|
||
|
<view class='new-bot'>
|
||
|
<view>
|
||
|
<view class='price'>¥{{item.actPrice[0]}}.{{item.actPrice[1]}}</view>
|
||
|
<view class="market-price">¥{{item.marketPrice[0]}}.{{item.marketPrice[1]}}</view>
|
||
|
</view>
|
||
|
<block wx:if="{{item.car_count<=0}}">
|
||
|
<i-button iClass="add-cart disabled" wx:if="{{disabled||item.spuCanBuyNum==0}}">已抢光</i-button>
|
||
|
<i-button iClass="add-cart disabled" wx:elif="{{disabled||item.actEnd}}">已结束</i-button>
|
||
|
<i-button bind:click="openSku" data-idx="{{index}}" iClass="add-cart" wx:else>立即抢购</i-button>
|
||
|
</block>
|
||
|
<i-input-number wx:else addImage="../../images/icon-add-2.png" bind:change="changeNumber" bind:outOfMax="outOfMax" iClass="index-input-number" iClassNumberText="input-number-text" max="{{item.spuCanBuyNum}}" min="0" reduceImage="../../images/icon-reduce-2.png"
|
||
|
value="{{item.car_count}}" idx="{{index}}"></i-input-number>
|
||
|
</view>
|
||
|
</i-router-link>
|
||
|
</view>
|
||
|
<view class="spu" wx:elif="{{info.show_type==1}}">
|
||
|
<i-router-link routerClass="spu-content" url="/eaterplanet_ecommerce/pages/goods/goodsDetail?&id={{item.actId}}" wx:for="{{list}}" wx:key="id">
|
||
|
<view class="item-top">
|
||
|
<view wx:if="{{item.label_info && item.label_info.type==0}}" class='item-tag'>
|
||
|
<image class='item-tag-bg' mode='widthFix' src="../../images/tag.png"></image>
|
||
|
<view class='tag-name {{item.label_info.len==2?"two-word":""}}'>{{item.label_info.tagcontent}}</view>
|
||
|
</view>
|
||
|
<view wx:if="{{item.label_info && item.label_info.type==1}}" class='item-tag' style='background:url({{item.label_info.tagcontent}}) no-repeat left top;background-size: 100%;'></view>
|
||
|
<i-img defaultImage="{{placeholdeImg?placeholdeImg:'../../images/placeholder-refund.png'}}" height="400" iClass="img-class" lazyLoad="true" loadImage="{{item.bigImg?item.bigImg:item.skuImage}}" width="710"></i-img>
|
||
|
<view class="spu-active" wx:if="{{reduction.is_open_fullreduction==1&&item.is_take_fullreduction==1}}">
|
||
|
<view class="tag">满{{reduction.full_money}}减{{reduction.full_reducemoney}}</view>
|
||
|
<view class="tag tag-green" wx:if="{{item.isLimit}}">限购</view>
|
||
|
</view>
|
||
|
<!-- <view class="spu-play" wx:if="{{item.is_video}}">
|
||
|
<image class="img" src="../../images/play.png"></image>
|
||
|
</view> -->
|
||
|
</view>
|
||
|
<view class="item-bottom">
|
||
|
<view class="item-right-top">
|
||
|
<view class="spu-title">
|
||
|
<text class='span'>{{item.spuName}}</text>
|
||
|
</view>
|
||
|
<view class="spu-desc" wx:if="{{item.spuDescribe}}">
|
||
|
<em>{{item.spuDescribe}}</em>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="spu-price">
|
||
|
<view class="sale-price">
|
||
|
<text class='span'>¥{{item.actPrice[0]}}</text>.{{item.actPrice[1]}}
|
||
|
</view>
|
||
|
<view class="market-price">¥{{item.marketPrice[0]}}.{{item.marketPrice[1]}}</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<block wx:if="{{item.car_count<=0}}">
|
||
|
<i-button iClass="add-cart-disabled" disabled="{{item.spuCanBuyNum==0}}" wx:if="{{item.spuCanBuyNum==0}}">
|
||
|
已抢光
|
||
|
</i-button>
|
||
|
<i-button iClass="add-cart-disabled" disabled="{{item.actEnd}}" wx:elif="{{item.actEnd}}">
|
||
|
已结束
|
||
|
</i-button>
|
||
|
<i-button bind:click="openSku" data-idx="{{index}}" iClass="add-cart" wx:else>
|
||
|
立即抢购
|
||
|
</i-button>
|
||
|
</block>
|
||
|
<i-input-number wx:else addImage="../../images/icon-add-2.png" bind:change="changeNumber" bind:outOfMax="outOfMax" iClass="index-input-number" iClassNumberText="input-number-text" max="{{item.spuCanBuyNum}}" min="0" reduceImage="../../images/icon-reduce-2.png"
|
||
|
value="{{item.car_count}}" idx="{{index}}"></i-input-number>
|
||
|
<view class="mask" wx:if="{{item.spuCanBuyNum==0?'disabled':''}}"></view>
|
||
|
<view class="act-end act-out" wx:if="{{item.spuCanBuyNum==0}}">已抢光</view>
|
||
|
<view class="act-end act-out" wx:if="{{item.actEnd}}">已结束</view>
|
||
|
</i-router-link>
|
||
|
</view>
|
||
|
<view class="spu col-3" wx:elif="{{info.show_type==2}}">
|
||
|
<i-router-link routerClass="w250" url="/eaterplanet_ecommerce/pages/goods/goodsDetail?id={{item.actId}}" wx:for="{{list}}" wx:key="id">
|
||
|
<!-- 标签 -->
|
||
|
<view wx:if="{{item.label_info && item.label_info.type==0}}" class='item-tag'>
|
||
|
<image class='item-tag-bg' mode='widthFix' src="../../images/tag.png"></image>
|
||
|
<view class='tag-name {{item.label_info.len==2?"two-word":""}}'>{{item.label_info.tagcontent}}</view>
|
||
|
</view>
|
||
|
<view wx:if="{{item.label_info&&item.label_info.type==1}}" class='item-tag' style='background:url({{item.label_info.tagcontent}}) no-repeat left top;background-size: 100%;'></view>
|
||
|
<!-- 图片 -->
|
||
|
<i-img defaultImage="../../images/placeholder-refund.png" height="236" width="236" iClass="new-img" loadImage="{{item.skuImage}}"></i-img>
|
||
|
<!-- 限购 -->
|
||
|
<view class="spu-active" wx:if="{{reduction.is_open_fullreduction==1&&item.is_take_fullreduction==1}}">
|
||
|
<view class="tag">满{{reduction.full_money}}减{{reduction.full_reducemoney}}</view>
|
||
|
<view class="tag tag-green" wx:if="{{spuItem.isLimit}}">限购</view>
|
||
|
</view>
|
||
|
<view class="spu-play" wx:if="{{item.is_video}}">
|
||
|
<image class="img" src="../../images/play.png"></image>
|
||
|
</view>
|
||
|
<view class="act-end" wx:if="{{item.spuCanBuyNum==0}}">已抢光</view>
|
||
|
<view class='title'>{{item.spuName}}</view>
|
||
|
<i-vip-price wx:if="{{is_open_vipcard_buy==1&&item.is_take_vipcard==1}}" price="{{item.card_price}}" class="vip"></i-vip-price>
|
||
|
<i-vip-price wx:elif="{{canLevelBuy&&item.is_mb_level_buy==1}}" type="1" price="{{item.levelprice}}" class="vip"></i-vip-price>
|
||
|
<view class='new-bot'>
|
||
|
<view class='price'>¥{{item.actPrice[0]}}.{{item.actPrice[1]}}</view>
|
||
|
<i-button iClass="add-cart" wx:if="{{disabled||item.spuCanBuyNum==0||actEnd}}">
|
||
|
<image class='img' src="../../images/icon-add-shopCart-disabled.png"></image>
|
||
|
</i-button>
|
||
|
<i-button bind:click="openSku" iClass="add-cart" data-idx="{{index}}" wx:else>
|
||
|
<i-addcart iClass="addbtn" fontsize="24" />
|
||
|
</i-button>
|
||
|
</view>
|
||
|
</i-router-link>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="none-rush-list" wx:if="{{noData}}">
|
||
|
<image class="img-block" src="../../images/icon-index-empty.png"></image>
|
||
|
<view class="h1">暂时没有商品</view>
|
||
|
<view class="h2">我们正在为您准备更优惠的商品</view>
|
||
|
</view>
|
||
|
|
||
|
<i-aside-btn showShare="{{ishowShareBtn==1}}" showHome="{{true}}"></i-aside-btn>
|
||
|
<i-cart-btn cartNum="{{cartNum}}" showHome="{{true}}"></i-cart-btn>
|
||
|
</view>
|
||
|
|
||
|
<i-new-auth needAuth="{{needAuth&&showAuthModal}}" bind:authSuccess="authSuccess" bind:cancel="authModal"></i-new-auth>
|
||
|
|
||
|
<sku visible="{{visible}}" skuList="{{skuList}}" cur_sku_arr="{{cur_sku_arr}}" bind:cancel="closeSku" sku_val="{{sku_val}}" sku="{{sku}}" goodsid="{{addCar_goodsid}}" bind:changeCartNum="changeCartNum" bind:vipModal="vipModal"></sku>
|
||
|
|
||
|
<i-vip-modal visible="{{showVipModal}}" imgUrl="{{pop_vipmember_buyimage}}" />
|