<template>
  <div>
    <div v-html="list">
</div>
  </div>

</template>
<script>
export default {
  data(){
    return{
      list:''
    }
  },
  created(){
    console.log('this',this.$route.query.id)
    this.postListIDFn(this.$route.query.id)
  },
  methods:{
    async postListIDFn(id){
    //  let z =  await postListID({id:id})
    let z =  await this.$axios.$get(`https://official.webapi.bicredit.xin/api/news/detail/${id}`)
    //  console.log('zzz',z)
     if(z.msg == '成功'){
      this.list = z.data.content
     }
    }
  }
}
</script>