<template style="background: #F6F6F6;">
	<view style="">
		<!-- <view class="v">
			<image :src="title.insurance_img_url" mode="aspectFit" style="width: 622rpx;height: 1030rpx;"></image>
			<u-image width="622rpx" height="1030rpx" :src="title.order_pack.insurance_img_url">
				<view slot="error" style="font-size: 24rpx;">图片加载失败</view>
			</u-image>
		</view> -->
		<web-view :src="pdfurl"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				pdfurl: ""
			}
		},
		methods: {

		},
		onLoad: function(option) { //option为object类型，会序列化上个页面传递的参数
			// if (option.data != undefined) {
			// 	this.title = JSON.parse(option.data)
			// 	console.log(this.title)
			// }
			this.pdfurl = option.pdfurl
		}
	}
</script>

<style>
	.v {
		margin: 28rpx;
		padding: 36rpx;
		border-radius: 12px;
		box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.04);
		background-color: #FFFFFF
	}
</style>
