<template>
	<view class="page">
		<web-view :src="src"></web-view>
	</view>
</template>

<script>
	import config from '@/config.js'
	export default {
		data() {
			return {
				src: ''
			}
		},
		onLoad(option) {
			this.src ='https://wetiandi.com/app/index.php?i=1&j=1&c=auth&a=devpay&do=recharge_pay_provider&id='+option.id+'&sn='+option.sn+'&title='+option.title+'&total='+option.total+'&channel='+option.channel+'&state='+option.sessionid
			//let src=option.src
			//var session = 'we7sid-' +  JSON.stringify(uni.getSystemInfoSync().appId);
			//var callback = 'https://wetiandi.com/app/index.php?i=1&j=1&c=auth&a=devpay&do=recharge_pay_provider&id='+id+'&sn='+sn+'&title='+title+'&total='+total+'&channel='+channel
			 //this.src = 'https://wetiandi.com/app/index.php?i=1&j=1&c=entry&m=wdl_shopping&do=alipayauth&redirect_uri=' + encodeURIComponent(src) +'&state=' + session
		//	console.log('啊????????????????????????????????')
			//测试
			//this.src = 'http://192.168.1.131:9090/app/index.php?i=1&j=1&c=entry&m=wdl_shopping&do=recharge&isajax=1&dev_id=' + option.dev_id + '&weid=' + option.weid + '&recharge='+option.recharge+'&award='+option.award
			//测试
			
		}
	}
</script>

<style>

</style>
