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 23
23
24
24
<div class =' tips' >账号:admin 密码随便填</div >
25
25
<div class =' tips' >账号:editor 密码随便填</div >
26
+
27
+ <el-button class =' thirdPart-button' type =" primary" @click =' showDialog=true' >打开第三方登录</el-button >
26
28
</el-form >
27
29
28
30
<el-dialog title =" 第三方验证" :visible.sync =" showDialog" >
29
- 邮箱登录成功,请选择第三方验证
31
+ 本地不能模拟,请结合自己业务进行模拟!!!<br /><br /><br />
32
+ 邮箱登录成功,请选择第三方验证<br />
30
33
<social-sign />
31
34
</el-dialog >
32
35
124
127
125
128
<style rel="stylesheet/scss" lang="scss">
126
129
@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 ;
132
133
133
134
.login-container {
134
135
@include relative ;
135
136
height : 100vh ;
136
- background-color : #2d3a4b ;
137
+ background-color : $bg ;
137
138
input :-webkit-autofill {
138
139
-webkit-box-shadow : 0 0 0px 1000px #293444 inset !important ;
139
140
-webkit-text-fill-color : #fff !important ;
144
145
-webkit-appearance : none ;
145
146
border-radius : 0px ;
146
147
padding : 12px 5px 12px 15px ;
147
- color : #eeeeee ;
148
+ color : $light_gray ;
148
149
height : 47px ;
149
150
}
150
151
.el-input {
151
152
display : inline-block ;
152
153
height : 47px ;
153
154
width : 85% ;
154
155
}
156
+ .tips {
157
+ font-size : 14px ;
158
+ color : #fff ;
159
+ margin-bottom : 10px ;
160
+ }
155
161
.svg-container {
156
162
padding : 6px 5px 6px 15px ;
157
- color : #889aa4 ;
163
+ color : $dark_gray ;
158
164
vertical-align : middle ;
159
165
width : 30px ;
160
166
display : inline-block ;
161
- & _login {
162
- font-size :20px ;
167
+ & _login {
168
+ font-size : 20px ;
163
169
}
164
170
}
165
171
.title {
166
172
font-size : 26px ;
167
173
font-weight : 400 ;
168
- color : #eeeeee ;
174
+ color : $light_gray ;
169
175
margin : 0px auto 40px auto ;
170
176
text-align : center ;
171
177
font-weight : bold ;
184
190
border-radius : 5px ;
185
191
color : #454545 ;
186
192
}
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 ;
194
205
}
195
206
}
196
207
</style >
Original file line number Diff line number Diff line change 1
1
<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 >
10
10
</template >
11
11
12
12
<script >
35
35
36
36
<style rel="stylesheet/scss" lang="scss" scoped>
37
37
.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
+ }
67
67
}
68
68
</style >
You can’t perform that action at this time.
0 commit comments