<template>
	<view>
        <view class="contentTitle">
            <rich-text :nodes="content"></rich-text>
        </view>
	</view>
</template>

<script>
    import { userAgree } from '@/apis/interfaces/vip'
	export default {
		data() {
			return {
				content: ''
			}
		},
        created() {
        	userAgree().then(res => {
        		console.log(res.content)
                this.content = res.content
        	}).catch(err =>{
        		uni.showToast({
        			title: err.message,
        			icon : 'none'
        		})
        	})
        },
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
    .contentTitle {
        padding: $padding;
        box-sizing: border-box;
    }
</style>
