project-search.wxml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <view class="bg">
  2. <view class="projects">
  3. <view class="projectbg">
  4. <!-- <view class="scrollview" wx:if="{{vershow}}">
  5. <scroll-view scroll-x="true" class="nav" scroll-left="{{navScrollLeft}}" scroll-with-animation="{{true}}">
  6. <block wx:for="{{navData}}" wx:for-index="idx" wx:for-item="navItem" wx:key="idx">
  7. <view class="nav-item {{currentTab == idx ?'active':''}}" data-current="{{idx}}" bindtap="switchNav">{{navItem.name}}</view>
  8. </block>
  9. </scroll-view>
  10. </view> -->
  11. <view class="project" wx:key="{{index}}" wx:for="{{projects}}" data-val="{{item.id}}" bindtap="toProject">
  12. <view class="project-left">
  13. <view class="project-title ellipsisLn">{{item.name}}</view>
  14. <view class="project-count">已售{{item.sold_count}}件</view>
  15. <view class="project-price" style="padding-top:25rpx">
  16. <image wx:if="{{item.seckill_state === 'seckill'}}" src="http://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/image/icon/miaosha.png" class="project-miaosha-img"/>
  17. <view wx:if="{{item.is_deliver}}" class="project-miaosha">
  18. <span wx:if="{{item.deliver_state == 1}}">预售</span>
  19. <span wx:if="{{item.deliver_state == 2}}">预售</span>
  20. <span wx:if="{{item.deliver_state == 3}}">已售罄</span>
  21. </view>
  22. <view class="project-price" style="margin-bottom: 10rpx;padding-top:20rpx;color: #999;text-decoration: line-through;font-size: 23rpx;">零售价:<currency symbol="¥" value="{{item.user_sale_price}}" /></view>
  23. <currency symbol="¥" value="{{item.price}}" style="font-size:35rpx" /><!-- <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> -->
  24. <!--<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: 5rpx;"></image>
  25. <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: 4rpx;"></image>
  26. <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: 4rpx;;margin-right: 5rpx;"></image>-->
  27. </view>
  28. </view>
  29. <image class="project-right" src="{{item.cover}}"></image>
  30. <view class="project-out" wx:if="{{item.left_count <= 0}}"></view>
  31. <view class="project-green" wx:if="{{item.is_support_poor === 1}}"></view>
  32. <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>
  33. <view class="clean"></view>
  34. </view>
  35. <view wx:if="{{projects.length == 0}}" style="text-align: center;color:#999">无相关内容</view>
  36. <view><text wx:if="{{projects_more}}" style="text-align: center;padding: 10px;color: #999;display: block;margin-bottom: 15px;">正在努力加载...</text></view>
  37. </view>
  38. </view>
  39. </view>