mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 17:31:18 +08:00
3c564e2777
* chore: office viewer 增加 snapshot 测试用例 * 简单示例都改成 xml 格式 * 部分文字垂直显示 * 支持链接 tooltip * 支持 shadown * 支持旋转属性 * 修复 behideDoc 导致遮挡问题 * 修复部分 textbox 背景色错误问题 * 修复 textbox 覆盖顺序不正确问题
23 lines
657 B
HTML
23 lines
657 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()">download</button>
|
|
<button type="button" onclick="printDocx()">print</button>
|
|
</div>
|
|
<div class="column">
|
|
<div id="viewer"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="module" src="/examples/app.ts"></script>
|
|
</body>
|
|
</html>
|