<template>
	<view class="container">
		<rich-text :nodes="webContent"></rich-text>
	</view>
</template>

<script>
	var config = require('../../common/config.js');
	export default {
		data() {
			return {
				webContent: ''
			};
		}
		/**
		 * 生命周期函数--监听页面加载
		 */
		,
		onLoad: function(options) {
			uni.setNavigationBarTitle({
				title: options.title ? options.title : ''
			});
			this.setData({
				webContent: options.webContent ? options.webContent : ''
			})
		},
		methods: {

		}
	};
</script>
<style>
	@import './webContent.css';
</style>