+
{
- // return {
- // ...i,
- // label: i.regions,
- // children: i.videoResources.map((x) => {
- // return {
- // ...x,
- // label: x.cameraName || x.cameraIndexCode,
- // children: []
- // }
- // })
- // }
- // })
}
}
const onMonitorChange = () => {
@@ -517,7 +514,7 @@
cursor: pointer;
position: relative;
padding-top: vh(20);
- border-left: vw(2) solid #37d8fc;
+ // border-left: vw(2) solid #37d8fc;
&:nth-child(1) {
padding-top: 0;
}
@@ -529,7 +526,11 @@
&__icon {
margin-left: vw(-8);
width: vw(16);
- height: vw(16);
+ height: auto;
+ }
+ &__icon-up {
+ @extend .tree-item__icon;
+ transform: rotate(180deg);
}
&__name {
padding: 0 vw(20);
@@ -544,8 +545,8 @@
&__child {
position: relative;
margin-top: vh(20);
- margin-left: vw(40);
- border-left: vw(2) solid #37d8fc;
+ margin-left: vw(20);
+ // border-left: vw(2) solid #37d8fc;
}
&-top__icon {
position: absolute;
@@ -562,17 +563,16 @@
height: vw(16);
}
&__child-item {
- cursor: pointer;
padding: vh(0) vw(20) vh(20) vw(20);
- display: block;
+ cursor: pointer;
+ color: #999;
font-weight: 400;
font-size: vw(15);
- display: flex;
- align-items: flex-start;
- color: #ffffff;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ display: flex;
+ align-items: flex-start;
&:nth-last-of-type(1) {
padding: vh(0) vw(20);
}