<view class="button-template"><view class="button-content"><block wx:if="{{btnState.isPay}}"><view data-event-opts="{{[['tap',[['btnConfirm',['pay','$0'],['order']]]]]}}" class="btn btn-pay" catchtap="__e">付款</view></block><block wx:if="{{btnState.isConfirm}}"><view data-event-opts="{{[['tap',[['btnConfirm',['confirm','$0'],['order']]]]]}}" class="btn btn-pay" catchtap="__e">确认收货</view></block><block wx:if="{{btnState.isAgain}}"><view data-event-opts="{{[['tap',[['btnConfirm',['again','$0'],['order']]]]]}}" class="btn btn-pay" catchtap="__e">再次购买</view></block><block wx:if="{{btnState.isCancel}}"><view data-event-opts="{{[['tap',[['btnConfirm',['cancel','$0'],['order']]]]]}}" class="btn btn-cancel" catchtap="__e">取消订单</view></block><block wx:if="{{btnState.isDelete}}"><view data-event-opts="{{[['tap',[['btnConfirm',['delete','$0'],['order']]]]]}}" class="btn btn-cancel" catchtap="__e">删除订单</view></block><block wx:if="{{btnState.isQuery}}"><view data-event-opts="{{[['tap',[['btnConfirm',['query','$0'],['order']]]]]}}" class="btn btn-cancel" catchtap="__e">查看物流</view></block></view></view>