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.
 
 
 
 
xxdj1/user/pages/gonggao/item.vue

31 lines
442 B

<template>
<view class="">
<view v-html="content">
</view>
</view>
</template>
<script>
export default{
onLoad(option) {
console.log(option)
this.getDetails(option.id)
},
data(){
return{
content:''
}
},
methods:{
async getDetails(id){
let res = await this.$api.mine.getAnnouncementDetails({id:id})
console.log(res,"0000")
this.content = res.content
},
}
}
</script>
<style>
</style>