File tree Expand file tree Collapse file tree 2 files changed +67
-56
lines changed Expand file tree Collapse file tree 2 files changed +67
-56
lines changed Original file line number Diff line number Diff line change 2323
2424 <div class =' tips' >账号:admin 密码随便填</div >
2525 <div class =' tips' >账号:editor 密码随便填</div >
26+
27+ <el-button class =' thirdPart-button' type =" primary" @click =' showDialog=true' >打开第三方登录</el-button >
2628 </el-form >
2729
2830 <el-dialog title =" 第三方验证" :visible.sync =" showDialog" >
29- 邮箱登录成功,请选择第三方验证
31+ 本地不能模拟,请结合自己业务进行模拟!!!<br /><br /><br />
32+ 邮箱登录成功,请选择第三方验证<br />
3033 <social-sign />
3134 </el-dialog >
3235
124127
125128<style rel="stylesheet/scss" lang="scss">
126129 @import " src/styles/mixin.scss" ;
127- .tips {
128- font-size : 14px ;
129- color : #fff ;
130- margin-bottom : 10px ;
131- }
130+ $bg :#2d3a4b ;
131+ $dark_gray :#889aa4 ;
132+ $light_gray :#eee ;
132133
133134 .login-container {
134135 @include relative ;
135136 height : 100vh ;
136- background-color : #2d3a4b ;
137+ background-color : $bg ;
137138 input :-webkit-autofill {
138139 -webkit-box-shadow : 0 0 0px 1000px #293444 inset !important ;
139140 -webkit-text-fill-color : #fff !important ;
144145 -webkit-appearance : none ;
145146 border-radius : 0px ;
146147 padding : 12px 5px 12px 15px ;
147- color : #eeeeee ;
148+ color : $light_gray ;
148149 height : 47px ;
149150 }
150151 .el-input {
151152 display : inline-block ;
152153 height : 47px ;
153154 width : 85% ;
154155 }
156+ .tips {
157+ font-size : 14px ;
158+ color : #fff ;
159+ margin-bottom : 10px ;
160+ }
155161 .svg-container {
156162 padding : 6px 5px 6px 15px ;
157- color : #889aa4 ;
163+ color : $dark_gray ;
158164 vertical-align : middle ;
159165 width : 30px ;
160166 display : inline-block ;
161- & _login {
162- font-size :20px ;
167+ & _login {
168+ font-size : 20px ;
163169 }
164170 }
165171 .title {
166172 font-size : 26px ;
167173 font-weight : 400 ;
168- color : #eeeeee ;
174+ color : $light_gray ;
169175 margin : 0px auto 40px auto ;
170176 text-align : center ;
171177 font-weight : bold ;
184190 border-radius : 5px ;
185191 color : #454545 ;
186192 }
187- .show-pwd {
188- position : absolute ;
189- right : 10px ;
190- top : 7px ;
191- font-size : 16px ;
192- color : #889aa4 ;
193- cursor : pointer ;
193+ .show-pwd {
194+ position : absolute ;
195+ right : 10px ;
196+ top : 7px ;
197+ font-size : 16px ;
198+ color : $dark_gray ;
199+ cursor : pointer ;
200+ }
201+ .thirdPart-button {
202+ position : absolute ;
203+ right : 35px ;
204+ bottom : 28px ;
194205 }
195206 }
196207 </style >
Original file line number Diff line number Diff line change 11<template >
2- <div class =" social-signup-container" >
3- <div class =" sign-btn" @click =" wechatHandleClick('wechat')" >
4- <span class =" wx-svg-container" ><icon-svg icon-class =" weixin" class =" icon" ></icon-svg ></span > 微信
5- </div >
6- <div class =" sign-btn" @click =" tencentHandleClick('tencent')" >
7- <span class =" qq-svg-container" ><icon-svg icon-class =" QQ" class =" icon" ></icon-svg ></span > QQ
8- </div >
9- </div >
2+ <div class =" social-signup-container" >
3+ <div class =" sign-btn" @click =" wechatHandleClick('wechat')" >
4+ <span class =" wx-svg-container" ><icon-svg icon-class =" weixin" class =" icon" ></icon-svg ></span > 微信
5+ </div >
6+ <div class =" sign-btn" @click =" tencentHandleClick('tencent')" >
7+ <span class =" qq-svg-container" ><icon-svg icon-class =" QQ" class =" icon" ></icon-svg ></span > QQ
8+ </div >
9+ </div >
1010</template >
1111
1212<script >
3535
3636<style rel="stylesheet/scss" lang="scss" scoped>
3737 .social-signup-container {
38- margin : 20px 0 ;
39- .sign-btn {
40- display : inline-block ;
41- cursor : pointer ;
42- }
43- .icon {
44- color : #fff ;
45- font-size : 30px ;
46- margin-top : 6px ;
47- }
48- .wx-svg-container ,
49- .qq-svg-container {
50- display : inline-block ;
51- width : 40px ;
52- height : 40px ;
53- line-height : 40px ;
54- text-align : center ;
55- padding-top : 1px ;
56- border-radius : 4px ;
57- margin-bottom : 20px ;
58- margin-right : 5px ;
59- }
60- .wx-svg-container {
61- background-color : #8dc349 ;
62- }
63- .qq-svg-container {
64- background-color : #6BA2D6 ;
65- margin-left : 50px ;
66- }
38+ margin : 20px 0 ;
39+ .sign-btn {
40+ display : inline-block ;
41+ cursor : pointer ;
42+ }
43+ .icon {
44+ color : #fff ;
45+ font-size : 30px ;
46+ margin-top : 6px ;
47+ }
48+ .wx-svg-container ,
49+ .qq-svg-container {
50+ display : inline-block ;
51+ width : 40px ;
52+ height : 40px ;
53+ line-height : 40px ;
54+ text-align : center ;
55+ padding-top : 1px ;
56+ border-radius : 4px ;
57+ margin-bottom : 20px ;
58+ margin-right : 5px ;
59+ }
60+ .wx-svg-container {
61+ background-color : #8dc349 ;
62+ }
63+ .qq-svg-container {
64+ background-color : #6BA2D6 ;
65+ margin-left : 50px ;
66+ }
6767 }
6868 </style >
You can’t perform that action at this time.
0 commit comments