Merge pull request #334 from NullXin/wzxdev

ppt显示问题
pull/43/head
gitchenjh 2022-02-21 00:10:17 -06:00 committed by GitHub
commit 051ad0f4ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

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

View File

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