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.
88 lines
1.5 KiB
88 lines
1.5 KiB
10 months ago
|
<template>
|
||
|
<view class="comment">
|
||
|
<view class="item" v-for="i in 10" :key="i">
|
||
|
<view class="avater">
|
||
|
<image src="@/static/news/avater.png"></image>
|
||
|
</view>
|
||
|
<view class="info">
|
||
|
<view class="a">Shark特<text>10分钟前</text></view>
|
||
|
<view class="b">非常棒,讲解细致,下次还来!</view>
|
||
|
<view class="c">
|
||
|
<image v-for="o in 3" :key="o" src="@/static/home/phone.jpg"></image>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss" scoped>
|
||
|
.comment{
|
||
|
padding: 20rpx 0;
|
||
|
overflow: hidden;
|
||
|
.item{
|
||
|
padding: 45rpx 40rpx;
|
||
|
overflow: hidden;
|
||
|
background-color: #fff;
|
||
|
display: flex;
|
||
|
align-items: flex-start;
|
||
|
.avater{
|
||
|
width: 80rpx;
|
||
|
height: 80rpx;
|
||
|
margin-right: 30rpx;
|
||
|
image{
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
border-radius: 50%;
|
||
|
}
|
||
|
}
|
||
|
.info{
|
||
|
flex: 1;
|
||
|
max-width: 600rpx;
|
||
|
text-align: left;
|
||
|
overflow: hidden;
|
||
|
.a{
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: space-between;
|
||
|
font-size: 32rpx;
|
||
|
font-weight: 400;
|
||
|
color: #232323;
|
||
|
text{
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 400;
|
||
|
color: #B4B4B4;
|
||
|
}
|
||
|
}
|
||
|
.b{
|
||
|
font-size: 28rpx;
|
||
|
font-weight: 400;
|
||
|
color: #515151;
|
||
|
|
||
|
}
|
||
|
.c{
|
||
|
width: 110%;
|
||
|
overflow: hidden;
|
||
|
image{
|
||
|
width: 150rpx;
|
||
|
height: 150rpx;
|
||
|
float: left;
|
||
|
margin-left: 20rpx;
|
||
|
margin-top: 20rpx;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
</style>
|