fix<优化下单逻辑>
parent
ddfc9270aa
commit
9dfe3a62aa
|
@ -10,6 +10,7 @@
|
|||
<body>
|
||||
<h1>购物车</h1>
|
||||
<a href="/">主页</a>
|
||||
<c:if test="${not empty computers}">
|
||||
<table border="1">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -33,12 +34,17 @@
|
|||
</tbody>
|
||||
</table>
|
||||
<hr>
|
||||
</c:if>
|
||||
<c:if test="${not empty computers}">
|
||||
<a href="/orders?action=add">
|
||||
<button>一键下单</button>
|
||||
</a>
|
||||
</c:if>
|
||||
<c:if test="${empty computers}">
|
||||
<p>购物车为空,暂无商品可下单。</p>
|
||||
</c:if>
|
||||
<br>
|
||||
<br/>
|
||||
<br>
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue