kkFileView - 在线文件预览 (keking.cn)
例子
<!DOCTYPE html>
<!-- saved from url=(0054)http://kkfileview.keking.cn/zh-cn/docs/production.html -->
<html lang="en">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="keywords" content="kkFileView,预览,office,vue,word,excel,ppt,pdf,zip,rar">
<meta name="description" content="kkFileView官网 - kkFileView使用Spring Boot搭建,易上手和部署,基本支持主流办公文档的在线预览,如doc,docx,Excel,pdf,txt,zip,rar,图片等等">
<!-- 网页标签标题 -->
<title>kkFileView - 在线文件预览</title>
<link rel="shortcut icon" href="http://kkfileview.keking.cn/img/favicon.ico">
<script src="https://cdn.jsdelivr.net/npm/js-base64@3.6.0/base64.min.js"></script>
<script>
// url 为文件地址
var url = 'http://116.205.236.90:8888/group1/M00/00/00/rBEAA2NzBSSAYqskAAaActhNbXU955.jpg';
window.open('http://116.205.236.90:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(url)));
</script>
</head>
<body>
</body>
</html>