You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<template>
|
|
|
|
<view class="collect">
|
|
|
|
<view class="item" v-for="i in 10" :key="i">
|
|
|
|
<view class="a">
|
|
|
|
<image src="https://zhengxin.njrenzhou.cn/static/default.png"></image>微信用户001
|
|
|
|
</view>
|
|
|
|
<view class="b">
|
|
|
|
<image src="https://zhengxin.njrenzhou.cn/static/icon-dui.png"></image>已关注
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
.collect{
|
|
|
|
padding: 0 25rpx 25rpx;
|
|
|
|
overflow: hidden;
|
|
|
|
.item{
|
|
|
|
padding: 30rpx 25rpx;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
margin-top: 20rpx;
|
|
|
|
box-shadow: 0px 3rpx 10rpx 0px rgba(9,44,39,0.05);
|
|
|
|
border-radius: 20rpx;
|
|
|
|
.a{
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 30rpx;
|
|
|
|
color: #222222;
|
|
|
|
image{
|
|
|
|
width: 80rpx;
|
|
|
|
height: 80rpx;
|
|
|
|
border-radius: 50%;
|
|
|
|
margin-right: 20rpx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.b{
|
|
|
|
width: 130rpx;
|
|
|
|
height: 50rpx;
|
|
|
|
line-height: 50rpx;
|
|
|
|
background: #00C6A9;
|
|
|
|
border-radius: 4rpx;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 22rpx;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
color: #FFFFFF;
|
|
|
|
image{
|
|
|
|
width: 20rpx;
|
|
|
|
height: 14rpx;
|
|
|
|
margin-right: 10rpx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|