Browse Source

1、左边侧边栏显示总页码显示为0

2、修改左屏幕分辨率过高,显示图片过大。
pull/43/head
1192247166@qq.com 3 years ago
parent
commit
05935c29e1
  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