<template>
	<view class="work">
		<view class="message" @click="goemergent()">
			<view class="icon2">
				<image src="@/static/image/alarm.png"></image>
			</view>
			<view class="text">
				<view class="title">
					<text>紧急通知</text>
				</view>
				<view class="word">
					<text>近期重庆有自然灾害，请小心出门</text>
				</view>
				<view class="time">
					<text>2023-08-08</text>
				</view>
			</view>
		</view>
		<view class="message">
			<view class="icon2">
				<image src="@/static/image/alarm.png"></image>
			</view>
			<view class="text">
				<view class="title">
					<text>紧急维修通知</text>
				</view>
				<view class="word">
					<text>您有一条紧急维修通知，请查看</text>
				</view>
				<view class="time">
					<text>2023-08-08</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"emergent",
		data() {
			return {
				
			}
		},
		methods:{
			goemergent(){
				uni.navigateTo({
					url:"/pages/Message/emergent"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.message{
		display: flex;
		margin-bottom: 10rpx;
		.text{
			margin-left: 10rpx;
			.title{
				display: flex;
				font-size: 40rpx;
				font-weight: 500;
			}
			.word{
				margin-top: 10rpx;
				font-size: 25rpx;
				font-weight: 100;
			}
			.time{
				justify-items: right;
				font-size: 20rpx;
			}
		}
	}
	.icon2{
		width: 100rpx;
		height: 100rpx;
		border-radius: 50%;
		background-color: rgb(255,207,199);
		margin-left: 20rpx;
		image{
			margin: 16rpx;
			width: 70rpx;
			height: 70rpx;
		}
	}
</style>