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

40 lines
663 B

<template>
<view class="page">
<navbar title="详情" leftClick @leftClick="$utils.navigateBack" />
<view style="padding: 20rpx;">
<uv-parse :content="detail.details"></uv-parse>
</view>
</view>
</template>
<script>
export default {
data() {
return {
detail: {},
id: 0,
}
},
onLoad(args) {
this.id = args.id
this.queryNewsById()
},
methods: {
//公告信息-根据id查询公告信息
queryNewsById() {
this.$api('getRiceAdDetail', {
id: this.id
}, res => {
if (res.code == 200) {
this.detail = res.result
}
})
},
}
}
</script>
<style scoped lang="scss">
.page {}
</style>