<template>
	<view class="work">
		<view class="message" @click="gowork()">
			<view class="icon5">
				<image src="@/static/image/flag.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="icon6">
				<image src="@/static/image/bag.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="icon7">
				<image src="@/static/image/message.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:"work",
		data() {
			return {
				
			}
		},
		methods:{
			gowork(){
				uni.navigateTo({
					url:"/pages/Message/Scheduling"
				})
			}
		},
	}
</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;
		}
	}
}
.icon5{
	width: 100rpx;
	height: 100rpx;
	border-radius: 50%;
	background-color: rgb(251,229,199);
	margin-left: 20rpx;
	image{
		margin: 16rpx;
		width: 70rpx;
		height: 70rpx;
	}
}
.icon6{
	width: 100rpx;
	height: 100rpx;
	border-radius: 50%;
	background-color: rgb(189,235,249);
	margin-left: 20rpx;
	image{
		margin: 16rpx;
		width: 70rpx;
		height: 70rpx;
	}
}
.icon7{
	width: 100rpx;
	height: 100rpx;
	border-radius: 50%;
	background-color: rgb(213,222,253);
	margin-left: 20rpx;
	image{
		margin: 16rpx;
		width: 70rpx;
		height: 70rpx;
	}
}
</style>