<template>
	<view class="center">
		<view class="news_info">

<!-- 			<view class="">{{dataInfo.newsTitle}}</view> -->
			<view style='white-space: pre-wrap;' class="">{{dataInfo.newsContent}}</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				dataInfo:{},
			}
		},
		onLoad(options) {
			this.dataInfo = JSON.parse(options._obj)
				uni.setNavigationBarTitle({
				title: this.dataInfo.newsType
			})
			
		},
		
		methods:{
			
		}
	}
</script>

<style lang="scss">
	.center{
		padding:30rpx;
		height: calc(100vh - 11.2vh);
		background: #F5F6FA ;
		.news_info{
			background: #FFFFFF;
			padding: 20rpx 30rpx;
			border-radius: 20rpx;
		}
	}
</style>
