demingshangjia/components/fans-item/index.vue
2020-06-12 18:05:39 +08:00

41 lines
673 B
Vue

<template>
<view class="fans-item">
<image></image>
<view class="name">兽兽</view>
<view class="date">2017-10-14</view>
</view>
</template>
<script>
export default {
data() {
return {}
}
};
</script>
<style lang="scss" scoped>
.fans-item {
width: 750rpx;
height: 100rpx;
background: rgba(255,255,255,1);
padding: 0 30rpx;
display: flex;
align-items: center;
margin-bottom: 2rpx;
> image {
width: 70rpx;
height: 70rpx;
border-radius: 10rpx;
background-color: aqua;
margin-right: 30rpx;
}
.name {
font-size: 28rpx;
color: rgba(51,51,51,1);
margin-right: auto;
}
.date {
font-size: 24rpx;
color: rgba(153,153,153,1);
}
}
</style>