爱简收旧衣按件回收前端代码仓库
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.
 
 
 
 

48 lines
778 B

<template>
<view class="page">
<!-- 回收去向 -->
<navbar :title="title" leftClick
@leftClick="$utils.navigateBack" />
<view class="content">
<uv-parse :content="detail.content"></uv-parse>
</view>
</view>
</template>
<script>
import navbar from '@/compoent/base/navbar.vue'
export default {
components : {
navbar
},
onLoad({id}) {
this.id = id
this.getDetail()
},
data() {
return {
id : 0,
detail : {},
title : '回收去向',
}
},
methods: {
getDetail(){
this.$api('getRecyclingDestinationDetail', {
id : this.id
}).then(res => {
this.detail = res.result
this.title = res.result.title
})
},
}
}
</script>
<style scoped lang="scss">
.content{
padding: 20rpx;
}
</style>