<template>
	<view>
		<!-- <uni-nav-bar left-icon="arrowleft" title="人脸识别" :fixed="true" background-color="rgba(255, 120, 117, 1)" @clickLeft="bindIconLeftClick"></uni-nav-bar> -->
		<view class="content">
			<web-view :src=url style="margin: auto;"></web-view>
				<!-- <view class="content2">
					<input type="text" value=""  placeholder="请输入8位数字" v-model="message"/>
				</view>
				<view class="content2">
					<input type="text" value=""  placeholder="请输入8位数字" v-model="signature"/>
				</view>
				<view class="content2">
					<input type="text" value=""  placeholder="请输入8位数字" v-model="dgtlenvlp"/>
				</view>
				<view class="content2">
					<input type="text" value=""  placeholder="请输入8位数字" v-model="signSN"/>
				</view>
				<view class="content2">
					<input type="text" value=""  placeholder="请输入8位数字" v-model="encryptSN"/>
				</view> -->
		</view>
	</view>
</template>

<script>
	import uniNavBar from "@/components/uni-nav-bar/uni-nav-bar.vue"
export default {
  data () {
    return {
		url:'',
		message:'',
		signature:'',
		dgtlenvlp:'',
		signSN:'',
		encryptSN:''
    }
  },
    components: {uniNavBar},
  onLoad: function (option){
	  var self = this
	  console.log(option.message)
	  // self.url='/hybrid/html/liveness.html?message=LPChI5v9VMyWuAgC6HdBuKKAMCDmfn4D7YvZeuyS+poIVINVQSV/PI2Ezm93opHwGFc4Kas8b14xIZxSKa3Ynjg1zpLoBLjHvDAGs9ZcW6m+iWO8v0UWyR2gvE7fJ5R9Dc7XvHvdkgC44znbVQBJ2r6kaELH66T03WPWt8p2j9cXDVEafcMLDYE/fh9B7qBweQIFFrE163E81y4bNwB0BJHTPk217X1uUoPTHvsGBO3Ch30Uil1WkYT1P90PmXFZcX8dp/sIYE6m7t1RnaGbilAj9T0VMT1LdcbszzLLIp2GKDcFUqMCyXtNpkig8bAwNfYxa3hgbOR9wTbYZo5fDYSoAan4EWoxW6sc/w0E4r+9aep4ff3FUUA44W+3OWIh'
	  // +'&signature=6E2A7C1D9360EAFB96ECA4583B198307B4965D0F14D13E5FD44A73688A11B8BF7C394FE5DD39636B35F7995C907E9BE6A871D69B7ECC418541E9D11245656BA69144C03339070B5DEC23DF9C13159E739084398C13B3788BA24820BEECCF40D086F7B9086F9D0B740D8E3D0845B79957FD5569661081A354F86F99981D26B73940D082E8B197E1783AF272A2B9186DC634A975B199D179211489E8D550C7BB9FA086DCE3BD1B3E5A43B47D2A8AE7A250260933BA3E3020B209FAF2755A39B4CC7EEDB637C5DECDB883ABF2A913B224699E9B19578272CD63B17D28EE6731D2F3CE05FA30FAFCA75DC36DDCF2D51A3A604B28D0DC3D0C0992C22E3F4F5659F045'
	  // +'&dgtlenvlp=CYggSgmdqRx+He7pimwVjchs50jmG2zujK4ar9CjY7U/jPXpfJrPfqetOsYTavIzUiNYFhYezY7zP2VaO+3gWywmtzJmp5It8XeXu4xVsZp9n7x22BtXCj1QC+nLwYwtXYZ0FlWW3BhiY2XqeV+wUPSEQXZSrYRpTbKNtmxbVXz/za+Lkcan0/XbtPuhTqrvnpavzjeb9/MN9ft7SSyp6HLl+nRVZTsDO9jQLzH00/cxNMVUirjajreBCBEo1KaX/1t0PvQm+yYQB0fsygU2jTmIeWXGALwSKcYA+GTV6vWU9wM5FQdo3X6IdUm/CzekHJb7nehPrrxLKp9b0NfqUQ=='
	  // +'&signSN=70214041922&encryptSN=70214041922';
	  self.url='/hybrid/html/liveness.html?message='+option.message+'&signature='+option.signature
	  +'&dgtlenvlp='+option.dgtlenvlp+'&signSN='+option.signSN+'&encryptSN='+option.encryptSN;
	  // self.consult("ceshi");  //测试
	  // self.getData ();
  },
  methods: {
		getData () {
		  var self = this
		  self.status = 'loading'
		  this.$request({
		    noLoading: true,
		    data: {
		      
		    },
		    method: 'post',
		    action: '',
		    success: function (res) {
		     console.log(res)
		    },
		    error: function (res) {
		      console.log(res)
		    }
		  })
		},
	  showMsg (msg, cb) {
	       uni.showToast({
	         title: msg,
	         icon: 'none',
	         duration: 2000,
	         success: function () {
	           if (typeof cb === 'function') {
	             cb()
	           }
	         }
	       })
	     },
	}
}
</script>

<style>
.content{
	width: 100%;
	height: 100%;

	}
	.content1{
		width: 20%;
		margin-left: 2%;
		margin-top: 20rpx;
	}
	.content2{
		margin-top: 15px;
		font-size: 15px;
		}
	.content1_1{
		text-align: center;
	}
	.content1_1 image{
		width: 80rpx;

		height: 80rpx;
	}
.content1_1text{
	font-size: 28rpx;
}
</style>
