order-btns.hbs 1.64 KB
<div class="order-opt">
    {{# orderBtn}}
        {{#if leftTime}}
            <ul class="count-down hide">
                <li><span class="iconfont count-down-icon">&#xe64a;</span></li>
                <li><span class="hours">{{leftTime}}</span></li>
            </ul>
        {{else if isAdvance}}
            <span class="order-opt-info">*定金预售订单只能在APP端操作</span>
        {{else if refundApply}}
            <span class="btn refund">申请退款</span>
        {{else if modifyAddress}}
            <a class="btn modify-address" href="{{link}}">
                <span>修改地址</span>
            </a>
        {{else if buyNow}}
            <a class="locHref" href="{{link}}">
                <span class="btn pay">立即付款</span>
            </a>
        {{else if closeOrder}}
            <span class="btn cancel">取消订单</span>
        {{else if confirm}}
            <span class="btn sure">确认收货</span>
        {{else if getExpress}}
            <a class="locHref" href="{{logisticsUrl}}">
                <span class="btn check-logistics">查看物流</span>
            </a>
        {{else if shareOrder}}

        {{else if delOrder}}
            <span class="btn del">删除订单</span>
        {{else if lookQrcode}}
            <a class="locHref" href="{{link}}">
                <span class="btn check-logistics check-ewm">查看二维码</span>
            </a>
        {{else if afterService}}
            <span class="btn after-sales{{#if isMarsApp}} is-mars-app{{/if}}">申请售后</span>
        {{else if readd}}
            <span class="btn rebuy">再次购买</span>
        {{/if}}
    {{/orderBtn}}
</div>