diff --git a/src/main/java/com/phy/ebuy/controller/EbuyController.java b/src/main/java/com/phy/ebuy/controller/EbuyController.java index a4d3d4d..62573fb 100644 --- a/src/main/java/com/phy/ebuy/controller/EbuyController.java +++ b/src/main/java/com/phy/ebuy/controller/EbuyController.java @@ -16,12 +16,63 @@ public class EbuyController { @Autowired private EbuyService ebuyService; + + /** + * 页面跳转 + * @return 裴浩宇 + */ //跳转登录页面 @RequestMapping("/login") public String login() { return "/login.html"; } + //跳转到注册页面 + @RequestMapping("/register") + public String register() { + return "register.html"; + } + + //主页页面 + @RequestMapping("/index") + public String head() { + return "/index.html"; + } + + //中间内容页面 + @RequestMapping("/middle") + public String index() { + return "/middle.html"; + } + + //账户管理页面 + @RequestMapping("/account") + public String account() { + return "/account.html"; + } + + //账户管理-个人首页页面 + @RequestMapping("/personalHomepage") + public String personalHomepage() { + return "/personalHomepage.html"; + } + + //账户管理-账户设置页面 + @RequestMapping("/accountSettings") + public String accountSettings() { + return "/accountSettings.html"; + } + + //账户管理-消息页面 + @RequestMapping("/message") + public String message() { + return "/message.html"; + } + + + + + //验证登录 @ResponseBody @RequestMapping("/verifyLogin") @@ -40,12 +91,6 @@ public class EbuyController { return result; } - //跳转到注册页面 - @RequestMapping("/register") - public String register() { - return "register.html"; - } - //注册提交 @RequestMapping("/registerSub") @ResponseBody @@ -63,9 +108,5 @@ public class EbuyController { return result; } - //跳转到主页面 - @RequestMapping("/index") - public String index() { - return "index.html"; - } + } diff --git a/src/main/webapp/WEB-INF/view/account.css b/src/main/webapp/WEB-INF/view/account.css new file mode 100644 index 0000000..6b82ae9 --- /dev/null +++ b/src/main/webapp/WEB-INF/view/account.css @@ -0,0 +1,31 @@ +*{ + box-sizing: border-box; + padding: 0; + margin: 0; +} +html{ + width: 100%; + height: 100%; +} +body{ + width: 100%; + height: 100%; + display: flex; + flex-direction:column; +} +.head{ + height: 5em; + padding: 0 10%; + background: #17b5fe; +} +.head .my-logo{ + height: 100%; + width: 15%; + background-image: url("../img/my-logo.png"); + background-repeat: no-repeat; + background-position: center; + background-size: 100% 100%; +} +.iframe-middle{ + height: calc(100% - 5em); +} \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/view/account.html b/src/main/webapp/WEB-INF/view/account.html new file mode 100644 index 0000000..7ce2341 --- /dev/null +++ b/src/main/webapp/WEB-INF/view/account.html @@ -0,0 +1,18 @@ + + + + + 账户管理 + + + + +
+ +
+ +
+ + + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/view/accountSettings.html b/src/main/webapp/WEB-INF/view/accountSettings.html new file mode 100644 index 0000000..ae12d74 --- /dev/null +++ b/src/main/webapp/WEB-INF/view/accountSettings.html @@ -0,0 +1,16 @@ + + + + + 账户设置 + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/view/index.html b/src/main/webapp/WEB-INF/view/index.html index a4bf290..21868e0 100644 --- a/src/main/webapp/WEB-INF/view/index.html +++ b/src/main/webapp/WEB-INF/view/index.html @@ -9,241 +9,99 @@ -
-
- -