You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
718 B
41 lines
718 B
10 months ago
|
<template>
|
||
|
|
||
|
<BaseContainer>
|
||
|
<NavBar title="关于我们" />
|
||
|
<mp-html
|
||
|
v-if="!!content"
|
||
|
class="swiper-conter"
|
||
|
container-style="padding: 30rpx;background: #ffffff;"
|
||
|
:content="content"
|
||
|
></mp-html>
|
||
|
</BaseContainer>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import { getAboutUsInfo } from "@/api/user";
|
||
|
import mpHtml from "mp-html/dist/uni-app/components/mp-html/mp-html.vue";
|
||
|
|
||
|
export default {
|
||
|
components: {
|
||
|
mpHtml,
|
||
|
},
|
||
|
data() {
|
||
|
return {
|
||
|
content: "",
|
||
|
};
|
||
|
},
|
||
|
onLoad() {
|
||
|
this.getData();
|
||
|
},
|
||
|
methods: {
|
||
|
getData() {
|
||
|
getAboutUsInfo().then(({ data }) => {
|
||
|
this.content = data.content;
|
||
|
});
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
</script>
|
||
|
|
||
|
<style scoped lang="scss"></style>
|