|
@@ -41,23 +41,23 @@ const bgClass = computed(() => {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
z-index: 3;
|
|
z-index: 3;
|
|
|
color: white;
|
|
color: white;
|
|
|
|
|
+
|
|
|
&-panel {
|
|
&-panel {
|
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
- width: 0.22rem;
|
|
|
|
|
- height: 0.14rem;
|
|
|
|
|
|
|
+ width: 0.17rem;
|
|
|
|
|
+ height: 0.10rem;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
border: 0.02rem solid #ccc;
|
|
border: 0.02rem solid #ccc;
|
|
|
padding: 0.01rem;
|
|
padding: 0.01rem;
|
|
|
border-radius: 0.03rem;
|
|
border-radius: 0.03rem;
|
|
|
margin-right: 0.05rem;
|
|
margin-right: 0.05rem;
|
|
|
- transform: rotate(-90deg);
|
|
|
|
|
|
|
|
|
|
&::before {
|
|
&::before {
|
|
|
content: "";
|
|
content: "";
|
|
|
- border-radius: 0 1px 1px 0;
|
|
|
|
|
- height: 0.06rem;
|
|
|
|
|
|
|
+ border-radius: 0 0.01rem 0.01rem 0;
|
|
|
|
|
+ height: 0.05rem;
|
|
|
background: #ccc;
|
|
background: #ccc;
|
|
|
- width: 0.03rem;
|
|
|
|
|
|
|
+ width: 0.02rem;
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
top: 50%;
|
|
top: 50%;
|
|
|
right: -0.04rem;
|
|
right: -0.04rem;
|
|
@@ -75,44 +75,46 @@ const bgClass = computed(() => {
|
|
|
background: #fff;
|
|
background: #fff;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- &-berText{
|
|
|
|
|
- font-size: 0.14rem;
|
|
|
|
|
|
|
+
|
|
|
|
|
+ &-berText {
|
|
|
|
|
+ font-size: 0.09rem;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.success .electric-panel {
|
|
|
|
|
- border-color: #40d7c1;
|
|
|
|
|
-}
|
|
|
|
|
|
|
+.success {
|
|
|
|
|
|
|
|
-.success .electric-panel:before {
|
|
|
|
|
- background: #40d7c1;
|
|
|
|
|
-}
|
|
|
|
|
|
|
+ &>div:first-child::before,
|
|
|
|
|
+ &>div:first-child>div {
|
|
|
|
|
+ background-color: #40d7c1;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
-.success .electric-panel-remainder {
|
|
|
|
|
- background: #40d7c1;
|
|
|
|
|
|
|
+ &>div:first-child {
|
|
|
|
|
+ border-color: #40d7c1;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.warning .electric-panel {
|
|
|
|
|
- border-color: #f90;
|
|
|
|
|
-}
|
|
|
|
|
|
|
+.warning {
|
|
|
|
|
|
|
|
-.warning .electric-panel:before {
|
|
|
|
|
- background: #f90;
|
|
|
|
|
-}
|
|
|
|
|
|
|
+ &>div:first-child::before,
|
|
|
|
|
+ &>div:first-child>div {
|
|
|
|
|
+ background-color: #f90;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
-.warning .electric-panel-remainder {
|
|
|
|
|
- background: #f90;
|
|
|
|
|
|
|
+ &>div:first-child {
|
|
|
|
|
+ border-color: #f90;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.danger .electric-panel {
|
|
|
|
|
- border-color: #ed4014;
|
|
|
|
|
-}
|
|
|
|
|
|
|
+.danger {
|
|
|
|
|
|
|
|
-.danger .electric-panel:before {
|
|
|
|
|
- background: #ed4014;
|
|
|
|
|
-}
|
|
|
|
|
|
|
+ &>div:first-child::before,
|
|
|
|
|
+ &>div:first-child>div {
|
|
|
|
|
+ background-color: #ed4014;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &>div:first-child {
|
|
|
|
|
+ border-color: #ed4014;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
-.danger .electric-panel-remainder {
|
|
|
|
|
- background: #ed4014;
|
|
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|