<template>
	<!-- 帮助说明 -->
	<view>
		<loadlogo v-if="!loadlogo" />
		<view class="rich-content b-f" v-if="loadlogo">
			<far-bottom></far-bottom>
			<jyf-parser domain="https://6874-html-foe72-1259071903.tcb.qcloud.la" gesture-zoom lazy-load ref="article" selectable
			show-with-animation use-anchor  :html="content" ></jyf-parser>
		</view>
	</view>
</template>

<script>
	import App from "@/common/js/app.js"
	import jyfParser from '@/components/jyf-parser/jyf-parser.vue';
	import Loadlogo from '@/components/template/loadlogo'
	export default {
		data() {
			return {
				content: "",
				loadlogo: false
			}
		},
		components: {
			jyfParser,
			Loadlogo
		},
		computed: {

		},
		beforeCreate() {

		},
		onLoad(options) {

		},
		onUnload() {

		},
		mounted() {
			uni.setNavigationBarColor({
				frontColor: '#000000',
				backgroundColor: '#FFFFFF'
			})
			this.getRich();
		},
		methods: {
			getRich() {
				let _this = this;
				App._post_form("&p=distribution&do=getHelpNote", {}, res => {
					_this.content = res.data;
					// App.wxParseLazyLoad(0, res.data, "content");
				}, false, () => {
					_this.loadlogo = true;
				});
			}
		}
	}
</script>

<style scoped>
	.rich-content {
		padding: 20upx 30upx;
	}
</style>
