update office preview type switch ui

pull/135/MERGE
陈精华 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 { .img-area {
text-align: center; text-align: center;
} }
img { .my-photo {
max-width: 98%; max-width: 98%;
margin:0 auto; margin:0 auto;
border-radius:3px; border-radius:3px;
@ -39,7 +39,7 @@
</#list> </#list>
</div> </div>
<#if "false" == switchDisabled> <#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> </#if>
<script> <script>
window.onload = function () { window.onload = function () {

View File

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