douyin/src/pages/people/AddressList.vue
2021-08-21 00:32:02 +08:00

98 lines
1.7 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="AddressList">
<BaseHeader>
<template v-slot:center>
<span class="f16">手机通讯录</span>
</template>
</BaseHeader>
<div class="content">
<div class="recommend">
<div class="title">
<div class="left">
已有20+位朋友加入抖音
</div>
</div>
<div class="list">
<People v-for="item in list " :people="item"></People>
</div>
</div>
<div class="footer">
为尊重用户选择仅展示已授权用户
</div>
</div>
</div>
</template>
<script>
import People from './components/People'
export default {
name: "AddressList",
components: {
People,
},
data() {
return {
list: [
{
type: 5,
},
]
}
},
methods: {}
}
</script>
<style scoped lang="less">
@import "../../assets/scss/index";
.AddressList {
position: fixed;
left: 0;
right: 0;
bottom: 0;
top: 0;
overflow: auto;
color: white;
.content {
padding-top: 6rem;
.recommend {
.title {
padding: 20px 20px 10px 20px;
display: flex;
justify-content: space-between;
align-items: center;
.left {
color: @second-text-color;
img {
width: 10px;
height: 10px;
}
}
.right {
border-radius: 50%;
background: @second-text-color;
padding: 5px;
width: 10px;
height: 10px;
}
}
}
.footer {
text-align: center;
line-height: 6rem;
height: 6rem;
color: @second-text-color;
}
}
}
</style>