OtherLogin.vue
1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<template>
<div class="login_others">
<div class="otherLogin_title">其他登录方式</div>
<div class="other_icon">
<div class="wechat">
<img :src="wechatIcon" alt="">
<span>微信快速登录</span>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'OtherLogin',
data() {
return {
wechatIcon: require('@/assets/icon/wechat.png'),
}
}
}
</script>
<style lang="less" scoped>
/** 其他登录方式 **/
.login_others {
display: flex;
flex: 1;
flex-direction: column;
justify-content: flex-end;
align-items: center;
padding-bottom: 20px;
.other_icon {
display: flex;
flex-direction: row;
justify-content: center;
margin-top: 5px;
.wechat {
display: flex;
flex-direction: column;
align-items: center;
span {
color: #666;
font-size: 11px;
margin-top: 5px;
}
}
img {
// display: block;
width: 38px;
}
}
}
.otherLogin_title {
position: relative;
color: #666;
font-size: 14px;
&:before {
content: "";
position: absolute;
top: 10px;
left: -30px;
width: 25px;
border-bottom: 1px solid #cfcfcf;
}
&:after {
content: "";
position: absolute;
top: 10px;
right: -30px;
width: 25px;
border-bottom: 1px solid #cfcfcf;
}
}
</style>