<template>
	<view class="richText">
		<navbar title="案例分享" :isCenter="true" :back="true"></navbar>
		<u-parse :content="content"></u-parse>
	</view>
</template>

<script>
	import navbar from '@/components/navbar.vue'
	import {exampleShare} from '@/common/api.js'
	export default {
		components:{navbar},
		data() {
			return {
				
				content:'',
			}
		},
		onLoad(option) {
			this.getText()
		},
		methods: {
			getText(){
				exampleShare({custom: { auth: true }}).then(res=>{
					this.content = res.data.content
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
.richText{
	padding:24rpx;
}

</style>
