背景图切换

This commit is contained in:
cwchen 2025-09-16 11:20:10 +08:00
parent 99aca26a20
commit 0155d8bc23
14 changed files with 33 additions and 21 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.history

View File

@ -215,7 +215,8 @@ body {
width: 100%;
height: 40px;
margin-bottom: 10px;
background: url("../../img/compreDisplay/week-risk.png") no-repeat 0 0 / 100% 100%;
/* background: url("../../img/compreDisplay/week-risk.png") no-repeat 0 0 / 100% 100%; */
/* background: url("../../img/cityHome/module_title_gs.png") no-repeat 0 0 / 100% 100%; */
}
.main-box2-btn {
@ -544,7 +545,7 @@ body {
width: 100%;
height: 40px;
margin-bottom: 10px;
background: url("../../img/compreDisplay/ticket-title.png") no-repeat 0 0 / 100% 100%;
/* background: url("../../img/compreDisplay/ticket-title.png") no-repeat 0 0 / 100% 100%; */
}
.ticket {
@ -646,7 +647,7 @@ body {
width: 100%;
height: 40px;
margin-bottom: 10px;
background: url("../../img/compreDisplay/class_back.png") no-repeat 0 0 / 100% 100%;
/* background: url("../../img/compreDisplay/class_back.png") no-repeat 0 0 / 100% 100%; */
}
.ticket-bar {
@ -666,7 +667,7 @@ body {
width: 100%;
height: 40px;
margin-bottom: 10px;
background: url("../../img/compreDisplay/personnel-statistics.png") no-repeat 0 0 / 100% 100%;
/* background: url("../../img/compreDisplay/personnel-statistics.png") no-repeat 0 0 / 100% 100%; */
}
#echarts-six {
@ -1060,7 +1061,7 @@ body .my-skin.child-skin {
.plan-history-title {
width: 100%;
height: 40px;
background: url("../../img/cityHome/module_title.png") no-repeat 0 0 / 100% 100%;
background: url("../../img/cityHome/module_title_gs.png") no-repeat 0 0 / 100% 100%;
}
.plan-history-title>p {
@ -1143,7 +1144,7 @@ body .my-skin.child-skin {
width: 100%;
height: 40px;
margin-bottom: 10px;
background: url("../../img/compreDisplay/early-info.png") no-repeat 0 0 / 100% 100%;
/* background: url("../../img/compreDisplay/early-info.png") no-repeat 0 0 / 100% 100%; */
}
.early-info-list {

View File

@ -34,7 +34,7 @@ body {
width: 100%;
height: 40px;
margin-bottom: 10px;
background: url("../../img/cityHome/module_title.png") no-repeat 0 0 / 100% 100%;
background: url("../../img/cityHome/module_title_gs.png") no-repeat 0 0 / 100% 100%;
background-size: unset !important;
}
@ -613,7 +613,7 @@ body {
margin-right: 10px;
}
.webui-popover-content {
background: url("../../img/cityHome/city_home_back.png") no-repeat 0 0 / 100% 100%;
background: url("../../img/cityHome/city_home_back_gs.png") no-repeat 0 0 / 100% 100%;
background-size: unset !important;
background-position: center center !important;
}

View File

@ -90,7 +90,7 @@ body {
width: 100%;
height: 40px;
margin-bottom: 10px;
background: url("../../img/cityHome/module_title.png") no-repeat 0 0 / 100% 100%;
background: url("../../img/cityHome/module_title_gs.png") no-repeat 0 0 / 100% 100%;
}
.other-title {

View File

@ -8,7 +8,7 @@ html, body {
}
html {
background: url("../../img/back.png") no-repeat 0 0 / 100% 100% transparent;
background: url("../../img/back-gs.png") no-repeat 0 0 / 100% 100% transparent;
}
.layout {
@ -26,7 +26,7 @@ html {
#back-title {
width: 100%;
height: 98px;
background: url("../../img/back-title.png") no-repeat 0 0 / 100% 100% transparent;
background: url("../../img/back-title-gs.png") no-repeat 0 0 / 100% 100% transparent;
justify-content: space-between;
}

View File

@ -2,7 +2,7 @@ body{
width: 99%;
height: 100%;
background-color: #0c0c0c;
background-image: url("../img/login/back.png") ;
background-image: url("../img/login/back-gs.png") ;
}
#wdiv{
@ -15,6 +15,7 @@ body{
.fdiv{
color: #FFFFFF;
font-size:32px;
text-align: center;
}
.mdiv{
position: relative;

View File

@ -47,7 +47,9 @@
</div>
<!--周风险-->
<div class="main-box2">
<div class="main-box2-title"></div>
<div class="main-box2-title plan-history-title">
<p>周风险</p>
</div>
<div class="main-box2-btn layout">
<div style="width: 150px;flex-direction: row" class="layout">
<div class="legend-title layout" style="color: #DD690B;"><img style="margin-top: 0px"
@ -121,7 +123,9 @@
</div>
<!-- 预警信息 -->
<div class="early-main-box">
<div class="early-main-box-title"></div>
<div class="early-main-box-title plan-history-title">
<p>预警信息</p>
</div>
<div class="early-info-list" onclick="openEarlyInfo()">
<ul>
<li class="layout"><p style="width: 40%;">预警信息共<span id="earlyTotalNum">0</span></p><p style="width: 30%;">已处理<span id="earlyDealNum">0</span></p><p style="width: 30%;">未处理<span id="earlyNoDealNum">0</span></p></li>
@ -291,7 +295,8 @@
<div id="right-box" class="common-height">
<!--作业票-->
<div class="main-box3">
<div class="main-box3-title">
<div class="main-box3-title plan-history-title">
<p>作业票</p>
<div class="change-type-btn3 layout">
<p class="change-type3 check-p" dateType="1"></p>
<p class="change-type3" dateType="2"></p>
@ -324,7 +329,9 @@
</div>
<!--站班会-->
<div class="main-box5">
<div class="main-box5-title"></div>
<div class="main-box5-title plan-history-title">
<p>站班会</p>
</div>
<div class="ticket-bar">
<div class="ticket-bar-btn layout">
<div class="date3-btn layout">
@ -355,7 +362,9 @@
</div>
<!--人员统计-->
<div class="main-box4">
<div class="main-box4-title" onclick="openPersonnelStatistics('')"></div>
<div class="main-box4-title plan-history-title" onclick="openPersonnelStatistics('')">
<p>人员统计</p>
</div>
<div id="echarts-six"></div>
</div>
</div>

BIN
bns/img/back-gs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

BIN
bns/img/back-title-gs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
bns/img/login/back-gs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

View File

@ -70,9 +70,9 @@ layui.use(['layer', 'form', 'element'], function () {
if (indexUrls == inde1url || indexUrls == inde2url || indexUrls == inde3url) {
if (indexUrls == inde2url || indexUrls == inde3url) {//地市+值长
$('#html').css("background", 'url("../../img/cityHome/city_home_back.png") no-repeat 0 0 / 100% 100% transparent');
$('#html').css("background", 'url("../../img/cityHome/city_home_back_gs.png") no-repeat 0 0 / 100% 100% transparent');
} else if (indexUrls == inde1url) {
$('#html').css("background", 'url("../../img/back.png") no-repeat 0 0 / 100% 100% transparent');
$('#html').css("background", 'url("../../img/back-gs.png") no-repeat 0 0 / 100% 100% transparent');
}
$("#ifr-box ").css("background-image", "");
$('#indexIframe').attr('src', indexUrls);
@ -221,7 +221,7 @@ function initMenu() {
indexUrl = url;
$('#indexIframe').attr('src', url);
if (url == inde2url || url == inde3url) {
$('#html').css("background", 'url("../../img/cityHome/city_home_back.png") no-repeat 0 0 / 100% 100% transparent');
$('#html').css("background", 'url("../../img/cityHome/city_home_back_gs.png") no-repeat 0 0 / 100% 100% transparent');
}
}
homeMenu += li + "</li>";

View File

@ -16,7 +16,7 @@
<script src="bns/js/login/login.js" type="text/javascript"></script>
<body>
<div id="wdiv">
<div class="fdiv">&nbsp全&nbsp质&nbsp量&nbsp智&nbsp慧&nbsp决&nbsp策&nbsp中&nbsp心</div>
<div class="fdiv">&nbsp动&nbsp安&nbsp全&nbsp值&nbsp班&nbsp助&nbsp手</div>
<div class="mdiv">
<div style="border-bottom:1px solid #FFFFFF;width: 60%;margin-left: 18%;top: 72px;height: 40px;position: absolute">
<IMG src="bns/img/login/user.png">