大屏幕背景自适应

Signed-off-by: 小胡 <3203164629@qq.com>
This commit is contained in:
小胡
2024-09-28 00:44:15 +00:00
committed by Gitee
Unverified
parent d4332d4f9a
commit fd6ffb7da6

View File

@@ -1,4 +1,4 @@
<div style="width: 100%;height:100%; position: absolute; top: 0px; left: 0px; margin: 0px; padding: 0px; overflow: hidden;font-size: 0px;<!--{if $_G['setting']['loginset']['kbcolor']}-->background:$_G['setting']['loginset']['bcolor'];<!--{/if}--><!--{if $_G['setting']['loginset']['img']}-->background-image:url("$_G['setting']['loginset']['img']")<!--{/if}-->">
<div style="width: 100%;height:100%; position: absolute; top: 0px; left: 0px; margin: 0px; padding: 0px; overflow: hidden;<!--{if $_G['setting']['loginset']['kbcolor']}-->background:$_G['setting']['loginset']['bcolor'];<!--{/if}--><!--{if $_G['setting']['loginset']['img']}-->background-image:url("$_G['setting']['loginset']['img']");background-size: cover;background-position: center center;background-repeat: no-repeat;<!--{/if}-->">
<!--{if $_G['setting']['loginset']['url']}-->
<iframe id="wrapper_frame" name="wrapper_frame" src="$_G['setting']['loginset']['url']" frameborder="0" marginheight="0" marginwidth="0" width="100%" height="100%" allowtransparency="true" style="z-index:-1;width:100%;height:100%;background:url(dzz/images/b.gif);"></iframe>
<!--{elseif $_G['setting']['loginset']['bcolor']}-->