amis-rpc-design/libs/amis/packages/office-viewer/index.html
2023-10-07 19:42:30 +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>