<template>
	<view class="page">
		<u-navbar is-back="false" :title="title" :border-bottom="false" :background="bgc" title-color='#000'
			title-size='36' :title-bold='true' height='45' id="navbar">
		</u-navbar>
		<view class="" v-html="obj.content">
			<!-- {{obj.content}} -->
		</view>
	</view>
</template>

<script> 
	export default { 
		data() {
			return {   
				bgc: {
					backgroundColor: " #F4FAF8",
				},
				title: "",   
				type:'',
				obj:''
			}
		},
		onLoad(option) {
            this.title = option.tit
			this.type = option.type
			this.getabout()
		},
		onShow() {
            
		},
		methods: {
			// 请求关于我们信息
            getabout(){
				this.$u.get(`app/licence/type/${this.type}`).then(res => {
					if (res.code == 200) {
                        this.obj = res.data
					}
				})
			}
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #FAFDFD;
		padding: 0 38rpx;
		box-sizing: border-box;
		padding-top: 50rpx;
	}
</style>