46 lines
839 B
Vue
46 lines
839 B
Vue
<template>
|
|
<view class="page">
|
|
<u-navbar title="用车指南" :border-bottom="false" :background="bgc" back-icon-color="#262B37" title-color='#262B37'
|
|
title-size='36' height='36' id="navbar">
|
|
</u-navbar>
|
|
<view style="padding: 20rpx;box-sizing: border-box;" v-html="obj">
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
bgc: {
|
|
backgroundColor: "#fff",
|
|
},
|
|
type:'',
|
|
obj:{}
|
|
}
|
|
},
|
|
onLoad(option) {
|
|
this.type = option.type
|
|
this.getqingqiu()
|
|
},
|
|
methods: {
|
|
getqingqiu(){
|
|
this.$u.get(`/app/articleCategory/${this.type}`).then(res =>{
|
|
if(res.code == 200){
|
|
this.obj = res.data.content
|
|
}
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
page {
|
|
background: #fff;
|
|
}
|
|
|
|
</style> |