| 123456789101112131415161718192021222324252627282930313233343536 |
- <!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 adCode = [[${adCode}]];
- POBrowser.openWindowModeless(nginxPath + '/dc/pageoffice/hcbg/word/'+adCode,'width=1100px;height=800px;');
- }
- function imgerrorfun() {
- var nginxPath = [[${nginxPath}]];
- var img=event.srcElement;
- img.src= nginxPath + "/upload/pageoffice/dc/hcbg/hcbg.jpg";
- img.onerror=null;
- }
- </script>
- </head>
- <body>
- <div style="width:80%;margin: auto;">
- <a href="javascript:requestWord();">
- <img id="imgs" th:src="${wordImgSrc}" onerror="imgerrorfun();"/>
- </a>
- </div>
- </body>
- </html>
|