zouling 7 months ago
parent
commit
dbe230190d
2 changed files with 13 additions and 5 deletions
  1. 12 4
      hybrid/html/face.html
  2. 1 1
      utils/common.js

+ 12 - 4
hybrid/html/face.html

@@ -12,8 +12,14 @@
 		<script type="text/javascript" src="js/jquery.min.js"></script>
 		<script type="text/javascript" src="../../config.js"></script>
 	</head>
+	<style>
+		body{background-color: #ffffff;}
+		.tit{font-size: 14px;text-align: center;padding-top: 100px;}
+	</style>
 	<body>
-		<div id="content"></div>
+		<div id="content">
+			<div class="tit">正在跳转,请稍后~ </div>
+		</div>
 	</body>
 	<script>
 		let _this;
@@ -22,6 +28,7 @@
 			data: {
 				metaInfo: '',
 				baseUrl: 'https://rzdbh.qs163.cn/prod-api'
+				// baseUrl: 'http://47.99.82.249:6001/prod-api'
 				// baseUrl: 'http://192.168.101.245:8056'
 			},
 			mounted() {
@@ -72,9 +79,10 @@
 						data: JSON.stringify(params),
 						success: function(res) {
 							if (res.code == 200) {
-								var certifyUrl = res.data.certifyUrl
-								window.location.href = certifyUrl;
-
+								var certifyUrl = res.data.certifyUrl;
+								// window.location.href = certifyUrl;
+								window.top.location.href = certifyUrl
+								// location.href=certifyUrl
 							} else {
 								// that.$message({
 								// 	message: res.msg,

+ 1 - 1
utils/common.js

@@ -176,7 +176,7 @@ export function uploadIdentify(api, filePaths, successUp, failUp, i, length, fil
 			i++;
 			if (i == length) {
 				uni.showToast({
-					title: '总共' + successUp + '张上传成功,' + failUp + '张上传失败!',
+					title: '上传成功',
 					icon: 'none',
 					duration: 2000
 				});