<template>
	<view>
		<web-view :src="href"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				href: ""
			};
		},
		onLoad(option) {
			// this.href = 'http://web.nxjiewei.com/#/ningdongyunying/puzzle/puzzles?token=' + uni.getStorageSync('Authorization')
			// this.href = 'http://webdevelop.nxjiewei.com/assets/html/zhks-quankuang/ceshi/?token=' + uni.getStorageSync('Authorization')
		
			this.href = "http://web.nxjiewei.com/#/ningdongyunying/puzzle/puzzle-info?id="+ option.id +"&staff_num=" + uni.getStorageSync('user').staff_num
		}
	}
</script>

<style lang="scss">

</style>
