update office preview type switch ui

This commit is contained in:
陈精华 2023-06-18 09:59:24 +08:00
parent 7b19c70161
commit b93779e816
No known key found for this signature in database
GPG Key ID: 30BDC970902B755D
2 changed files with 3 additions and 5 deletions

View File

@ -16,7 +16,7 @@
.img-area {
text-align: center;
}
img {
.my-photo {
max-width: 98%;
margin:0 auto;
border-radius:3px;
@ -39,7 +39,7 @@
</#list>
</div>
<#if "false" == switchDisabled>
<img src="images/pdf.svg" width="63" height="63" style="position: fixed; cursor: pointer; top: 40%; right: 48px; z-index: 999;" alt="使用PDF预览" title="使用PDF预览" onclick="changePreviewType('pdf')"/>
<img src="images/pdf.svg" width="48" height="48" style="position: fixed; cursor: pointer; top: 40%; right: 48px; z-index: 999;" alt="使用PDF预览" title="使用PDF预览" onclick="changePreviewType('pdf')"/>
</#if>
<script>
window.onload = function () {

View File

@ -16,9 +16,7 @@
</#if>
<iframe src="" width="100%" frameborder="0"></iframe>
<#if "false" == switchDisabled>
<img src="images/jpg.svg" width="63" height="63"
style="position: fixed; cursor: pointer; top: 40%; right: 48px; z-index: 999;" alt="使用图片预览" title="使用图片预览"
onclick="goForImage()"/>
<img src="images/jpg.svg" width="48" height="48" style="position: fixed; cursor: pointer; top: 40%; right: 48px; z-index: 999;" alt="使用图片预览" title="使用图片预览" onclick="goForImage()"/>
</#if>
</body>