<template>
	<view>
		<!-- 状态栏 -->
		<status-nav 
		:ifTitle="true" 
		:ifReturn="true"
		:ifCenter="true"
		:navBarTitle="'用户服务协议'"></status-nav>
		<!-- 容器 -->
		<container-subgroup>
			<view slot="content">
				<rich-text :nodes="content"></rich-text>
			</view>
		</container-subgroup>
	</view>
</template>

<script>
	export default {
		data(){
			return {
				content:'<p>1.用户协议谢谢授权的小姐姐，小哥哥。</p>'
			}
		},
		onLoad(options) {
			this.$requst.get('/api/index/agreement').then(res=>{
				console.log(res,'用户协议');
				this.content = this.$toolAll.tools.escape2Html(res.data.content);
			})
		}
	}
</script>

<style>
	
</style>
