<template>
	<view class="message-index">
		<view class="message-item" @click="$navigateTo('/pages/messageList/messageList?type=2')">
			<view class="message-icon">
				<uni-icons type="email" size="30" color="#fff"></uni-icons>
			</view>
			<view class="message-content">
				<view class="message-title">
					项目邀请通知
				</view>
				<view class="message-sub-label">
					暂无消息
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import {
		getMessageList
	} from '@/request/api/message.js'
	export default {
		data() {
			return {

			}
		},
		onShow() {
			this.init();
		},
		methods: {
			init() {}
		}
	}
</script>

<style lang="scss">
	.message-index {
		padding-top: 20rpx;

		.message-item {
			display: flex;
			align-items: center;
			padding: 20rpx 30rpx;
			background: $uni-white;
		}

		.message-icon {
			background: #55bc9c;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 100rpx;
			height: 100rpx;
			border-radius: 20rpx;
			margin-right: 20rpx;
		}

		.message-title {
			font-size: 32rpx;
			font-weight: 500;
		}

		.message-sub-label {
			color: $uni-extra-color;
			font-size: 24rpx;
			margin-top: 10rpx;
		}
	}
</style>