<view class="list">

	<!-- -->
	<block wx:for="{{list}}" wx:for-item="p_item" wx:for-index="p_idx">

	   <block wx:for="{{p_item}}">
		  <view id="l_item_{{p_idx}}_{{index}}" class="list-item" bindtap="goto"  data-pidx="{{p_idx}}"  data-index="{{index}}" >
			<view class="img-container">
				<image class="img-block" src="{{imghost + item.original_img}}" data-val="{{item.original_img}}"
					   data-errorimg="list[{{p_idx}}][{{index}}].original_img" binderror="bind_bnerr2" lazy-load="true"></image>
			</view>
			<view class="mgl20 flex fdc f1 jc_sb">
				<view>
					<view class="fs30">{{item.goods_name}}</view>
					<view class="flex ai_c">

						<view class="fs26 tag" wx:if="{{type == 1}}">{{item.rebate}}折</view>
						<view class="fs26 tag" style="color:#fff;background:#059de5;" wx:else>{{item.rebate}}折</view>

						<view class="rmb c-red fs30" wx:if="{{type == 1}}">{{item.price}}</view>
						<view class="rmb c-red fs30"  style="color:#059de5;" wx:else>{{item.price}}</view>

<!--						<view class="rmb del fs24 c-7b pdl10">{{item.market_price}}</view>-->
					</view>
				</view>
				<view class="flex jc_sb ai-center c-7b">
					<view class="fs24">

						<view>已售<block wx:if="{{type == 1}}">{{item.buy_num+item.virtual_num}}</block><block wx:else>0</block>件</view>

						<view class=""><text class="iconfont icon-shizhong fs24"></text>
							{{time_arr[p_idx][index].djs.day}}天{{time_arr[p_idx][index].djs.hou}}时{{time_arr[p_idx][index].djs.min}}分{{time_arr[p_idx][index].djs.sec}}秒
						</view>
					</view>
					

					<view class="btn" wx:if="{{type == 1}}">去团购</view>
					<view class="btn" style="background: #059de5;color:#fff;" wx:else>即将开始</view>
					

				</view>
			</view>
		</view>
	   </block>
	</block>
	<view style="height:60rpx"></view>
</view>

<view class="no-more" hidden="{{!noMore}}" wx:if="{{list.length > 0 && noMore }}">—— 已经到底啦 ——</view>
<nodata nodataContainer="t-c" wx:if="{{list.length == 0 && is_get}}"></nodata>

