<template>
	<view class="u-bg-white">
		<!-- 顶部导航 -->
		<fa-navbar title="关于我们"></fa-navbar>
		<view class="u-p-30 u-border-bottom">
			<view class="u-font-40"><text v-text="pageInfo.title"></text></view>
		</view>
		<view class="u-p-30 u-line-height">
			<u-parse :html="pageInfo.content" :tag-style="vuex_parse_style" :domain="vuex_config.config ? vuex_config.config.upload.cdnurl : ''"></u-parse>
		</view>
		<view class="u-p-b-30 u-text-center u-tips-color">版权所有Copyright © 2017-2020</view>
		<!-- 底部导航 -->
		<fa-tabbar></fa-tabbar>
	</view>
</template>

<script>
export default {
	onLoad: async function() {		
		let res = await this.$api.getMyboutus();
		if (!res.code) {
			this.$u.toast(res.msg);
			return;
		}
		this.pageInfo = res.data.pageInfo;
	},
	data() {
		return {
			pageInfo: {}
		};
	},
	methods: {}
};
</script>

<style lang="scss">
page {
	background-color: #f4f6f8;
}
</style>
