<template>
	<view class="se-p-20">
		<view class="se-c-black se-fw-6 se-fs-28">
			{{detail.title}}
		</view>
		<view class="se-mt-20">
			<u-parse :content="detail.content" :previewImg="true"></u-parse>
		</view>
	</view>
</template>

<script>
	import {
		getNotice
	} from "@/common/api.js"
	export default { 
		data(){
			return{
				id:"",
				detail:{}
			}
		},
		onLoad(options) {
			this.id = options.id
			this.onNotice()
		},
		methods:{
			onNotice(){
				let that = this;
				let params={
					newsId:that.id
				}
				getNotice(params).then(response=>{
					that.detail = response.result
				}).catch(error=>{
					
				})
			}
		}
	}
</script>

<style>
</style>