order-btns.hbs
1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<div class="order-opt">
{{# orderBtn}}
{{#if leftTime}}
<ul class="count-down hide">
<li><span class="iconfont count-down-icon"></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 @root.isMarsApp}} is-mars-app{{/if}}">申请售后</span>
{{else if readd}}
<span class="btn rebuy">再次购买</span>
{{/if}}
{{/orderBtn}}
</div>