fix<优化下单逻辑>

master
liyansheng 2024-12-21 17:11:50 +08:00
parent ddfc9270aa
commit 9dfe3a62aa
1 changed files with 32 additions and 26 deletions

View File

@ -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>