<template>
	<view>
		<view class="align-items" style="margin-top: 80rpx;">
			<back></back>
			<view class="title-text" style="margin-left: 20rpx;">
				公告详情
			</view>
		</view>
		<view class="notice">
			<view class="justify-content">
				<view class="font-forty">
					{{title}}
				</view>
				<view class="font-twenty-eight gray">
					{{time}}
				</view>
			</view>
			<view class="font-thirty-two black" style="margin: 30rpx 0;">
				<rich-text :nodes="text"></rich-text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				text:'',
				title:'',
				time:''
			}
		},
		onLoad(e) {
			this.text = e.text;
			this.title = e.title;
			this.time = e.time;
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
.notice {
		margin: 20rpx;
		padding: 20rpx;
	}
</style>
