<block wx:if="{{$root.g0}}"><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',['o',['goods_id',item.goods_id]]]]]]]}}" class="item" bindtap="__e"><text class="promotion-mark">限时折扣</text><text class="title">{{"当前商品正在参加"+item.promotion_name}}</text><text class="iconfont icon-right"></text></view></block><block wx:else><block wx:if="{{item.promotion_type=='groupbuy'}}"><view data-event-opts="{{[['tap',[['redirectTo',['/pages_promotion/groupbuy/detail',['o',['groupbuy_id',item.groupbuy_id]]]]]]]}}" class="item" bindtap="__e"><text class="promotion-mark">团购</text><text class="title">{{"当前商品正在参加"+item.promotion_name}}</text><text class="iconfont icon-right"></text></view></block><block wx:else><block wx:if="{{item.promotion_type=='pintuan'}}"><view data-event-opts="{{[['tap',[['redirectTo',['/pages_promotion/pintuan/detail',['o',['pintuan_id',item.pintuan_id]]]]]]]}}" class="item" bindtap="__e"><text class="promotion-mark">拼团</text><text class="title">{{"当前商品正在参加"+item.promotion_name}}</text><text class="iconfont icon-right"></text></view></block><block wx:else><block wx:if="{{item.promotion_type=='seckill'}}"><view data-event-opts="{{[['tap',[['redirectTo',['/pages_promotion/seckill/detail',['o',['seckill_id',item.id]]]]]]]}}" class="item" bindtap="__e"><text class="promotion-mark">秒杀</text><text class="title">{{"当前商品正在参加"+item.promotion_name}}</text><text class="iconfont icon-right"></text></view></block><block wx:else><block wx:if="{{item.promotion_type=='topic'}}"><view data-event-opts="{{[['tap',[['redirectTo',['/pages_promotion/topics/goods_detail',['o',['id',item.id]]]]]]]}}" class="item" bindtap="__e"><text class="promotion-mark">专题活动</text><text class="title">{{"当前商品正在参加"+item.promotion_name}}</text><text class="iconfont icon-right"></text></view></block><block wx:else><block wx:if="{{item.promotion_type=='bargain'}}"><view data-event-opts="{{[['tap',[['redirectTo',['/pages_promotion/bargain/detail',['o',['b_id',item.bargain_id]]]]]]]}}" class="item" bindtap="__e"><text class="promotion-mark">砍价</text><text class="title">{{"当前商品正在参加"+item.promotion_name}}</text><text class="iconfont icon-right"></text></view></block><block wx:else><block wx:if="{{item.promotion_type=='pinfan'}}"><view data-event-opts="{{[['tap',[['redirectTo',['/pages_promotion/pinfan/detail',['o',['pinfan_id',item.pintuan_id]]]]]]]}}" class="item" bindtap="__e"><text class="promotion-mark">拼团返利</text><text class="title">{{"当前商品正在参加"+item.promotion_name}}</text><text class="iconfont icon-right"></text></view></block></block></block></block></block></block></block></view></block></block></view></block>