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.
45 lines
727 B
45 lines
727 B
9 months ago
|
<template>
|
||
|
|
||
|
<BaseContainer>
|
||
|
<NavBar :title="title" />
|
||
|
<mp-html
|
||
|
v-if="!!content"
|
||
|
class="swiper-conter"
|
||
|
container-style="padding: 30rpx;background: #ffffff;"
|
||
|
:content="content"
|
||
|
></mp-html>
|
||
|
</BaseContainer>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import mpHtml from "mp-html/dist/uni-app/components/mp-html/mp-html.vue";
|
||
|
|
||
|
export default {
|
||
|
components: {
|
||
|
mpHtml,
|
||
|
},
|
||
|
data() {
|
||
|
return {
|
||
|
title: '',
|
||
|
content: "",
|
||
|
};
|
||
|
},
|
||
|
onLoad(options) {
|
||
|
this.title = options.title;
|
||
|
this.content = options.content;
|
||
|
},
|
||
|
methods: {
|
||
|
},
|
||
|
};
|
||
|
</script>
|
||
|
|
||
|
<style scoped lang="scss">
|
||
|
::v-deep {
|
||
|
._root {
|
||
|
width: 690rpx;
|
||
|
margin: 20rpx auto 0;
|
||
|
padding: 60rpx 40rpx!important;
|
||
|
}
|
||
|
}
|
||
|
</style>
|