Showing
2 changed files
with
7 additions
and
7 deletions
@@ -3,7 +3,9 @@ module.exports=function(app) { | @@ -3,7 +3,9 @@ module.exports=function(app) { | ||
3 | 3 | ||
4 | app.get("/login","common.Login"); | 4 | app.get("/login","common.Login"); |
5 | 5 | ||
6 | - app.get("/logout","common.Login"); | 6 | + app.get("/logout","common.Login",function (req) { |
7 | + delete req.session.user; | ||
8 | + }); | ||
7 | 9 | ||
8 | app.post("/login", "common_login", function (login, req, res){ | 10 | app.post("/login", "common_login", function (login, req, res){ |
9 | if (login.code == 200) { | 11 | if (login.code == 200) { |
@@ -124,12 +124,10 @@ | @@ -124,12 +124,10 @@ | ||
124 | } | 124 | } |
125 | 125 | ||
126 | .rankTip{ | 126 | .rankTip{ |
127 | - float: left; | ||
128 | - height: 282px; | ||
129 | - padding-top: 218px; | ||
130 | - margin-left: 20px; | ||
131 | - width: 150px; | 127 | + font-size: 14px; |
132 | text-align: center; | 128 | text-align: center; |
129 | + height: 20px; | ||
130 | + line-height: 20px; | ||
133 | 131 | ||
134 | ._red{ | 132 | ._red{ |
135 | color: #ff0000; | 133 | color: #ff0000; |
@@ -169,8 +167,8 @@ | @@ -169,8 +167,8 @@ | ||
169 | padding: 10px 0; | 167 | padding: 10px 0; |
170 | background-color: #eeeeee; | 168 | background-color: #eeeeee; |
171 | width: 200px; | 169 | width: 200px; |
170 | + height: 132px; | ||
172 | text-align: center; | 171 | text-align: center; |
173 | - margin-top: 20px; | ||
174 | 172 | ||
175 | h2{ | 173 | h2{ |
176 | margin-top: 15px; | 174 | margin-top: 15px; |
-
Please register or login to post a comment