<template>
	<view class="bg">
		<view class="text" v-html="formateRichText(content)">
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content:''
			};
		},
		onLoad(option){
			uni.setNavigationBarTitle({
				title: option.title
			})
			this.Post({
				id:option.id
			},'/api/article/getArticleById').then(res => {
				this.content = res.data.content
			})
		}
	}
</script>

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