diff --git a/src/main/webapp/cart.jsp b/src/main/webapp/cart.jsp index c28da24..f91dd49 100644 --- a/src/main/webapp/cart.jsp +++ b/src/main/webapp/cart.jsp @@ -7,6 +7,90 @@ 购物车 +
diff --git a/src/main/webapp/computerList.jsp b/src/main/webapp/computerList.jsp index e2c1381..52d21b4 100644 --- a/src/main/webapp/computerList.jsp +++ b/src/main/webapp/computerList.jsp @@ -1,111 +1,196 @@ <%@ page contentType="text/html; charset=UTF-8" language="java" %> - <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> - - +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> + + - - - - - 电脑产品列表 - + + + + + + 电脑产品列表 + + + +
+

电脑商城

+

你好!${sessionScope.user.username}

+ + 电脑选购 我的购物车 + 我的订单 - - 发布电脑产品 - -
- - - \ No newline at end of file + + 用户列表 + 所有订单 + + 退出 + +
+ +

请登录后查看更多内容~

+
+ 注册 + 登录 +
+
+ +

电脑产品列表

+ + 发布电脑产品 + + + + + + + + + + + + + + + + + + + + + + +
ID名称价格库存操作
${computer.id}${computer.name}${computer.price}${computer.stock} + + 编辑 | + 删除 + + + + 加购 + +
+ + +
+

${requestScope.msg}

+ +
+ + 我的购物车 + + +
+ + + + diff --git a/src/main/webapp/login.jsp b/src/main/webapp/login.jsp index ae09049..f774b9e 100644 --- a/src/main/webapp/login.jsp +++ b/src/main/webapp/login.jsp @@ -1,12 +1,86 @@ <%@ page contentType="text/html;charset=UTF-8" language="java" %> - - + + - - - + + + + + + +

-电脑商城-用户登录

@@ -17,7 +91,8 @@ 没有账号?去注册

- ${requestScope.msg} - +
${requestScope.msg}
+
+ - \ No newline at end of file + diff --git a/src/main/webapp/myOrder.jsp b/src/main/webapp/myOrder.jsp index 7e40e1a..ac41fba 100644 --- a/src/main/webapp/myOrder.jsp +++ b/src/main/webapp/myOrder.jsp @@ -7,6 +7,90 @@ 我的订单 +
diff --git a/src/main/webapp/orders.jsp b/src/main/webapp/orders.jsp index 70da03a..514c39d 100644 --- a/src/main/webapp/orders.jsp +++ b/src/main/webapp/orders.jsp @@ -8,6 +8,90 @@ 订单列表 + diff --git a/src/main/webapp/register.jsp b/src/main/webapp/register.jsp index 0c327d6..aaf6ec0 100644 --- a/src/main/webapp/register.jsp +++ b/src/main/webapp/register.jsp @@ -1,12 +1,86 @@ <%@ page contentType="text/html;charset=UTF-8" language="java" %> - - + + - - - + + + + + + +

用户注册

@@ -19,7 +93,8 @@ 已有账号,去登录

- ${requestScope.msg} - +
${requestScope.msg}
+
+ - \ No newline at end of file + diff --git a/src/main/webapp/userList.jsp b/src/main/webapp/userList.jsp index a3106f5..b974fc8 100644 --- a/src/main/webapp/userList.jsp +++ b/src/main/webapp/userList.jsp @@ -7,6 +7,90 @@ 系统用户 +