zjs_project 10 months ago
parent
commit
798d8d43e5

+ 0 - 2
src/App.vue

@@ -158,8 +158,6 @@
 	}
 	body {
 		background: #181C28;
-        overscroll-behavior: none; /* 禁用回弹效果 */
-        /* overflow: hidden; /* 如果需要隐藏滚动条 */ 
 	}
 
 

+ 32 - 29
src/components/newQCCom/viewMask/viewMask.vue

@@ -1072,36 +1072,39 @@
 			},
             submit() {
                 this.spaceAIHandle();
+                setTimeout(()=>{
+                    this.resultDataHandle();
+                },200)
             	//三个题都存在,则是完整的前测
-            	if(this.queryObj && this.queryObj.id2 && this.queryObj.id3){
-                    setTimeout(()=>{
-                        this.resultDataHandle();
-                    },200)
-            	}else{
-            		MessageBox.confirm('',{
-            			title: '提示',
-            			message: '感谢您的参与',
-            			showCancelButton: true,
-            			confirmButtonText:'返回首页',
-            			cancelButtonText:'确认',
-            		}).then(action => {
-            			console.warn("***MessageBox-action***",action)
-            			if(action == 'confirm'){
-            				if(window.__wxjs_environment === 'miniprogram'){
-            					this.pvCloseHandle();//小程序跳转会主动杀死关闭当前页面-不经过vue跳转关闭逻辑-所以需要主动触发关闭埋点
-            					wx.miniProgram.redirectTo({url: '/pages/index/index?houseId='+this.houseId})
-            				}else{
-            					// this.$message.warning("敬请期待");
-            					// this.showPop();
-            				}
-            			}
-            		}).catch(err=>{
-            			console.warn("***MessageBox-err***",err)
-            			if(err == 'cancel'){
-            				// self.cancelHandle();
-            			}
-            		});
-            	}
+            	// if(this.queryObj && this.queryObj.id2 && this.queryObj.id3){
+             //        setTimeout(()=>{
+             //            this.resultDataHandle();
+             //        },200)
+            	// }else{
+            	// 	MessageBox.confirm('',{
+            	// 		title: '提示',
+            	// 		message: '感谢您的参与',
+            	// 		showCancelButton: true,
+            	// 		confirmButtonText:'返回首页',
+            	// 		cancelButtonText:'确认',
+            	// 	}).then(action => {
+            	// 		console.warn("***MessageBox-action***",action)
+            	// 		if(action == 'confirm'){
+            	// 			if(window.__wxjs_environment === 'miniprogram'){
+            	// 				this.pvCloseHandle();//小程序跳转会主动杀死关闭当前页面-不经过vue跳转关闭逻辑-所以需要主动触发关闭埋点
+            	// 				wx.miniProgram.redirectTo({url: '/pages/index/index?houseId='+this.houseId})
+            	// 			}else{
+            	// 				// this.$message.warning("敬请期待");
+            	// 				// this.showPop();
+            	// 			}
+            	// 		}
+            	// 	}).catch(err=>{
+            	// 		console.warn("***MessageBox-err***",err)
+            	// 		if(err == 'cancel'){
+            	// 			// self.cancelHandle();
+            	// 		}
+            	// 	});
+            	// }
             },
             //提交结果数据处理
             async resultDataHandle(){

+ 2 - 1
src/pages/webgl_rxdz_test1_env/webgl_rxdz_test1_env.scss

@@ -13,10 +13,11 @@ page {
 	position: relative;
     width: 100vw;
 	height: 100vh;
-    overflow: hidden;
     box-sizing: border-box;
 	background-color: white;
 	z-index: 2;
+    overscroll-behavior: none; /* 禁用回弹效果 */
+    overflow: hidden; /* 如果需要隐藏滚动条 */ 
 	.master-pic{
 	    position: relative;
 	    width: 100%;