<view class="goods_list" style="{{'background-color:'+(bgColor)+';'}}"><block wx:for="{{dataList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['jumpGoodsDes',[item.id||item.productId]]]]]}}" class="goods_item" bindtap="__e"><view class="goods_img"><image src="{{item.thumbnail||item.img||'http://139.9.103.171:1888/img/image/goods_def.png'}}"></image><block wx:if="{{false}}"><view class="goods_sell_out_tip">补货中</view></block></view><view class="goods_info"><view><view class="goods_top"><block wx:if="{{false}}"><view class="goods_time">10分钟</view></block><view class="goods_title dt-text-row-one">{{item.name}}</view></view><view class="goods_des">{{item.caption?item.caption:''}}</view><scroll-view style="width:100%;margin-top:10rpx;height:30rpx;" scroll-x="true"><block wx:if="{{item.promotion}}"><view style="display:flex;white-space:nowrap;"><block wx:if="{{item.promotion.coupon}}"><view style="padding:0 8rpx;height:30rpx;line-height:30rpx;font-size:20rpx;color:#DB4444;margin-right:5rpx;background:rgba(219,68,68,0.1);border-radius:25px;">{{''+item.promotion.coupon.name+''}}</view></block><block wx:if="{{item.promotion.freeShipping}}"><view style="padding:0 8rpx;height:30rpx;line-height:30rpx;font-size:20rpx;color:#DB4444;margin-right:5rpx;background:rgba(219,68,68,0.1);border-radius:25px;">{{''+item.promotion.freeShipping.name+''}}</view></block><block wx:for="{{item.promotion.gifts}}" wx:for-item="giftsItem" wx:for-index="giftsIndex" wx:key="giftsIndex"><block wx:if="{{item.promotion.gifts.length>0}}"><view style="padding:0 8rpx;height:30rpx;line-height:30rpx;font-size:20rpx;color:#DB4444;margin-right:5rpx;background:rgba(219,68,68,0.1);border-radius:25px;">{{''+giftsItem.name+''}}</view></block></block><block wx:for="{{item.promotion.moneyOffs}}" wx:for-item="moneyOffsItem" wx:for-index="moneyOffsIndex" wx:key="moneyOffsIndex"><block wx:if="{{item.promotion.moneyOffs.length>0}}"><view style="padding:0 8rpx;height:30rpx;line-height:30rpx;font-size:20rpx;color:#444FDB;margin-right:5rpx;background:rgba(68,79,219,0.1);border-radius:25px;">{{''+moneyOffsItem.name+''}}</view></block></block></view></block></scroll-view></view><view class="goods_bottom"><view class="sell_info"><view class="sell_price"><text style="font-size:20rpx;margin-top:10rpx;">￥</text><text>{{item.price}}</text><text style="margin-top:10rpx;">{{item.marketPrice?"￥"+item.marketPrice:''}}</text></view></view><view class="buy">购买</view></view></view></view></block></view>