c654d6d9 by 任超

style:登录

1 parent bc34574c
...@@ -358,34 +358,6 @@ div.footer .system_service ul li a:hover { ...@@ -358,34 +358,6 @@ div.footer .system_service ul li a:hover {
358 display: flex; 358 display: flex;
359 justify-content: center; 359 justify-content: center;
360 } 360 }
361 #loginButton{
362 margin-right: 30px;
363 cursor: pointer;
364 border: 1px solid #dcdfe6;
365 color: #606266;
366 -webkit-appearance: none;
367 text-align: center;
368 box-sizing: border-box;
369 outline: none;
370 transition: .1s;
371 padding: 5px 10px;
372 font-size: 14px;
373 border-radius: 4px;
374 }
375 #registerButton{
376 margin-right: 30px;
377 cursor: pointer;
378 border: 1px solid #dcdfe6;
379 color: #606266;
380 -webkit-appearance: none;
381 text-align: center;
382 box-sizing: border-box;
383 outline: none;
384 transition: .1s;
385 padding: 5px 10px;
386 font-size: 14px;
387 border-radius: 4px;
388 }
389 .personalCenter { 361 .personalCenter {
390 display: inline-block; 362 display: inline-block;
391 } 363 }
...@@ -476,6 +448,10 @@ div.footer .system_service ul li a:hover { ...@@ -476,6 +448,10 @@ div.footer .system_service ul li a:hover {
476 position: relative; 448 position: relative;
477 top: 18px!important; 449 top: 18px!important;
478 } 450 }
451 .loginInput {
452 height: 26px;
453 margin-bottom: 10px;
454 }
479 .marginTop20 { 455 .marginTop20 {
480 margin-top: 20px; 456 margin-top: 20px;
481 } 457 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -5,17 +5,17 @@ function login() { ...@@ -5,17 +5,17 @@ function login() {
5 type: 1, 5 type: 1,
6 title: '登录信息', 6 title: '登录信息',
7 shadeClose: false, 7 shadeClose: false,
8 area: ['500px', '320px'], 8 area: ['500px', '280px'],
9 scrollbar: false, 9 scrollbar: false,
10 skin: 'confimInfo', 10 skin: 'confimInfo',
11 content: '<div class="loginINfo">' 11 content: '<div class="loginINfo">'
12 + '<ul>' 12 + '<ul>'
13 + '<li><span><a class="require">*</a>手机号</span>:<input id="phone"></li>' 13 + '<li><span><a class="require">*</a>手机号</span>:<input class="loginInput" id="phone"></li>'
14 + '<li><span><a class="require">*</a>密码</span>:<input type="password" id="IDcard"></li>' 14 + '<li><span><a class="require">*</a>密码</span>:<input class="loginInput" type="password" id="IDcard"></li>'
15 + '</ul>' 15 + '</ul>'
16 + '<div class="btns">' 16 + '<div class="btns">'
17 + '<button type="button" id="loginButton">登录</button>' 17 + '<button type="button" class="layui-btn layui-btn-normal" id="loginButton">登录</button>'
18 + '<button type="button" id="registerButton">注册</button></div>' 18 + '<button type="button" class="layui-btn layui-btn-primary" id="registerButton">注册</button></div>'
19 + '</div>' 19 + '</div>'
20 }); 20 });
21 }) 21 })
...@@ -43,6 +43,7 @@ function fetchDataReview() { ...@@ -43,6 +43,7 @@ function fetchDataReview() {
43 window.open('' + localhostPaht + '/index.html', '_self'); 43 window.open('' + localhostPaht + '/index.html', '_self');
44 $('.loginAfter').hide(); 44 $('.loginAfter').hide();
45 $('.isLogin').show(); 45 $('.isLogin').show();
46 sessionStorage.clear()
46 }, function () { 47 }, function () {
47 layer.msg('已取消'); 48 layer.msg('已取消');
48 }); 49 });
......