Commit d1cfa3fd authored by 朱国瑞's avatar 朱国瑞

代码优化

parent 748b9b11
......@@ -655,6 +655,7 @@ export default {
"backUrl",
"https://bfai-service-uat.d-lab-services.danone.com/demo/#/complete"
);
localStorage.setItem("enterUrl", document.URL);
let url =
"https://bfai-service-uat.d-lab-services.danone.com/sdk/#/?camera=1&lying=0";
if (openDev) {
......@@ -667,6 +668,13 @@ export default {
}
},
created() {
document.body.addEventListener(
"touchmove",
function (e) {
e.preventDefault(); //阻止默认的处理方式(阻止下拉滑动的效果)
},
{ passive: false }
); //passive 参数不能省略,用来兼容ios和android
let { scale } = getSystemInfo();
if (scale > 1 && scale < 2) {
this.scale = 1 - (scale - 1) / 100;
......@@ -838,7 +846,7 @@ export default {
position: absolute;
width: 215px;
left: 155px;
top:356px;
top: 356px;
}
&.page_tips_3 {
position: absolute;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment