| 123456789101112131415161718192021222324252627282930313233343536373839 |
- <!DOCTYPE html>
- <html xmlns:th="http://www.thymeleaf.org">
- <head>
- <meta charset="UTF-8"/>
- <title>Title</title>
- <!-- office插件js begin 必须引入-->
- <script type="text/javascript" th:src="${jqSrc}"></script>
- <script type="text/javascript" th:src="${poSrc}" id="po_js_main" ></script>
- <!-- end -->
- <script th:inline="javascript">
- function requestWord(){
- var nginxPath = [[${nginxPath}]];
- var apiPath = [[${apiPath}]];
- POBrowser.openWindowModeless(nginxPath + apiPath
- ,'width=1100px;height=800px;');
- }
- function imgerrorfun() {
- var nginxPath = [[${nginxPath}]];
- var imgSrcPath = [[${imgSrcPath}]];
- var img=event.srcElement;
- img.src= nginxPath + imgSrcPath;
- img.onerror=null;
- }
- </script>
- </head>
- <body>
- <div style="width:80%;margin: auto;">
- <a href="javascript:requestWord();">
- <img id="imgs" th:src="${wordImgSrc}" style="width:500px;height:700px;" onerror="imgerrorfun();"/>
- </a>
- </div>
- </body>
- </html>
|