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.
 
 
 

62 lines
1.2 KiB

<template>
<view class="commentItem">
<view class="flex">
<view class="avatar">
<image src="@/static/images/avatarbg.png" mode=""></image>
</view>
<view class="name">关系很好</view>
<view class="tag">7天通过科目一</view>
</view>
<view class="text">
抱着"花钱买个心安" 的想法买了VIP后面果然很快就通过考试了比我预想的考试分高
</view>
</view>
</template>
<script setup>
defineProps(['info'])
</script>
<style lang="scss" scoped>
image {
display: block;width: 100%;height: 100%;
}
.commentItem {
width: 100%;
height: 236rpx;
background: #FFFFFF;
box-shadow: 0px 0px 18rpx 0px rgba(0, 0, 0, 0.04);
border-radius: 10rpx;
padding: 40rpx;
.flex {
.avatar {
width: 40rpx;
height: 40rpx;
border-radius: 50%;
}
.name {
font-size: 28rpx;
font-weight: 500;
padding: 0 10rpx;
}
.tag {
min-width: 159rpx;
height: 36rpx;
background: linear-gradient(135deg, #F9E4B1 0%, #F1C477 100%);
border-radius: 6rpx;
line-height: 36rpx;
text-align: center;
padding: 0 10rpx;
font-size: 20rpx;
}
}
.text {
margin-top: 26rpx;
font-size: 24rpx;
color: #2D1306;
}
}
</style>