<template>
	<view class="container">
		<view class="page">
			<view class="complaints">
				<view class="information">
					<view class="title">小区垃圾桶太少</view>
					<view class="content">
						<view class="item">
							<view class="name">投诉人</view>
							<view class="detail">张三123</view>
						</view>
						<view class="item">
							<view class="name">投诉时间</view>
							<view class="detail">2020年3月12日</view>
						</view>
						<view class="item">
							<view class="name">联系方式</view>
							<view class="detail">16589000078</view>
						</view>
						<view class="item text">
							<view class="name">问题描述</view>
							<view class="detail">校区垃圾桶太少，导致每次丢垃校区垃圾桶太少，导致每次丢垃校区垃圾桶太少，导致每次丢垃校区垃圾桶太少，导致每次丢垃</view>
						</view>
						<view class="item">
							<view class="name">状态</view>
							<view class="detail"><view class="tag">已处理</view></view>
						</view>
						<view class="item text">
							<view class="name">处理结果</view>
							<view class="detail">已安排在3、5栋门前增加垃圾桶</view>
						</view>
						<view class="item text">
							<view class="name">附件</view>
							<view class="image">
								<image src="../../static/images/img02.png" class="icon"></image>
								<image src="../../static/images/img03.png" class="icon"></image>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		methods: {},
		onLoad() {

		},
		onShow() {

		}
	}
</script>
<style>
	page {
		background-color: #F8F6F9;
	}
</style>
<style lang="scss" scoped>
	.page {
		padding: 30rpx;
	}

	.information {
		background-color: #ffffff;
		border-radius: 16rpx;
		padding: 30rpx;
		margin-bottom: 30rpx;

		.title {
			height: 40rpx;
			line-height: 40rpx;
			font-size: 32rpx;
			color: #373737;
			border-bottom: 1px solid #f8f8f8;
			padding-bottom: 30rpx;
			font-weight: bold;
		}

		.content {
			margin-top: 20rpx;

			.item {
				display: flex;
				height: 70rpx;
				line-height: 70rpx;

				.name {
					width: 35%;
					font-size: 28rpx;
					color: #CECED3;
				}

				.detail {
					width: 65%;
					font-size: 28rpx;
					color: #373737;
					.tag {
						height: 40rpx;
						line-height: 40rpx;
						font-size: 22rpx;
						padding: 2rpx 20rpx;
						border-radius: 30rpx;
						display: inline-block;
						color: #B6B6BA;
						border: 1px solid #B6B6BA;
						background-color: #F8F8F8;
					}
				}
			}

			.text {
				height: auto;

				.detail {
					line-height: 52rpx;
				}

				.image {
					display: flex;

					.icon {
						width: 120rpx;
						height: 120rpx;
						border-radius: 10rpx;
						margin-right: 10rpx;
					}
				}
			}
		}

	}

</style>