mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
0f97e378d9
* chore: 换一下 office-viewer 包名 * 恢复误改的文件
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>
|