mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
6b749b8b53
* 优化分页渲染的支持 * 补充一些注释 * 补充单元测试 * 优化单元测试,减少样式冗余
34 lines
960 B
HTML
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>
|