# 个人中心UI构建(下)

第三方登录 other-login.vue

// 封装组件
<template>
		<view class="other-login u-f-ac">
			<view class="u-f-ajc u-f1">
				<view class="icon iconfont icon-weixin u-f-ajc"></view>
			</view>
			<view class="u-f-ajc u-f1">
				<view class="icon iconfont icon-xinlangweibo u-f-ajc"></view></view>
			<view class=" u-f-ajc u-f1">
					<view class="icon iconfont icon-QQ u-f-ajc"></view></view>
		</view>
</template>

<script>
	export default {
		data() {
			return {
				providerList: []
			}
		},
		methods: {
			// 获取当前登录渠道
			
		}
	}
</script>

<style lang="less" scoped>
	.other-login {
		padding: 20rpx 80rpx;

		view {
			view {
				width: 100rpx;
				height: 100rpx;
				border-radius: 50%;
				font-size: 55rpx;
				color: #fff;
			}
		}

		.icon-weixin {
			background-color: #2bd198;
		}

		.icon-xinlangweibo {
			background-color: #fc7729;
		}

		.icon-QQ {
			background-color: #2caefc
		}
	}
</style>
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
上次更新: 2021/2/22 上午10:53:04