Commit 3fcf78ed authored by youjie's avatar youjie

no message

parent 1afbf0ef
......@@ -782,12 +782,14 @@ export default {
}
this.$nextTick(() => {
if(this.dataList.feature.featureHtml!=''){
let tw =
this.$q.platform.is.desktop?parseFloat(
let tw = parseFloat(
this.$refs.diyContext.getBoundingClientRect().width
) / 1123.0 :parseFloat(
this.$refs.diyContext.getBoundingClientRect().width
) / 975.0;
) / 1123.0
if(this.$q.platform.is.mobile){
let zoombox = document.querySelector("#setZoom");
let div = zoombox.getElementsByTagName("div")[0]
div.style.zoom = document.documentElement.clientWidth/1123.0
}
this.zoomDiyContext = tw > 1 ? 1 : tw.toFixed(2);
}
......
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