You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
2.9 KiB

<!DOCTYPE html>
<html lang="en">
<html>
<head>
<title>项目详情</title>
</head>
<body bgcolor="#f5f5dc">
<div align="center" >
<br>
<th>项目详情</th>
<br>
<table border="2">
<thead style="background-color: #e6e6e6">
<tr>
<th lay-data="{field:'name', width:100}">募捐项目</th>
<th lay-data="{field:'propose', width:100}">募捐目的</th>
<th lay-data="{field:'goal', width:100}">目标</th>
<th lay-data="{field:'rate', width:100}">目前进度</th>
<th lay-data="{field:'id', width:100}">募捐方案备案编号</th>
</tr>
</thead>
<br>
<tbody style="background-color: #fbfbfb">
<tr>
<td>{{pro.name}}</td>
<td>{{pro.propose}}</td>
<td>{{pro.goal}}</td>
<td>{{pro.rate}}</td>
<td>{{pro.id}}</td>
</tr>
</tbody>
</table>
<br>
<th>发布机构详情</th>
<table border="1">
<thead style="background-color: #e6e6e6">
<tr>
<th>慈善机构</th>
<th>联系电话</th>
<th>邮箱</th>
</tr>
</thead>
<br>
<tbody style="background-color: #fbfbfb">
<tr>
<td>{{cha_list.id}}</td>
<td>{{cha_list.mobile}}</td>
<td>{{cha_list.e_mail}}</td>
</tr>
</tbody>
</table>
<br>
<th>项目预算</th>
<table border="1">
<thead style="background-color: #e6e6e6">
<tr>
<th>物资</th>
<th>单价</th>
<th>数量</th>
</tr>
</thead>
<br>
<tbody style="background-color: #fbfbfb">
{% for yu in yu_list%}
<tr>
<td>{{yu.name}}</td>
<td>{{yu.Price}}</td>
<td>{{yu.number}}</td>
</tr>
{% endfor %}
</tbody>
</table>
<br>
<th>项目进展</th>
<table border="1">
<thead style="background-color: #e6e6e6">
<tr>
<th>受捐单位</th>
<th>物资</th>
<th>数量</th>
</tr>
</thead>
<br>
<tbody style="background-color: #fbfbfb">
{% for hos in sp_list%}
<tr>
<td>{{hos[0]}}</td>
<td>{{hos[1]}}</td>
<td>{{hos.number}}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% if pro.rate<100 %}
<a href='/alter?id={{pro.id}}&name={{pro.name}}&goal={{pro.goal}}&rate={{pro.rate}}&user_id={{user_id}}'>捐款</a>
{% endif %}
</div>
</body>
</html>