Browse Source

Merge pull request #334 from NullXin/wzxdev

ppt显示问题
pull/43/head
gitchenjh 3 years ago committed by GitHub
parent
commit
051ad0f4ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      server/src/main/resources/static/pptx/ppt.js
  2. 2
      server/src/main/resources/web/ppt.ftl

1
server/src/main/resources/static/pptx/ppt.js

@ -154,6 +154,7 @@ function resetContent() {
var thumbnailWidth = $('.thumbnail:first').width();
var thumbnailHeight = thumbnailWidth * ratio;
$('.thumbnail').height(thumbnailHeight);
$('.thumbnail>img').width(thumbnailWidth).height(thumbnailHeight);
var slideImgContainerWidth = $('.slide-img-container:first').width();
var slideImgContainerHeight = slideImgContainerWidth * ratio;

2
server/src/main/resources/web/ppt.ftl

@ -2,7 +2,7 @@
{
"code": 1,
"name": "PPT预览",
"totalSize": 0,
"totalSize": ${imgurls?size},
"curPage": 1,
"totalPage": 1,
"pageSize": 10,

Loading…
Cancel
Save