<template>
<div>
	<u-parse :content="content"></u-parse>
</div>
</template>

<script>
import { getNoticeList } from '@/api/user.js';
export default{
	data(){
		return{
			content:'',
		}
	},
	onLoad(option) {
		console.log(option);
		getNoticeList().then(res=>{
			
			let list= res.data.list;
			list.forEach(item=>{
				if(item.notice_id==option.id){
					this.content = item.notice_content
				}
			})
			
		})
	}
}
</script>

<style lang="scss" scoped>

</style>