<template>
	<div class="bannerDetail" v-html="content"></div>
</template>

<script>
	export default{
		data(){
			return {
				content:''
			}
		},
		created() {
			var id = this.$route.query.id;
			this.GetOneBanner(id);
		},
		methods:{
			GetOneBanner(id){
				var that = this;
				this.http.GetOneBanner({
					id: id,
				}).then(function(res){
					if(res.status == 1){
						that.content = res.data.content;
					}
				})
			},
		}
	}
</script>

<style lang="stylus" scoped>
</style>
