amis2/packages/office-viewer/index.html
吴多益 0f97e378d9
chore: 换一下 office-viewer 包名 (#7321)
* chore: 换一下 office-viewer 包名

* 恢复误改的文件
2023-07-03 14:31:27 +08:00

34 lines
960 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>office viewer</title>
<link rel="stylesheet" href="/examples/static/css/app.css" />
</head>
<body>
<div class="columns">
<div class="column file-list" id="fileList">
<button type="button" onclick="downloadDocx()">dl</button>
<button type="button" onclick="printDocx()">print</button>
<p id="page">
page
<label class="switch">
<input
type="checkbox"
onchange="switchPage(this.checked)"
id="switchPage"
/>
<span class="slider round" id="pageSlider"></span>
</label>
</p>
</div>
<div class="column">
<div id="viewer"></div>
</div>
</div>
<script type="module" src="/examples/app.ts"></script>
</body>
</html>