Browse Source

Pull request #37: 优化图表显示、修改jar时间

Merge in PG2/plugin-bi-screen-adaptive from ~FAY/plugin-bi-screen-adaptive:release/10.0 to release/10.0

* commit '67196eae1a5a9d3748830c2630baaf14a77f8fc2':
  修改jar时间
  优化图表显示
release/10.0
fay 5 years ago
parent
commit
293ec9a06d
  1. 5
      plugin.xml
  2. 4
      src/main/resources/com/finebi/plugin/web/plugin.screen_adaptive.js
  3. 4
      src/main/resources/com/finebi/plugin/web/scripts/entry.js

5
plugin.xml

@ -3,12 +3,13 @@
<id>com.finebi.plugin.screenadaptive</id>
<name><![CDATA[BI模板屏幕自适应]]></name>
<active>yes</active>
<version>1.1.34</version>
<version>1.1.35</version>
<env-version>10.0</env-version>
<jartime>2019-08-16</jartime>
<jartime>2020-05-01</jartime>
<vendor>fay</vendor>
<description><![CDATA[预览BI模板时,根据屏幕的宽度自适应显示模板]]></description>
<change-notes><![CDATA[
[2020-05-21]解决部分情况下图表模糊的情况<br/>
[2020-05-09]修复IE中有空白部分的情况<br/>
[2019-10-24]修复IE中有空白部分的情况<br/>
[2019-08-28]为BI模板添加模板自适应功能。<br/>

4
src/main/resources/com/finebi/plugin/web/plugin.screen_adaptive.js

@ -74,7 +74,7 @@
fixedWrapper.style.height = bounds.height * scale + "px";
}
window.scale = window.devicePixelRatio * scale;
window.scale = Math.max(window.devicePixelRatio * scale, 1);
}
// 取消缩放
@ -98,7 +98,7 @@
fixedWrapper.style.height = "100%";
scale = 1;
window.scale = window.devicePixelRatio / scale;
window.scale = window.devicePixelRatio;
}
// 获取缩放倍数,原模板宽高

4
src/main/resources/com/finebi/plugin/web/scripts/entry.js

@ -74,7 +74,7 @@
fixedWrapper.style.height = bounds.height * scale + "px";
}
window.scale = window.devicePixelRatio * scale;
window.scale = Math.max(window.devicePixelRatio * scale, 1);
}
// 取消缩放
@ -98,7 +98,7 @@
fixedWrapper.style.height = "100%";
scale = 1;
window.scale = window.devicePixelRatio / scale;
window.scale = window.devicePixelRatio;
}
// 获取缩放倍数,原模板宽高

Loading…
Cancel
Save