From f1dbfabe133f95b83c0c3699b3202be80478aab8 Mon Sep 17 00:00:00 2001 From: Administrator <617594538@qq.com> Date: Tue, 14 Jan 2020 11:19:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../phy/ebuy/controller/EbuyController.java | 63 ++- src/main/webapp/WEB-INF/view/account.css | 31 ++ src/main/webapp/WEB-INF/view/account.html | 18 + .../webapp/WEB-INF/view/accountSettings.html | 16 + src/main/webapp/WEB-INF/view/index.html | 298 ++++--------- src/main/webapp/WEB-INF/view/message.html | 16 + src/main/webapp/WEB-INF/view/middle.html | 421 ++++++++++++++++++ .../webapp/WEB-INF/view/personalHomepage.html | 16 + src/main/webapp/static/css/account.css | 21 + .../webapp/static/css/accountSettings.css | 13 + src/main/webapp/static/css/index.css | 306 +++++++++++-- src/main/webapp/static/css/message.css | 13 + .../webapp/static/css/personalHomepage.css | 13 + src/main/webapp/static/img/app/app1.png | Bin 0 -> 1498 bytes src/main/webapp/static/img/app/app2.png | Bin 0 -> 1638 bytes src/main/webapp/static/img/app/app3.png | Bin 0 -> 1220 bytes src/main/webapp/static/img/app/app4.png | Bin 0 -> 1032 bytes src/main/webapp/static/img/app/app5.png | Bin 0 -> 1398 bytes .../webapp/static/img/carousel/carousel1.jpg | Bin 0 -> 72557 bytes .../webapp/static/img/carousel/carousel2.jpg | Bin 0 -> 39000 bytes .../webapp/static/img/carousel/carousel3.jpg | Bin 0 -> 40406 bytes .../webapp/static/img/carousel/carousel4.jpg | Bin 0 -> 76798 bytes .../webapp/static/img/carousel/carousel5.jpg | Bin 0 -> 18966 bytes src/main/webapp/static/img/commodity/test.jpg | Bin 0 -> 11178 bytes src/main/webapp/static/img/my-logo.png | Bin 0 -> 2837 bytes src/main/webapp/static/js/account.js | 1 + src/main/webapp/static/js/index.js | 133 +++++- src/main/webapp/static/js/login.js | 2 - src/main/webapp/static/js/register.js | 5 +- 29 files changed, 1116 insertions(+), 270 deletions(-) create mode 100644 src/main/webapp/WEB-INF/view/account.css create mode 100644 src/main/webapp/WEB-INF/view/account.html create mode 100644 src/main/webapp/WEB-INF/view/accountSettings.html create mode 100644 src/main/webapp/WEB-INF/view/message.html create mode 100644 src/main/webapp/WEB-INF/view/middle.html create mode 100644 src/main/webapp/WEB-INF/view/personalHomepage.html create mode 100644 src/main/webapp/static/css/account.css create mode 100644 src/main/webapp/static/css/accountSettings.css create mode 100644 src/main/webapp/static/css/message.css create mode 100644 src/main/webapp/static/css/personalHomepage.css create mode 100644 src/main/webapp/static/img/app/app1.png create mode 100644 src/main/webapp/static/img/app/app2.png create mode 100644 src/main/webapp/static/img/app/app3.png create mode 100644 src/main/webapp/static/img/app/app4.png create mode 100644 src/main/webapp/static/img/app/app5.png create mode 100644 src/main/webapp/static/img/carousel/carousel1.jpg create mode 100644 src/main/webapp/static/img/carousel/carousel2.jpg create mode 100644 src/main/webapp/static/img/carousel/carousel3.jpg create mode 100644 src/main/webapp/static/img/carousel/carousel4.jpg create mode 100644 src/main/webapp/static/img/carousel/carousel5.jpg create mode 100644 src/main/webapp/static/img/commodity/test.jpg create mode 100644 src/main/webapp/static/img/my-logo.png create mode 100644 src/main/webapp/static/js/account.js 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 @@ -
-
- -