<block wx:if="{{goodsPromotion.length}}"><view class="ns-goods-promotion"><block wx:for="{{goodsPromotion}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{promotion!=item.promotion_type}}"><view><block wx:if="{{item.promotion_type=='discount'}}"><view data-event-opts="{{[['tap',[['redirectTo',['/pages/goods/detail/detail',['o',['sku_id',item.sku_id]]]]]]]}}" class="item" bindtap="__e"><text class="promotion-mark color-base-bg">限时折扣</text><text class="title">{{"当前商品正在参加"+item.promotion_name}}</text><text class="iconfont iconright"></text></view></block><block wx:else><block wx:if="{{item.promotion_type=='groupbuy'}}"><view data-event-opts="{{[['tap',[['redirectTo',['/promotionpages/groupbuy/detail/detail',['o',['groupbuy_id',item.groupbuy_id]]]]]]]}}" class="item" bindtap="__e"><text class="promotion-mark color-base-bg">团购</text><text class="title">{{"当前商品正在参加"+item.promotion_name}}</text><text class="iconfont iconright"></text></view></block><block wx:else><block wx:if="{{item.promotion_type=='pintuan'}}"><view data-event-opts="{{[['tap',[['redirectTo',['/promotionpages/pintuan/detail/detail',['o',['pintuan_id',item.pintuan_id]]]]]]]}}" class="item" bindtap="__e"><text class="promotion-mark color-base-bg">拼团</text><text class="title">{{"当前商品正在参加"+item.promotion_name}}</text><text class="iconfont iconright"></text></view></block><block wx:else><block wx:if="{{item.promotion_type=='seckill'}}"><view data-event-opts="{{[['tap',[['redirectTo',['/promotionpages/seckill/detail/detail',['o',['seckill_id',item.id]]]]]]]}}" class="item" bindtap="__e"><text class="promotion-mark color-base-bg">秒杀</text><text class="title">{{"当前商品正在参加"+item.promotion_name}}</text><text class="iconfont iconright"></text></view></block><block wx:else><block wx:if="{{item.promotion_type=='topic'}}"><view data-event-opts="{{[['tap',[['redirectTo',['/promotionpages/topics/goods_detail/goods_detail',['o',['id',item.id]]]]]]]}}" class="item" bindtap="__e"><text class="promotion-mark color-base-bg">专题活动</text><text class="title">{{"当前商品正在参加"+item.promotion_name}}</text><text class="iconfont iconright"></text></view></block><block wx:else><block wx:if="{{item.promotion_type=='bargain'}}"><view data-event-opts="{{[['tap',[['redirectTo',['/promotionpages/bargain/detail/detail',['o',['bargain_id',item.bargain_id]]]]]]]}}" class="item" bindtap="__e"><text class="promotion-mark color-base-bg">砍价</text><text class="title">{{"当前商品正在参加"+item.promotion_name}}</text><text class="iconfont iconright"></text></view></block></block></block></block></block></block></view></block></block></view></block>