用工小程序前端代码
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.
 
 
 

44 lines
675 B

<template>
<view class="se-p-20">
<view class="se-c-black se-fw-6 se-fs-28">
{{detail.title}}
</view>
<view class="se-mt-20">
<u-parse :content="detail.content" :previewImg="true"></u-parse>
</view>
</view>
</template>
<script>
import {
getNotice
} from "@/common/api.js"
export default {
data(){
return{
id:"",
detail:{}
}
},
onLoad(options) {
this.id = options.id
this.onNotice()
},
methods:{
onNotice(){
let that = this;
let params={
newsId:that.id
}
getNotice(params).then(response=>{
that.detail = response.result
}).catch(error=>{
})
}
}
}
</script>
<style>
</style>