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.
31 lines
442 B
31 lines
442 B
2 years ago
|
<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>
|