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.
34 lines
681 B
34 lines
681 B
<template>
|
|
<view class="lf-m-l-32 lf-m-r-32">
|
|
<rich-text :nodes="content" v-if="content"></rich-text>
|
|
<lf-nocontent v-else></lf-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: '',
|
|
notice_id: 0
|
|
}
|
|
},
|
|
onLoad(e){
|
|
this.notice_id = e.notice_id
|
|
this.getData();
|
|
},
|
|
methods: {
|
|
getData(){
|
|
this.$http(this.API.API_NOTICEDETAILS,{id:this.notice_id}).then(res => {
|
|
this.content = res.data?.content;
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped="scoped">
|
|
|
|
</style>
|