1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-29 22:01:38 +08:00
xiaochong0302 4dbf594dca 1.抽离refund.info.js
2.优化获取临时令牌日志
2025-04-03 19:01:59 +08:00

30 lines
991 B
Plaintext

{% extends 'templates/layer.volt' %}
{% block content %}
{{ partial('macros/refund') }}
{% set cancel_url = url({'for':'home.refund.cancel'}) %}
<table class="layui-table order-table" lay-size="lg">
<tr>
<td colspan="2">
<span>订单金额:<em class="price">{{ '¥%0.2f'|format(refund.order.amount) }}</em></span>
<span>退款金额:<em class="price">{{ '¥%0.2f'|format(refund.amount) }}</em></span>
<span>退款状态:{{ refund_status(refund.status) }}</span>
</td>
</tr>
<tr>
<td>{{ refund.subject }}</td>
<td>{{ status_history(refund.status_history) }}</td>
</tr>
</table>
<br>
<div class="center">
{% if refund.me.allow_cancel == 1 %}
<button class="layui-btn btn-refund-cancel" data-sn="{{ refund.sn }}" data-url="{{ cancel_url }}">取消退款</button>
{% endif %}
</div>
{% endblock %}