<view class="btm-btn"><block wx:if="{{goodsType==0}}"><button class="add-btn" type="primary" data-event-opts="{{[['tap',[['buy',[2]]]]]}}" bindtap="__e">加入购物车</button></block><button class="{{['buy-btn',(goodsType!=0)?'skill':'']}}" type="primary" data-event-opts="{{[['tap',[['buy',[1]]]]]}}" bindtap="__e">{{goodsType==2?'立即兑换':goodsType==3?'购买兑换券':'立即购买'}}</button></view>