百富门答题小程序
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.
 
 
 

39 lines
529 B

<template>
<view class="page">
<uv-parse :content="content"></uv-parse>
</view>
</template>
<script>
export default {
data() {
return {
content : '',
id : 0,
}
},
onLoad({id}) {
this.id = id
this.getBrand()
},
methods: {
getBrand(){
this.$api('getBrand', res => {
if(res.code == 200){
res.result.forEach(n => {
if(this.id == n.id){
this.content = n.details
}
})
}
})
},
}
}
</script>
<style scoped lang="scss">
.page{
}
</style>