<template>
	<view class="detail">
		<image :src="adsImage" mode="widthFix" show-menu-by-longpress></image>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				adsImage:'',
				title:''
			}
		},
		onLoad(option) {
			console.log(option);
			this.adsImage = option.adsImage
			this.title= option.name
			uni.setNavigationBarTitle(this.title);
		}
	}
</script>

<style lang="scss">
.detail{
	width: 100%;
	height: auto;
	image{
		width: 100%;
		height: auto;
	}
}
</style>
