Files
order/web/templates/finance/account.html

36 lines
1.0 KiB
HTML
Raw Normal View History

2019-07-18 08:59:26 +08:00
{% extends "common/layout_main.html" %}
{% block content %}
2019-08-06 14:17:42 +08:00
{% include "common/tab_finance.html" %}
2019-07-18 08:59:26 +08:00
<div class="row">
<div class="col-lg-12 m-t">
2019-08-06 14:17:42 +08:00
<p>总收款金额:{{ total_money }}元</p>
2019-07-18 08:59:26 +08:00
</div>
<div class="col-lg-12">
<table class="table table-bordered m-t">
<thead>
<tr>
<th>订单编号</th>
<th>价格</th>
<th>支付时间</th>
</tr>
</thead>
<tbody>
2019-08-06 14:17:42 +08:00
{% if list %}
{% for item in list %}
2019-07-18 08:59:26 +08:00
<tr>
2019-08-06 14:17:42 +08:00
<td>{{ item.order_number }}</td>
<td>{{ item.total_price }}</td>
<td>{{ item.pay_time }}</td>
2019-07-18 08:59:26 +08:00
</tr>
2019-08-06 14:17:42 +08:00
{% endfor %}
{% else %}
<tr><td colspan="3">暂无数据~~</td></tr>
{% endif %}
2019-07-18 08:59:26 +08:00
</tbody>
</table>
2019-08-06 14:17:42 +08:00
<!--分页代码已被封装到统一模板文件中-->
{% include 'common/pagenation.html' %}
2019-07-18 08:59:26 +08:00
</div>
</div>
{% endblock %}