修复登录页背景图错误

pull/236/head
Karson 2020-09-11 17:23:16 +08:00
parent 7150bea947
commit 4f7b083e8d
1 changed files with 14 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<style type="text/css">
body {
color: #999;
background: #f1f4fd url('{$background}');
background-color: #f1f4fd;
background-size: cover;
}
@ -71,7 +71,20 @@
margin-bottom: 15px;
}
#login-form .form-control {
font-size: 13px;
}
</style>
<!--@formatter:off-->
{if $background}
<style type="text/css">
body{
background-image: url('{$background}');
}
</style>
{/if}
<!--@formatter:on-->
</head>
<body>
<div class="container">