<template>
    <view class="body-background" :style="{
		backgroundImage:'url('+staticImage.wallpaperBgImage+')'
		}"></view>
    <HeaderNav title="关于我们" :is-back="true"></HeaderNav>

   <view style="margin: 0 30rpx 50rpx">
     <u-parse :content="aboutUs"></u-parse>
   </view>
</template>

<script>
import {getConfig} from "@/api/other";
import HeaderNav from "../../components/HeaderNav/Index.vue";
import {imghost} from "@/config/host";

export default {
    components: {HeaderNav},
    data() {
        return {
            staticImage: {
                orderCardBackground: imghost + '/static/image/order-card-background.png',
                wallpaperBgImage: imghost + '/static/image/background.png',
                addrDetailTitle: imghost + '/static/image/addr-detail-title.png',
            },
            aboutUs:''
        };
    },
    onLoad() {
        this.getAboutUs();
    },
    methods:{
        getAboutUs(){
            getConfig('aboutUs').then(res =>{
                this.aboutUs = res.data.aboutUs;
            })
        }
    }
}
</script>

<style lang="scss">

</style>
