Authored by 王水玲

css 代码不规范修改

@@ -103,8 +103,6 @@ const local = { @@ -103,8 +103,6 @@ const local = {
103 // 设置登录有效时间30分钟, 防机器刷,cache不稳定,改为cookie 103 // 设置登录有效时间30分钟, 防机器刷,cache不稳定,改为cookie
104 res.cookie('LE' + md5('_LOGIN_EXPIRE'), (new Date()).getTime() / 1000 + 1800); 104 res.cookie('LE' + md5('_LOGIN_EXPIRE'), (new Date()).getTime() / 1000 + 1800);
105 105
106 - console.log(req.user.uid)  
107 -  
108 // 清除cookie 106 // 清除cookie
109 res.clearCookie('_UID', { 107 res.clearCookie('_UID', {
110 domain: 'yohobuy.com' 108 domain: 'yohobuy.com'
@@ -25,7 +25,7 @@ @@ -25,7 +25,7 @@
25 25
26 .title { 26 .title {
27 float: left; 27 float: left;
28 - margin: 0px; 28 + margin: 0;
29 color: #000; 29 color: #000;
30 font-weight: normal; 30 font-weight: normal;
31 font-size: 22px; 31 font-size: 22px;
@@ -122,7 +122,7 @@ @@ -122,7 +122,7 @@
122 } 122 }
123 123
124 .no-find { 124 .no-find {
125 - margin: 10px 0 0 0; 125 + margin: 10px 0 0;
126 color: #a5a4a4; 126 color: #a5a4a4;
127 text-align: center; 127 text-align: center;
128 line-height: 20px; 128 line-height: 20px;
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 height: 43px; 14 height: 43px;
15 border: 1px solid #dbdbdb; 15 border: 1px solid #dbdbdb;
16 color: #9a9a9a; 16 color: #9a9a9a;
17 - color: rgba(0, 0, 0, .5); 17 + color: rgba(0, 0, 0, 0.5);
18 text-indent: 10px; 18 text-indent: 10px;
19 font-size: 16px; 19 font-size: 16px;
20 line-height: 1.2; 20 line-height: 1.2;
@@ -50,11 +50,11 @@ @@ -50,11 +50,11 @@
50 50
51 &.red { 51 &.red {
52 .pwd-intensity { 52 .pwd-intensity {
53 - color: #ee0011; 53 + color: #e01;
54 } 54 }
55 55
56 .color { 56 .color {
57 - background: #ee0011; 57 + background: #e01;
58 color: #fff; 58 color: #fff;
59 } 59 }
60 } 60 }
@@ -82,7 +82,7 @@ @@ -82,7 +82,7 @@
82 } 82 }
83 83
84 .pwd-intensity { 84 .pwd-intensity {
85 - padding: 0px 10px; 85 + padding: 0 10px;
86 height: 15px; 86 height: 15px;
87 background-color: #e8e8e8; 87 background-color: #e8e8e8;
88 color: #b9b9b9; 88 color: #b9b9b9;
@@ -177,7 +177,7 @@ @@ -177,7 +177,7 @@
177 } 177 }
178 } 178 }
179 179
180 - /*完善信息提示框*/ 180 + /* 完善信息提示框 */
181 .page-tip { 181 .page-tip {
182 display: block; 182 display: block;
183 clear: both; 183 clear: both;
@@ -212,6 +212,7 @@ @@ -212,6 +212,7 @@
212 height: 190px; 212 height: 190px;
213 } 213 }
214 } 214 }
  215 +
215 @import "login"; 216 @import "login";
216 @import "register"; 217 @import "register";
217 @import "back"; 218 @import "back";
@@ -61,14 +61,13 @@ @@ -61,14 +61,13 @@
61 height: 37px; 61 height: 37px;
62 outline: none; 62 outline: none;
63 border: 0; 63 border: 0;
64 - vertical-align: middle;  
65 } 64 }
66 65
67 .change-captcha { 66 .change-captcha {
68 position: absolute; 67 position: absolute;
69 top: 0; 68 top: 0;
70 right: -50px; 69 right: -50px;
71 - float: left; 70 + display: block;
72 height: 43px; 71 height: 43px;
73 color: #ff1901; 72 color: #ff1901;
74 font-size: 14px; 73 font-size: 14px;
@@ -99,7 +99,7 @@ @@ -99,7 +99,7 @@
99 line-height: 49px; 99 line-height: 49px;
100 } 100 }
101 101
102 - &::after { 102 + &:after {
103 display: block; 103 display: block;
104 clear: both; 104 clear: both;
105 content: ''; 105 content: '';
@@ -142,7 +142,7 @@ @@ -142,7 +142,7 @@
142 } 142 }
143 } 143 }
144 144
145 - &::after { 145 + &:after {
146 display: block; 146 display: block;
147 clear: both; 147 clear: both;
148 content: ''; 148 content: '';
@@ -193,7 +193,7 @@ @@ -193,7 +193,7 @@
193 text-align: left; 193 text-align: left;
194 } 194 }
195 195
196 - &::after { 196 + &:after {
197 display: block; 197 display: block;
198 clear: both; 198 clear: both;
199 content: ''; 199 content: '';
@@ -388,7 +388,7 @@ @@ -388,7 +388,7 @@
388 text-decoration: underline; 388 text-decoration: underline;
389 } 389 }
390 390
391 - &::after { 391 + &:after {
392 display: block; 392 display: block;
393 clear: both; 393 clear: both;
394 content: ''; 394 content: '';
@@ -434,7 +434,6 @@ @@ -434,7 +434,6 @@
434 434
435 .gobuy, 435 .gobuy,
436 .completeprofile { 436 .completeprofile {
437 - display: inline-block;  
438 float: left; 437 float: left;
439 width: 94px; 438 width: 94px;
440 height: 94px; 439 height: 94px;
@@ -463,7 +462,6 @@ @@ -463,7 +462,6 @@
463 height: 29px; 462 height: 29px;
464 463
465 .successtag { 464 .successtag {
466 - display: inline-block;  
467 float: left; 465 float: left;
468 margin-right: 28px; 466 margin-right: 28px;
469 width: 29px; 467 width: 29px;
@@ -532,7 +530,7 @@ @@ -532,7 +530,7 @@
532 530
533 .usertagremind { 531 .usertagremind {
534 margin-bottom: 47px; 532 margin-bottom: 47px;
535 - color: #888888; 533 + color: #888;
536 text-align: center; 534 text-align: center;
537 font-size: 16px; 535 font-size: 16px;
538 } 536 }
@@ -559,7 +557,7 @@ @@ -559,7 +557,7 @@
559 width: 100%; 557 width: 100%;
560 height: 45px; 558 height: 45px;
561 559
562 - &::after { 560 + &:after {
563 display: block; 561 display: block;
564 clear: both; 562 clear: both;
565 content: ''; 563 content: '';
@@ -639,7 +637,6 @@ @@ -639,7 +637,6 @@
639 width: 100%; 637 width: 100%;
640 638
641 .logindirectly { 639 .logindirectly {
642 - display: inline-block;  
643 float: left; 640 float: left;
644 margin-right: 36px; 641 margin-right: 36px;
645 color: #f02200; 642 color: #f02200;
@@ -655,7 +652,7 @@ @@ -655,7 +652,7 @@
655 padding-top: 7px; 652 padding-top: 7px;
656 width: 160px !important; 653 width: 160px !important;
657 height: 72px; 654 height: 72px;
658 - background: #ffffff url(/passport/tip/block.png) no-repeat; 655 + background: #fff url(/passport/tip/block.png) no-repeat;
659 font-size: 12px; 656 font-size: 12px;
660 657
661 > div { 658 > div {
@@ -745,13 +742,13 @@ @@ -745,13 +742,13 @@
745 width: 100%; 742 width: 100%;
746 height: 100%; 743 height: 100%;
747 background: #000; 744 background: #000;
748 - opacity: .5; 745 + opacity: 0.5;
749 } 746 }
750 747
751 .err-info { 748 .err-info {
752 position: absolute; 749 position: absolute;
753 top: -41px; 750 top: -41px;
754 - left: 0px; 751 + left: 0;
755 z-index: 1000; 752 z-index: 1000;
756 display: none; 753 display: none;
757 padding: 0 10px; 754 padding: 0 10px;