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.
zhishifufei_uniapp/pages/my/about_us.vue

49 lines
827 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>
9 months ago
<style scoped lang="scss">
::v-deep {
._root {
width: 690rpx;
margin: 20rpx auto 0;
padding: 60rpx 40rpx!important;
}
}
</style>