<template>
	<view class="lf-m-l-32 lf-m-r-32">
		<view class="lf-row-center" style="font-size: 18rpx;color: #777;" v-if="version_number">当前版本号{{version_number}}</view>
		<rich-text :nodes="content" v-if="$isRight(content)"></rich-text>
		<lf-nocontent v-else></lf-nocontent>
		<!-- 回到顶部 -->
		<u-back-top :scroll-top="pageScrollTop" :custom-style="{background: 'rgba(51, 51 51, 0.3)'}"></u-back-top>
	</view>
</template>

<script>
	export default {
		data(){
			return {
				content: '',
				version_number: '1.0.0'
			}
		},
		onLoad(){
			let info_sys = wx.getAccountInfoSync();
			this.version_number = info_sys.miniProgram.version;
			this.getData();
		},
		methods: {
			getData(){
				this.$http(this.API.API_ABOUTUS).then(res => {
					this.content = res.data?.about;
				})
			}
		}
	}
</script>

<style lang="scss" scoped="scoped">
	
</style>
