+
+
+ {[{ dictValue: "", dictLabel: "全部" }, ...levelList].map(item => (
{
- onChangeChildList(index);
+ onChangeChildList(item.dictValue);
+ }}
+ >
+ {item.dictLabel}
+
+ ))}
+
+
+
+
+ {gridList.map(item => (
+
{
+ onChangeCurrentGrid(item.value);
}}
>
{item.title}
))}
-
- {videoList.map((item, index) => (
-
- ))}
+
+
+ {currentVideoList.length
+ ? currentVideoList.map(item => (
+
+ ))
+ :
暂无视频
}
+
+
+
+
+
@@ -97,4 +135,4 @@ function Camera() {
);
}
-export default Camera;
+export default Connect([NS_BI_STATISTICS], true)(Camera);
diff --git a/src/pages/Container/Map/components/Content/branchOffice/Camera/index.less b/src/pages/Container/Map/components/Content/branchOffice/Camera/index.less
index b0ee3b7..f82e9f3 100644
--- a/src/pages/Container/Map/components/Content/branchOffice/Camera/index.less
+++ b/src/pages/Container/Map/components/Content/branchOffice/Camera/index.less
@@ -1,12 +1,15 @@
-.map_content_branch_office_camera_modal {
- .container {
- .parent_tabs {
- display: flex;
- align-items: center;
- flex-wrap: wrap;
- gap: 14px;
+.branch-office-camera-modal {
+ .branch-office-camera-modal__container {
- .tab {
+ display: flex;
+ gap: 20px;
+
+ .branch-office-camera-modal__level-tabs {
+ max-height: 500px;
+ overflow-y: auto;
+
+ .branch-office-camera-modal__tab {
+ margin-top: 5px;
background-color: #0B1544;
border: 1px solid #0c1957;
border-radius: 10px 10px 10px 2px;
@@ -19,25 +22,26 @@
text-align: center;
cursor: pointer;
- &.active {
+ &:first-child {
+ margin-top: 0;
+ }
+
+ &.branch-office-camera-modal__tab--active {
background-color: #1537CC;
border: 1px solid rgba(0, 180, 255, 0.61);
}
}
}
- .info {
- margin-top: 12px;
- display: flex;
- gap: 25px;
+ .branch-office-camera-modal__content {
+ flex: 1;
- .child_tabs {
- width: 240px;
- background-color: rgba(35, 55, 140, 0.15);
- border-radius: 10px;
- padding: 50px 20px;
+ .branch-office-camera-modal__grid-tabs {
+ display: flex;
+ align-items: center;
+ gap: 10px;
- .tab {
+ .branch-office-camera-modal__tab {
background-color: #0B1544;
color: #fff;
border-radius: 10px 2px;
@@ -45,26 +49,22 @@
padding: 10px;
text-align: center;
cursor: pointer;
- margin-top: 17px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
border: 1px solid #0c1957;
- &:first-child {
- margin-top: 0;
- }
-
- &.active {
+ &.branch-office-camera-modal__tab--active {
background-color: #1537CC;
border: 1px solid rgba(0, 180, 255, 0.61);
}
}
}
- .videos {
+ .branch-office-camera-modal__videos {
+ margin-top: 20px;
+ height: 632px;
background-color: rgba(35, 55, 140, 0.149);
- flex: 1;
border: 1px solid rgb(9, 23, 93);
border-radius: 10px;
display: grid;
@@ -72,10 +72,58 @@
gap: 20px 27px;
padding: 35px 29px;
- .video {
+ .branch-office-camera-modal__video {
border: 1px solid #294695;
border-radius: 2px;
+ display: flex;
+ flex-direction: column;
+ min-height: 0;
+ overflow: hidden;
+
+ .branch-office-camera-modal__video-name {
+ height: 24px;
+ flex: none;
+ padding: 0 8px;
+ overflow: hidden;
+ color: #fff;
+ font-size: 12px;
+ line-height: 24px;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ }
+
+ .@{ant-prefix}-spin-nested-loading {
+ flex: 1;
+ min-height: 0;
+
+ .@{ant-prefix}-spin-container {
+ height: 100%;
+ }
+ }
+
+ .branch-office-camera-modal__empty {
+ height: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: #fff;
+ }
}
+
+ > .branch-office-camera-modal__empty {
+ min-height: 150px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: #fff;
+ }
+ }
+
+ .branch-office-camera-modal__pagination {
+ display: flex;
+ justify-content: center;
+ gap: 12px;
+ margin-top: 16px;
}
}
}
diff --git a/src/pages/Container/Map/index.less b/src/pages/Container/Map/index.less
index 140152f..ceef6dc 100644
--- a/src/pages/Container/Map/index.less
+++ b/src/pages/Container/Map/index.less
@@ -40,6 +40,10 @@
&-close {
color: #fff;
+
+ &:hover {
+ color: #fff;
+ }
}
&-header {
@@ -123,6 +127,12 @@
&-empty-description {
color: #fff !important;
}
+
+ &-btn{
+ &:disabled {
+ color: #fff !important;
+ }
+ }
}
}