<template>
	<view>
		<rich-text :nodes="content" v-if="content"></rich-text>
		<lf-nocontent v-else></lf-nocontent>
		<!-- 回到顶部 -->
		<u-back-top :scroll-top="pageScrollTop" :custom-style="{background: 'rgba(51, 51 51, 0.3)'}"></u-back-top>
	</view>
</template>

<script>
	export default {
		data(){
			return {
				content: '',
				notice_id: 0
			}
		},
		onLoad(e){
			this.notice_id = e.notice_id
			this.getData();
		},
		methods: {
			getData(){
				this.$http(this.API.API_NOTICEDETAILS,{id:this.notice_id}).then(res => {
					this.content = res.data?.content;
				})
			}
		}
	}
</script>

<style lang="scss" scoped="scoped">
	
</style>
