Authored by htoooth

fix css

@@ -242,6 +242,8 @@ const local = { @@ -242,6 +242,8 @@ const local = {
242 242
243 loginService.sendPasswordBySMS(area, mobile).then((result) => { 243 loginService.sendPasswordBySMS(area, mobile).then((result) => {
244 return res.json(result); 244 return res.json(result);
  245 + }).then(() => {
  246 + req.session.captcha = 'yoho9646';
245 }).catch(next); 247 }).catch(next);
246 }, 248 },
247 auth: (req, res, next) => { 249 auth: (req, res, next) => {
@@ -139,6 +139,9 @@ Captcha.prototype = { @@ -139,6 +139,9 @@ Captcha.prototype = {
139 }).then(function(result) { 139 }).then(function(result) {
140 if (result.code === 200) { 140 if (result.code === 200) {
141 return $.Deferred().resolve().promise(); // eslint-disable-line 141 return $.Deferred().resolve().promise(); // eslint-disable-line
  142 + } else if (result.code === 403) {
  143 + self.refresh();
  144 + return $.Deferred().reject().promise(); //eslint-disable-line
142 } else { 145 } else {
143 self.showTip(result.message); 146 self.showTip(result.message);
144 return $.Deferred().reject().promise(); //eslint-disable-line 147 return $.Deferred().reject().promise(); //eslint-disable-line
@@ -32,7 +32,7 @@ @@ -32,7 +32,7 @@
32 li { 32 li {
33 float: left; 33 float: left;
34 background-size: 240px 240px; 34 background-size: 240px 240px;
35 - background: #575757 no-repeat; 35 + background: white no-repeat;
36 width: 60px !important; 36 width: 60px !important;
37 height: 60px !important; 37 height: 60px !important;
38 border: 1px #e0e0e0 solid; 38 border: 1px #e0e0e0 solid;