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