Commit 6522c114 authored by 李苏's avatar 李苏 💬

登录页面

parent 1280849b
...@@ -138,6 +138,7 @@ ...@@ -138,6 +138,7 @@
#kwrkb01 .wid70{ #kwrkb01 .wid70{
width: 70%; width: 70%;
} }
#kwrkb01 .n-item {background:rgb(57, 52, 86);}
#kwrkb01 .ok-item {background:-webkit-gradient(linear, left top, right top, from(#42d79b), to(#a6e25f));background:linear-gradient(90deg, #42d79b, #a6e25f);} #kwrkb01 .ok-item {background:-webkit-gradient(linear, left top, right top, from(#42d79b), to(#a6e25f));background:linear-gradient(90deg, #42d79b, #a6e25f);}
#kwrkb01 .nok-item {background:-webkit-gradient(linear, left top, right top, from(#ff0000), to(#ff007f));background:linear-gradient(90deg, #ff0000, #ff007f);} #kwrkb01 .nok-item {background:-webkit-gradient(linear, left top, right top, from(#ff0000), to(#ff007f));background:linear-gradient(90deg, #ff0000, #ff007f);}
/* 界面2 */ /* 界面2 */
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
that.okOrng="OK" that.okOrng="OK"
that.xlh="" that.xlh=""
}else if(e=="NGBZ"){ }else if(e=="NGBZ"){
that.okOrng="N" that.okOrng="NG"
that.xlh="" that.xlh=""
}else if(e=="LOGOUT"){ }else if(e=="LOGOUT"){
zpfk_wrz(that,"即将退出系统") zpfk_wrz(that,"即将退出系统")
...@@ -297,6 +297,7 @@ ...@@ -297,6 +297,7 @@
$(that.el).find(".rz").append("<br>>" + "<span style='color: red;'>" +msg+"</sapn>") $(that.el).find(".rz").append("<br>>" + "<span style='color: red;'>" +msg+"</sapn>")
that.addtop = that.addtop + 600 that.addtop = that.addtop + 600
$(that.el).find(".rz").scrollTop(that.addtop) $(that.el).find(".rz").scrollTop(that.addtop)
that.okOrng='NG'
} }
/* this.xlh="" */ /* this.xlh="" */
...@@ -348,7 +349,7 @@ ...@@ -348,7 +349,7 @@
<div style="height: calc(100% - 20px);display: flex;"> <div style="height: calc(100% - 20px);display: flex;">
<div class="rz" style="width: 80%;height: 100%;background-color: #393456;color: #FFFFFF;overflow: auto;"> <div class="rz" style="width: 80%;height: 100%;background-color: #393456;color: #FFFFFF;overflow: auto;">
</div> </div>
<div :class="okOrng=='OK'?'ok-item':'nok-item'" <div :class="{'ok-item' : okOrng=='OK','nok-item' : okOrng=='NG','n-item': okOrng!='OK'&&okOrng!='NG'}"
style="width: 20%;height: 100%;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"> style="width: 20%;height: 100%;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;">
<b>{{okOrng}}</b> <b>{{okOrng}}</b>
</div> </div>
...@@ -408,7 +409,9 @@ ...@@ -408,7 +409,9 @@
</div> </div>
</div> </div>
<div class="cpiright" style="width: 30%;height: 100%;padding: 10px;"> <div class="cpiright" style="width: 30%;height: 100%;padding: 10px;">
<div style="width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"> <div
:class="{'ok-item' : okOrng=='OK','nok-item' : okOrng=='NG','n-item': okOrng!='OK'&&okOrng!='NG'}"
style="width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;">
<b>{{okOrng}}</b> <b>{{okOrng}}</b>
</div> </div>
</div> </div>
...@@ -476,7 +479,9 @@ ...@@ -476,7 +479,9 @@
<!-- 日志 --> <!-- 日志 -->
<div class="cprz" style="position: relative;"> <div class="cprz" style="position: relative;">
<div class="cpiright" style="width:30%;height: 50%;padding: 10px;position: absolute;right: 0px;top: 20px;"> <div class="cpiright" style="width:30%;height: 50%;padding: 10px;position: absolute;right: 0px;top: 20px;">
<div style="width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;"> <div
:class="{'ok-item' : okOrng=='OK','nok-item' : okOrng=='NG','n-item': okOrng!='OK'&&okOrng!='NG'}"
style="width: 100%;height: 100%;background-color: #1890FF;color: white;display: flex;align-items: center;justify-content: center;font-size: 30px;">
<b>{{okOrng}}</b> <b>{{okOrng}}</b>
</div> </div>
</div> </div>
...@@ -524,7 +529,7 @@ ...@@ -524,7 +529,7 @@
data: function() { data: function() {
return { return {
username:localStorage.getItem("username"), username:localStorage.getItem("username"),
okOrng:"N", okOrng:"",
pdfdom:"kwrkb01pdf", pdfdom:"kwrkb01pdf",
el:"#kwrkb01", el:"#kwrkb01",
pdfurl:"kmes/gpfk/queryPdfByWoidAndZpgx", pdfurl:"kmes/gpfk/queryPdfByWoidAndZpgx",
......
...@@ -454,7 +454,7 @@ ...@@ -454,7 +454,7 @@
}, },
data:function(){ data:function(){
return{ return{
isok="OK", isok:"OK",
username:localStorage.getItem("username"), username:localStorage.getItem("username"),
pm:"", pm:"",
ng:0, ng:0,
...@@ -529,7 +529,7 @@ ...@@ -529,7 +529,7 @@
}, },
data:function(){ data:function(){
return{ return{
isok="OK", isok:"OK",
username:localStorage.getItem("username"), username:localStorage.getItem("username"),
pm:"", pm:"",
ng:0, ng:0,
...@@ -599,7 +599,7 @@ ...@@ -599,7 +599,7 @@
}, },
data:function(){ data:function(){
return{ return{
isok="OK", isok:"OK",
username:localStorage.getItem("username"), username:localStorage.getItem("username"),
pm:"", pm:"",
ng:0, ng:0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment