index.vue
2.6 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<template>
<div class="home-wrapper">
<div class="side-title">
<Icon name="icon-me"></Icon>
关于我们
</div>
<div class="home-body">
<div class="myself-main">
<div class="main-desc">
</div>
</div>
<div class="side-main">
<div class="side-wrapper">
<div class="side-img">
<img src="../../images/avatar.png" class="avatar" alt="" />
</div>
<div class="side-content">
<div class="content-item">RF</div>
<div class="content-item">Running Football</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
name: "myself",
components: {},
props: {},
computed: {},
data() {
return {};
},
watch: {},
created() {},
mounted() {},
beforeDestroy() {},
methods: {},
};
</script>
<style lang="less" scoped>
.home-body {
background-color: #fff;
}
.side-title {
width: 1200px;
background-color: #fff;
margin: 20px auto 0;
padding-left: 20px;
&::after {
width: 8.4%;
}
&:hover {
&::after {
width: 100%;
}
}
}
.myself-main {
width: 70%;
padding: 24px;
border-right: 1px solid @borderColor;
.main-desc {
font-size: 14px;
line-height: 32px;
color: @thinColor;
}
.main-img {
margin-top: 10px;
max-height: 300px;
object-fit: contain;
}
.main-footer {
background: @thinBgColor;
padding: 10px;
text-align: left;
line-height: 32px;
margin: 20px auto;
color: #0609308a;
a {
color: #0609308a;
text-decoration: underline;
}
}
}
.side-main {
flex: 1;
.side-wrapper {
margin-top: 24px;
.side-title {
width: 92%;
margin: 0;
padding-left: 0;
svg {
font-size: 24px;
}
&::after {
width: 10%;
}
&:hover {
&::after {
width: 100%;
}
}
}
.side-img {
display: flex;
justify-content: center;
margin-bottom: 24px;
.avatar {
width: 100px;
height: 100px;
border-radius: 50%;
}
.qrcode {
width: 80%;
height: 80%;
border-radius: 6px;
margin-top: 24px;
}
}
.side-content {
.content-item {
width: 92%;
padding: 5px 10px;
margin: 5px 0;
border-radius: 5px;
font-size: 14px;
color: @thinColor;
background-color: @thinBgColor;
}
}
}
}
</style>