From a0dc9c2f4f908c8b8b26f19c6be2e3f49d64ae4b Mon Sep 17 00:00:00 2001 From: Allen <615857209@qq.com> Date: Fri, 11 Jan 2019 17:34:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=99=BB=E5=BD=95=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- denglu/denglu.js | 102 +++++++------- denglu/denglu.json | 3 - denglu/denglu.wxml | 38 ++++-- denglu/denglu.wxss | 129 ++++++++++-------- image/123.jpg | Bin 0 -> 33310 bytes .../main/java/controller/LoginController.java | 8 +- .../zxlogin/src/main/java/domain/UserPO.java | 2 +- .../src/main/java/mapperDAO/UserDAO.java | 2 +- .../src/main/java/service/LoginService.java | 2 +- .../java/serviceimpl/LoginServiceImpl.java | 4 +- 10 files changed, 158 insertions(+), 132 deletions(-) create mode 100644 image/123.jpg diff --git a/denglu/denglu.js b/denglu/denglu.js index 7352baf..80e094a 100644 --- a/denglu/denglu.js +++ b/denglu/denglu.js @@ -1,52 +1,52 @@ -Page({ - formSubmit: function (e) { - wx.request({ - url: 'http://localhost:9527/zxlogin/login', - data: { - 'userid': e.detail.value.userid, - 'userpassword': e.detail.value.userpassword, - }, - header: { - "Content-Type": "application/x-www-form-urlencoded" - }, - - methods: { - method: "POST", - }, - success: function (res) { - console.log(res.data); - if (res.data == "111") { - wx.showModal({ - title: '登录消息', - content: '密码正确', - confirmColor: "rgba(253, 153, 65, 1)", - success: function (res) { - if (res.confirm) { - wx.switchTab({ - url: '../shouye/shouye', - }) - } - } - }) - } - else if (res.data == "100") { - wx.showModal({ - title: '登录消息', - content: '密码错误', - confirmColor: "rgba(253, 153, 65, 1)" - }) - } - else if (res.data == "001") { - wx.showModal({ - title: '登录消息', - content: '用户名不存在', - confirmColor: "rgba(253, 153, 65, 1)" - }) - } - }, - fail: function (res) { - console.log("失败"); - } - }) - } +Page({ + formSubmit: function (e) { + wx.request({ + url: 'http://localhost:9527/zxlogin/login', + data: { + 'userid': e.detail.value.userid, + 'userpassword': e.detail.value.userpassword, + }, + header: { + "Content-Type": "application/x-www-form-urlencoded" + }, + + methods: { + method: "POST", + }, + success: function (res) { + console.log(res.data); + if (res.data == "111") { + wx.showModal({ + title: '登录消息', + content: '登录成功', + confirmColor: "rgba(253, 153, 65, 1)", + success: function (res) { + if (res.confirm) { + wx.switchTab({ + url: '../shouye/shouye', + }) + } + } + }) + } + else if (res.data == "100") { + wx.showModal({ + title: '登录消息', + content: '密码错误', + confirmColor: "rgba(253, 153, 65, 1)" + }) + } + else if (res.data == "001") { + wx.showModal({ + title: '登录消息', + content: '用户名不存在', + confirmColor: "rgba(253, 153, 65, 1)" + }) + } + }, + fail: function (res) { + console.log("失败"); + } + }) + } }) \ No newline at end of file diff --git a/denglu/denglu.json b/denglu/denglu.json index af33de1..8835af0 100644 --- a/denglu/denglu.json +++ b/denglu/denglu.json @@ -1,6 +1,3 @@ { - - "component": true, - "usingComponents": {} } \ No newline at end of file diff --git a/denglu/denglu.wxml b/denglu/denglu.wxml index 91cf3b8..7f2081c 100644 --- a/denglu/denglu.wxml +++ b/denglu/denglu.wxml @@ -1,15 +1,29 @@ -
+ diff --git a/denglu/denglu.wxss b/denglu/denglu.wxss index 70e0127..fa04f7d 100644 --- a/denglu/denglu.wxss +++ b/denglu/denglu.wxss @@ -1,59 +1,74 @@ -/* denglu/denglu.wxss */ -page { - background-image: url("http://qty83k.creatby.com/materials/143410/origin/21bbf9caec3fddab4b8304359e2b41bb_origin.jpg"); background-size: 375px 678px; - background-repeat: no-repeat; -} -.button1{ - width: 60%; - margin-top: 0rpx; - background-color:rgba(253, 153, 65, 0.67); - color: white; - border-radius: 98rpx; +page{ + height: 100%; +} + +.container { + height: 100%; display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - margin-top: 140px; -} -.inputnumber{ - width:50%; - background-color: transparent; - height:1.6rem; - font-size: 18px; - margin-left: 15px; - margin-top: 100px; - display: inline; -border-width: 2px; -border-color: rgb(255, 255, 255); -border-style: solid; - color: #ffffff; -} -.inputpassword{ - width:50%; - background-color: transparent; - height:1.6rem; - font-size: 18px; - margin-left: 108px; - margin-top: -30px; - border-width: 2px; -border-color: rgb(255, 255, 255); -border-style: solid; - color: #ffffff; -} -.text1{ - width: 50px; - font-size: 23px; - color: #ffffff; - margin-left: 43px; - margin-top:100px; -} -.password{width: 50px; - font-size: 23px; - color: #ffffff; - margin-left: 43px; - margin-top:50px; + flex-direction: column; + padding: 0; + box-sizing: border-box; + background-color: #f2f2f2 +} + +/*登录图片*/ +.login-icon{ + flex: none; +} +.login-img{ + width: 750rpx; +} - } - - - +/*表单内容*/ +.login-from { + margin-top: 20px; + flex: auto; + height:100%; +} + +.inputView { + background-color: #fff; + line-height: 44px; +} +/*输入框*/ +.nameImage, .keyImage { + margin-left: 42px; + width: 14px; + height: 14px +} + +.loginLab { + margin: 15px 15px 15px 10px; + color: #545454; + font-size: 14px +} +.inputText { + flex: block; + float: right; + text-align: right; + margin-right: 22px; + margin-top: 11px; + color: #cccccc; + font-size: 14px +} + +.line { + width: 100%; + height: 1px; + background-color: #cccccc; + margin-top: 1px; +} +/*按钮*/ +.loginBtnView { + width: 100%; + height: auto; + background-color: rgb(253,253,65); + margin-top: 0px; + margin-bottom: 0px; + padding-bottom: 0px; +} + +.loginBtn { + width: 80%; + margin-top: 35px; +} diff --git a/image/123.jpg b/image/123.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7d605d98a3bc9747481ac188d66b42fa5cceb3c2 GIT binary patch literal 33310 zcmb5VWn5HW)G&HxhLrAx0fv$e3F#iXq(fka?gptLq`SKjK}5PyI;25qlok+>5>P;1 z{?C1W_q|{5KIg;UXYak%+I3d$hoy%NfKXLQMF{|bKmh#l0UlNXc>w7 zs(duF6Y*`-S@aV$joqXt?45mz!q#Wu)17w1t;&Qy!|szrsBO@m$4+{Wxz|y#+{AqI1Oh{yq}8q+j+vnX zO-ye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0(j&fOeRpQrrN62Lk7FubavK`(q_e?v-c#ZQ5)tSUzvQpNjs zff%7hJ5)JrVzwFq2hv$Cr&nGfd>o&WM5Ad{W&qpHe2MIE#W z=Fx D0LA zF07dMFMb6)zBaKJZj4o3(|Sw!58&$i;*Qqn6yTqwKb-rS-^E-&>3!{JM683gb1Pd5 zp1(C%`4O>SI%!XiCn#fkIwnWF^ cGpa)7PLOx%VPHm8qI1Bq~kF737MwA z_<}o?CEO-iIh~~Esz!$2<68mm5WM_$aH72DSdHIPo^7c-N1XS0lx=C@eU7+ry-&s` zM^7g=L-k)|@{{NVyfq;D_6p}}H5^_o{PH#HsBh&Yo{j$7oaC=hdnr;qhTh6E43S+9 z`}PW_dW0*i3nj%{l&Xpq9|L@G2g{tB%fri3TPz@(rRmPBO%}FlWf?3{)rdC=wZ9gW zJj&-(U3q-fxT<$il*tAhWRQv~Wj%pw35=7Niu+X1DWxCxzE9WmcqEjHx54dgUv`B% zBD>@;)0%YMW5UJpn|c+~_352yRYgRk;ynj&f5K1RX$g#-k?BAZUY$t)fWSZOCZP?O zX(Qq?!tv{vjBVE(IA?o5qAd+<+8KR_g{mP^({s|$QYjLms=TYF`>v&>50qb(w-8-BCg=(s~ z=ana;k_EMj6v>MMaq*o8sg#}C0 -oCJhMITF>d=mKW=3vhi*Eagxagh*C041Tn(u9|2HgTYM?L> zT=oC5kq2e!m&4UjALjhu-63!}xEkoK8YmS6SJQ>7u~DF2;(_405~#zbm%~dyaCK}o QP^LmTTovW80sdS0f2D#2#{d8T literal 0 HcmV?d00001 diff --git a/后端的都放着里面/zxlogin/src/main/java/controller/LoginController.java b/后端的都放着里面/zxlogin/src/main/java/controller/LoginController.java index a1f1ee3..371d1f7 100644 --- a/后端的都放着里面/zxlogin/src/main/java/controller/LoginController.java +++ b/后端的都放着里面/zxlogin/src/main/java/controller/LoginController.java @@ -20,17 +20,17 @@ public class LoginController { @Autowired@Qualifier("LoginServiceImpl") private LoginService loginService; @RequestMapping("/login") - public void login(int userid, int userpassword, + public void login(int s_id, int s_password, HttpServletRequest request, HttpServletResponse response) throws IOException { - UserPO userPO=this.loginService.FindByUserid(userid); + UserPO userPO=this.loginService.FindByUserid(s_id); response.setContentType("text/html;charset=utf-8"); /* 设置响应头允许ajax跨域访问 */ response.setHeader("Access-Control-Allow-Origin", "*"); /* 星号表示所有的异域请求都可以接受, */ response.setHeader("Access-Control-Allow-Methods", "GET,POST"); - System.out.println(userid); + System.out.println(s_id); if(userPO!=null) - if(userpassword==userPO.getUserpassword()) + if(s_password==userPO.getUserpassword()) { System.out.println("密码正确"); Writer out = response.getWriter(); diff --git a/后端的都放着里面/zxlogin/src/main/java/domain/UserPO.java b/后端的都放着里面/zxlogin/src/main/java/domain/UserPO.java index cdeb568..e28f7d9 100644 --- a/后端的都放着里面/zxlogin/src/main/java/domain/UserPO.java +++ b/后端的都放着里面/zxlogin/src/main/java/domain/UserPO.java @@ -3,7 +3,7 @@ package domain; import java.io.Serializable; public class UserPO implements Serializable{ - private int userid; + private int s_id; private int userpassword; private String username; public int getUserid() { diff --git a/后端的都放着里面/zxlogin/src/main/java/mapperDAO/UserDAO.java b/后端的都放着里面/zxlogin/src/main/java/mapperDAO/UserDAO.java index d47c532..321074e 100644 --- a/后端的都放着里面/zxlogin/src/main/java/mapperDAO/UserDAO.java +++ b/后端的都放着里面/zxlogin/src/main/java/mapperDAO/UserDAO.java @@ -6,7 +6,7 @@ import domain.UserPO; @Repository("UserDAO") public interface UserDAO { - public UserPO FindByUserid(int userid); + public UserPO FindByUserid(int s_id); } diff --git a/后端的都放着里面/zxlogin/src/main/java/service/LoginService.java b/后端的都放着里面/zxlogin/src/main/java/service/LoginService.java index cde0854..8a3a3b7 100644 --- a/后端的都放着里面/zxlogin/src/main/java/service/LoginService.java +++ b/后端的都放着里面/zxlogin/src/main/java/service/LoginService.java @@ -4,5 +4,5 @@ import domain.UserPO; public interface LoginService{ - public UserPO FindByUserid(int userid); + public UserPO FindByUserid(int s_id); } diff --git a/后端的都放着里面/zxlogin/src/main/java/serviceimpl/LoginServiceImpl.java b/后端的都放着里面/zxlogin/src/main/java/serviceimpl/LoginServiceImpl.java index 4a35451..db2b1a7 100644 --- a/后端的都放着里面/zxlogin/src/main/java/serviceimpl/LoginServiceImpl.java +++ b/后端的都放着里面/zxlogin/src/main/java/serviceimpl/LoginServiceImpl.java @@ -15,8 +15,8 @@ public class LoginServiceImpl implements LoginService{ private UserDAO userDAO; - public UserPO FindByUserid(int userid){ - return this.userDAO.FindByUserid(userid); + public UserPO FindByUserid(int s_id){ + return this.userDAO.FindByUserid(s_id); } }