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.
32 lines
582 B
32 lines
582 B
<template>
|
|
<view>
|
|
<rich-text :nodes="content" v-if="content"></rich-text>
|
|
<my-nocontent v-else></my-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: ''
|
|
}
|
|
},
|
|
onLoad(){
|
|
// this.getData();
|
|
},
|
|
methods: {
|
|
getData(){
|
|
this.$http(this.API.API_ARTICLE_QA).then(res => {
|
|
this.content = res.data?.content;
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped="scoped">
|
|
|
|
</style>
|