fix: 解决手机端水印太大的问题
This commit is contained in:
@@ -6664,9 +6664,13 @@ var PDFPageView = function () {
|
||||
// //判断分辨率
|
||||
// if (screen.width+"*"+screen.height === '800*600' ){
|
||||
// }
|
||||
|
||||
|
||||
|
||||
var screenHeight = window.screen.height;
|
||||
var screenWidth = window.screen.width;
|
||||
if((screenHeight>screenWidth) && (screenWidth>480 && screenWidth <= 1440)){
|
||||
defaultSettings.watermark_fontsize = '20px';
|
||||
defaultSettings.watermark_width = 60;
|
||||
defaultSettings.watermark_height = 40;
|
||||
}
|
||||
var oTemp = document.createDocumentFragment();
|
||||
|
||||
//获取页面最大宽度
|
||||
|
||||
Reference in New Issue
Block a user