...
|
...
|
@@ -13,34 +13,26 @@ |
|
|
</footer>
|
|
|
|
|
|
{{!-- 对应订单状态的操作逻辑 --}}
|
|
|
{{#if unpaid}}
|
|
|
<div class="order-opt">
|
|
|
<span class="btn cancel">取消订单</span>
|
|
|
<span class="btn pay">立即付款</span>
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
|
|
|
{{#with unreceived}}
|
|
|
{{!-- 完成和取消订单显示删除按钮 --}}
|
|
|
{{#unless unpaid}}
|
|
|
{{#unless unreceived}}
|
|
|
<div class="order-opt">
|
|
|
<a class="check-logistics" href="{{.}}">查看物流</a>
|
|
|
</div>
|
|
|
{{/with}}
|
|
|
|
|
|
{{#with unshipped}}
|
|
|
<div class="order-opt">
|
|
|
<a class="check-logistics" href="{{.}}">查看物流</a>
|
|
|
<span class="btn del">删除订单</span>
|
|
|
</div>
|
|
|
{{/with}}
|
|
|
{{/unless}}
|
|
|
{{/unless}}
|
|
|
|
|
|
{{#if canceled}}
|
|
|
{{#if unpaid}}
|
|
|
<div class="order-opt">
|
|
|
<span class="btn del">删除订单</span>
|
|
|
<span class="btn cancel">取消订单</span>
|
|
|
<span class="btn pay">立即付款</span>
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
|
|
|
{{#if completed}}
|
|
|
{{#if unreceived}}
|
|
|
<div class="order-opt">
|
|
|
<span class="btn del">删除订单</span>
|
|
|
<a class="check-logistics" href="{{logisticsUrl}}">查看物流</a>
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
</div> |
|
|
\ No newline at end of file |
...
|
...
|
|