evaluate.vue 2.6 KB
<template>
	<view class="conetnt">
		<view class="outerBox">
			<view class="item" v-for="(item,index) in list" :key="index">
				<view class="userBox">
					<view class="" style="display: flex;align-items: center;">
						<image :src="item.userIMG" mode="" class="userImg"></image>
						<text style="padding-left: 20rpx;">{{item.name}}</text>
					</view>
					<view class="time">
						{{item.time}}
					</view>
				</view>
				<view class="detail">
					<image src="../../static/ic_23@2x.png" mode=""></image>
					<text style="padding-left: 30rpx;">{{item.detail}}</text>
				</view>
				<view class="contentTEXT">
					{{item.content}}
				</view>
				<view class="imgBox">
					<view class="" v-for="(items,indexs) in item.imgList" :key="indexs" style="margin-right: 6rpx;">
						<image :src="items" mode="" ></image>
					</view>
					
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [{
					userIMG: '../../static/ic_1@2x.png',
					name: '张**',
					time: '2021-12-12',
					detail: '海蓝色,256G',
					content: '伏尔泰在不经意间这样说过,不经巨大的困难,不会有伟大的事业。带着这句话,我们还要更加慎重的审视这个问题: 这种事实对本人来说意义重大,相信对这个世界也是有一定意义的。',
					imgList: ['../../static/ic_21@2x.png', '../../static/ic_21@2x.png']
				}, {
					userIMG: '../../static/ic_1@2x.png',
					name: '张**',
					time: '2021-12-12',
					detail: '海蓝色,256G',
					content: '伏尔泰在不经意间这样说过,不经巨大的困难,不会有伟大的事业。带着这句话,我们还要更加慎重的审视这个问题: 这种事实对本人来说意义重大,相信对这个世界也是有一定意义的。',
					imgList: ['../../static/ic_21@2x.png','../../static/ic_21@2x.png']
				}]
			}
		}
	}
</script>

<style>
	.content {
		padding: 0 32rpx;
		box-sizing: border-box;
	}

	.item {
		padding: 32rpx;
		box-sizing: border-box;
		border-bottom: 2rpx solid #ebedf0;
	}

	.userBox {
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: 28rpx;
	}

	.userImg {
		width: 60rpx;
		border-radius: 50%;
		height: 60rpx;
	}

	.time {
		font-size: 24rpx;
		color: #C8C9CC;
	}

	.detail {
		font-size: 20rpx;
		color: #646566;
		margin-top: 30rpx;
	}

	.contentTEXT {
		margin-top: 30rpx;
		font-size: 26rpx;
		color: #323233;
	}

	.detail image {
		width: 20rpx;
		height: 20rpx;
	}

	.imgBox {
		margin-top: 20rpx;
		display: flex;
	}

	.imgBox image {
		width: 136rpx;
		height: 136rpx;
		border-radius: 8rpx;
	}
</style>