|
@@ -302,26 +302,57 @@
|
|
|
<view class="newprojects-title"></view>
|
|
<view class="newprojects-title"></view>
|
|
|
<view><image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/neverse/goods.png" class="newprojects-titleimg" /></view>
|
|
<view><image src="http://fohow.oss-cn-shenzhen.aliyuncs.com/neverse/goods.png" class="newprojects-titleimg" /></view>
|
|
|
<view class="projectbg">
|
|
<view class="projectbg">
|
|
|
- <view class="project" wx:key="{{index}}" wx:for="{{productsList}}">
|
|
|
|
|
- <view wx:if="{{!item.video_state}}" bindtap="toProject" data-val="{{item.id}}">
|
|
|
|
|
- <view class="project-left">
|
|
|
|
|
- <view class="project-title ellipsisLn">{{item.name}}</view>
|
|
|
|
|
|
|
+ <view wx:key="{{index}}" wx:for="{{productsList}}">
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <view wx:if="{{!item.video_state}}" bindtap="toProject" data-val="{{item.id}}">
|
|
|
|
|
+ <view class="project-pack" wx:if="{{item.package}}">
|
|
|
|
|
+ <view class="project-left-pack">
|
|
|
|
|
+ <view class="project-title ellipsisLn" style="height: 48rpx;">{{item.name}}</view>
|
|
|
|
|
|
|
|
- <view class="project-count">已售{{item.sold_count}}件</view>
|
|
|
|
|
- <image wx:if="{{item.seckill_state === 'seckill'}}" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/miaosha.png" class="project-miaosha"/>
|
|
|
|
|
- <view class="project-price" style="padding-top:20rpx;color: #999;text-decoration: line-through;font-size: 23rpx;">零售价:<currency symbol="¥" value="{{item.user_sale_price}}" /><!-- <currency symbol="¥" value="{{item.price}}" wx:if="{{balance === 0 || balance < item.price}}"></currency><text wx:if="{{balance !== 0 && balance >= item.price}}" class="project-point">{{item.price}}提货券</text> --></view>
|
|
|
|
|
- <view class="project-price" style="float: left;padding-top:10rpx;width:50%;font-size: 35rpx;"><currency symbol="¥" value="{{item.price}}" /><!-- <currency symbol="¥" value="{{item.price}}" wx:if="{{balance === 0 || balance < item.price}}"></currency><text wx:if="{{balance !== 0 && balance >= item.price}}" class="project-point">{{item.price}}提货券</text> --></view>
|
|
|
|
|
- <!--<image wx:if="{{item.mall_balance_price}}" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/integralpay_icon.png" style="float: right;width: 30rpx;height: 30rpx;margin-left: 5rpx;margin-top: 95rpx;"></image>
|
|
|
|
|
- <image wx:if="{{item.robo_balance_price}}" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/rabbitpay_icon.png" style="float: right;width: 30rpx;height: 30rpx;margin-top: 94rpx;"></image>
|
|
|
|
|
- <image wx:if="{{item.price}}" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/weixinpay.png" style="float: right;width: 30rpx;height: 30rpx;margin-top: 94rpx;margin-right: 5rpx;"></image>-->
|
|
|
|
|
- <view class="clear"></view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <image class="project-right" src="{{item.cover}}"></image>
|
|
|
|
|
- <view class="project-out" wx:if="{{item.left_count <= 0}}"></view>
|
|
|
|
|
- <view class="project-green" wx:if="{{item.is_support_poor === 1}}"></view>
|
|
|
|
|
- <view class="project-stop" wx:if="{{todaysend < item.deliver_start_time && todaysend > item.deliver_stop_time}}">将于<format-time type="formatmonth2" value="{{item.deliver_start_time}}"></format-time>发货</view>
|
|
|
|
|
- <view class="clean"></view>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <view class="project-pack-list">
|
|
|
|
|
+ <view wx:for="{{item.package_list}}" wx:for-item="pack" wx:for-index="ind">
|
|
|
|
|
+ <p wx:if="{{ind < 3}}">{{pack.item_title}} x{{pack.nums}}</p>
|
|
|
|
|
+ <p wx:if="{{item.package_list.length > 3 && ind == 3}}">...</p>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <image wx:if="{{item.seckill_state === 'seckill'}}" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/miaosha.png" class="project-miaosha"/>
|
|
|
|
|
+
|
|
|
|
|
+ <view class="project-price" style="padding-top:10rpx;font-size: 35rpx;"><currency symbol="¥" value="{{item.price}}" />
|
|
|
|
|
+ <view class="project-price" style="padding-top:20rpx;color: #999;text-decoration: line-through;font-size: 23rpx;display: inline;padding-left: 10rpx;"><currency symbol="¥" value="{{item.user_sale_price}}" /></view>
|
|
|
|
|
+
|
|
|
|
|
+ <view class="project-count" style="float: right;padding-top: 10rpx;font-size: 23rpx;">已售{{item.sold_count}}件</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="clear"></view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <image class="project-right" src="{{item.cover}}"></image>
|
|
|
|
|
+ <view class="project-out" wx:if="{{item.left_count <= 0}}"></view>
|
|
|
|
|
+ <view class="project-green" wx:if="{{item.is_support_poor === 1}}"></view>
|
|
|
|
|
+ <view class="project-stop" wx:if="{{todaysend < item.deliver_start_time && todaysend > item.deliver_stop_time}}">将于<format-time type="formatmonth2" value="{{item.deliver_start_time}}"></format-time>发货</view>
|
|
|
|
|
+ <view class="clean"></view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="project" wx:else>
|
|
|
|
|
+ <view class="project-left">
|
|
|
|
|
+ <view class="project-title ellipsisLn">{{item.name}}</view>
|
|
|
|
|
+
|
|
|
|
|
+ <view class="project-count">已售{{item.sold_count}}件</view>
|
|
|
|
|
+ <image wx:if="{{item.seckill_state === 'seckill'}}" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/miaosha.png" class="project-miaosha"/>
|
|
|
|
|
+ <view class="project-price" style="padding-top:20rpx;color: #999;text-decoration: line-through;font-size: 23rpx;">零售价:<currency symbol="¥" value="{{item.user_sale_price}}" /><!-- <currency symbol="¥" value="{{item.price}}" wx:if="{{balance === 0 || balance < item.price}}"></currency><text wx:if="{{balance !== 0 && balance >= item.price}}" class="project-point">{{item.price}}提货券</text> --></view>
|
|
|
|
|
+ <view class="project-price" style="float: left;padding-top:10rpx;width:50%;font-size: 35rpx;"><currency symbol="¥" value="{{item.price}}" /><!-- <currency symbol="¥" value="{{item.price}}" wx:if="{{balance === 0 || balance < item.price}}"></currency><text wx:if="{{balance !== 0 && balance >= item.price}}" class="project-point">{{item.price}}提货券</text> --></view>
|
|
|
|
|
+ <!--<image wx:if="{{item.mall_balance_price}}" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/integralpay_icon.png" style="float: right;width: 30rpx;height: 30rpx;margin-left: 5rpx;margin-top: 95rpx;"></image>
|
|
|
|
|
+ <image wx:if="{{item.robo_balance_price}}" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/rabbitpay_icon.png" style="float: right;width: 30rpx;height: 30rpx;margin-top: 94rpx;"></image>
|
|
|
|
|
+ <image wx:if="{{item.price}}" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/weixinpay.png" style="float: right;width: 30rpx;height: 30rpx;margin-top: 94rpx;margin-right: 5rpx;"></image>-->
|
|
|
|
|
+ <view class="clear"></view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <image class="project-right" src="{{item.cover}}"></image>
|
|
|
|
|
+ <view class="project-out" wx:if="{{item.left_count <= 0}}"></view>
|
|
|
|
|
+ <view class="project-green" wx:if="{{item.is_support_poor === 1}}"></view>
|
|
|
|
|
+ <view class="project-stop" wx:if="{{todaysend < item.deliver_start_time && todaysend > item.deliver_stop_time}}">将于<format-time type="formatmonth2" value="{{item.deliver_start_time}}"></format-time>发货</view>
|
|
|
|
|
+ <view class="clean"></view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
<view wx:else class="video-box">
|
|
<view wx:else class="video-box">
|
|
|
<video class="project-video" custom-cache="{{false}}" bindtap='videoTap' data-index="{{index}}" id='video{{index}}' show-fullscreen-btn="{{false}}" enable-progress-gesture="{{false}}" src="{{item.video_url}}" controls="{{false}}" show-center-play-btn='{{false}}'>
|
|
<video class="project-video" custom-cache="{{false}}" bindtap='videoTap' data-index="{{index}}" id='video{{index}}' show-fullscreen-btn="{{false}}" enable-progress-gesture="{{false}}" src="{{item.video_url}}" controls="{{false}}" show-center-play-btn='{{false}}'>
|
|
|
<cover-image class="playImg" src="../../images/footer/play.png" wx:if="{{!item.video_play}}"></cover-image>
|
|
<cover-image class="playImg" src="../../images/footer/play.png" wx:if="{{!item.video_play}}"></cover-image>
|
|
@@ -337,6 +368,8 @@
|
|
|
<view class="clean"></view>
|
|
<view class="clean"></view>
|
|
|
<button bindtap="toProject" data-val="{{item.id}}" class="video-buybtn">立即购买</button>
|
|
<button bindtap="toProject" data-val="{{item.id}}" class="video-buybtn">立即购买</button>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|