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.
74 lines
1.5 KiB
74 lines
1.5 KiB
<template>
|
|
<view class="box">
|
|
<view class="flex-b">
|
|
<view class="name">匿名用户</view>
|
|
<view class="date">2023/08/08</view>
|
|
</view>
|
|
<view class="starBox">
|
|
<u-rate active-color="#1989FA" inactive-color="#1989FA" gutter="1" :size="16" :value="4" disabled></u-rate>
|
|
<view class="num">4.9分</view>
|
|
</view>
|
|
<view class="text">教学质量高,技术好,超有耐心,有责任心,学车就找这个驾校,教练都超好,满意满意满意</view>
|
|
<!-- <view class="imgBox">
|
|
<view class="img" v-for="(item,index) in urls2" :key="index">
|
|
<image :src="item" mode=""></image>
|
|
</view>
|
|
</view> -->
|
|
<view class="imgBox">
|
|
<u-album :urls="urls2" :multipleSize="'160rpx'"></u-album>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
urls2: [
|
|
'https://cdn.uviewui.com/uview/album/1.jpg',
|
|
'https://cdn.uviewui.com/uview/album/2.jpg',
|
|
'https://cdn.uviewui.com/uview/album/3.jpg',
|
|
'https://cdn.uviewui.com/uview/album/4.jpg',
|
|
]
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.flex-b {
|
|
align-items: center;
|
|
.name {
|
|
font-weight: 600;
|
|
font-size: 32rpx;
|
|
color: #333;
|
|
}
|
|
|
|
.date {
|
|
font-size: 24rpx;
|
|
color: #686B73;
|
|
}
|
|
}
|
|
|
|
.starBox {
|
|
padding: 10rpx 0 24rpx 0;
|
|
}
|
|
|
|
.text {
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.imgBox {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
padding-top: 20rpx;
|
|
.img {
|
|
margin-top: 20rpx;
|
|
width: 160rpx;
|
|
height: 160rpx;
|
|
border-radius: 8rpx;
|
|
overflow: hidden;
|
|
margin-right: 24rpx;
|
|
}
|
|
}
|
|
</style>
|