<template>
	<view class="container">
		<view class="page">
			<view class="message">
				<view class="item" @click="toDetail()">
					<view class="top">
						<view class="title">
							<view class="point"></view>
							<image src="../../static/images/img01.png" class="icon"></image>
							<view class="name">维修申请状态更新通知</view>
						</view>
						<image src="../../static/images/icon_more.png" class="arrow"></image>
					</view>
					<view class="con">
						您提交的【门把手脱落】 维修申请已通过申请，即将有工作人员上门维修，请注意接听来电!
					</view>
				</view>
				<view class="item" @click="toDetail()">
					<view class="top">
						<view class="title">
							<view class="point"></view>
							<image src="../../static/images/img01.png" class="icon"></image>
							<view class="name">2022年4月物业费账单通知</view>
						</view>
						<image src="../../static/images/icon_more.png" class="arrow"></image>
					</view>
					<view class="con">
						您2022年4月物业费账单已经生成，请及时缴费，谢谢配合!
					</view>
				</view>
				<view class="item">
					<view class="top">
						<view class="title">
							<view class="point"></view>
							<image src="../../static/images/img01.png" class="icon"></image>
							<view class="name">2022年3月物业费账单通知</view>
						</view>
						<image src="../../static/images/icon_more.png" class="arrow"></image>
					</view>
					<view class="con">
						您2022年3月物业费账单已经生成，请及时缴费，谢谢配合!
					</view>
				</view>

			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			toDetail() {
				uni.navigateTo({
					url: '/pages/messageDetails/index',
				});
			}
		},
		onLoad() {

		},
		onShow() {

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

	.message {

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

			.top {
				display: flex;
				justify-content: space-between;
				align-items: center;
				padding-bottom: 20rpx;
				margin-bottom: 30rpx;
				border-bottom: 1px solid #F0F0F2;

				.title {
					display: flex;
					align-items: center;

					.point {
						width: 14rpx;
						height: 14rpx;
						background-color: #F6C864;
						border-radius: 14rpx;
					}

					.icon {
						width: 66rpx;
						height: 66rpx;
						border-radius: 60rpx;
						margin: 0 20rpx;
					}

					.name {
						font-size: 32rpx;
						color: #373737;
					}
				}

				.arrow {
					width: 16rpx;
					height: 24rpx;
				}
			}

			.con {
				font-size: 28rpx;
				color: #9D9CA6;
			}

		}

	}
</style>