|
@@ -4,7 +4,7 @@
|
|
|
<div class="tag" :title="videoData[0].name">
|
|
|
<div class="name">{{ videoData[0].name }}</div>
|
|
|
</div>
|
|
|
- <HKVideo :dot_data="videoData[0]" :height="1100" />
|
|
|
+ <HKVideo :dot_data="videoData[0]" :height="595" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-else-if="videoData.length >= 2 && videoData.length <= 4" class="video-container2">
|
|
@@ -12,7 +12,7 @@
|
|
|
<div class="tag" :title="item.name">
|
|
|
<div class="name">{{ item.name }}</div>
|
|
|
</div>
|
|
|
- <HKVideo :dot_data="item" :height="8" />
|
|
|
+ <HKVideo :dot_data="item" :height="288" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-else-if="videoData.length >= 5 && videoData.length <= 6" class="video-container3">
|
|
@@ -21,7 +21,7 @@
|
|
|
<div class="tag" :title="videoData[0].name">
|
|
|
<div class="name">{{ videoData[0].name }}</div>
|
|
|
</div>
|
|
|
- <HKVideo :dot_data="videoData[0]" :height="730" />
|
|
|
+ <HKVideo :dot_data="videoData[0]" :height="383" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="box2">
|
|
@@ -29,13 +29,13 @@
|
|
|
<div class="tag" :title="videoData[1].name">
|
|
|
<div class="name">{{ videoData[1].name }}</div>
|
|
|
</div>
|
|
|
- <HKVideo :dot_data="videoData[1]" :height="365" />
|
|
|
+ <HKVideo :dot_data="videoData[1]" :height="188" />
|
|
|
</div>
|
|
|
<div class="video-item3">
|
|
|
<div class="tag" :title="videoData[2].name">
|
|
|
<div class="name">{{ videoData[2].name }}</div>
|
|
|
</div>
|
|
|
- <HKVideo :dot_data="videoData[2]" :height="365" />
|
|
|
+ <HKVideo :dot_data="videoData[2]" :height="188" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="box3">
|
|
@@ -43,19 +43,19 @@
|
|
|
<div class="tag" :title="videoData[3].name">
|
|
|
<div class="name">{{ videoData[3].name }}</div>
|
|
|
</div>
|
|
|
- <HKVideo :dot_data="videoData[3]" :height="365" />
|
|
|
+ <HKVideo :dot_data="videoData[3]" :height="188" />
|
|
|
</div>
|
|
|
<div class="video-item">
|
|
|
<div class="tag" :title="videoData[4].name">
|
|
|
<div class="name">{{ videoData[4].name }}</div>
|
|
|
</div>
|
|
|
- <HKVideo :dot_data="videoData[4]" :height="365" />
|
|
|
+ <HKVideo :dot_data="videoData[4]" :height="188" />
|
|
|
</div>
|
|
|
<div class="video-item">
|
|
|
<div class="tag" :title="videoData[5].name">
|
|
|
<div class="name">{{ videoData[5].name }}</div>
|
|
|
</div>
|
|
|
- <HKVideo :dot_data="videoData[5]" :height="365" />
|
|
|
+ <HKVideo :dot_data="videoData[5]" :height="188" />
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -64,7 +64,7 @@
|
|
|
<div class="tag" :title="item.name">
|
|
|
<div class="name">{{ item.name }}</div>
|
|
|
</div>
|
|
|
- <HKVideo :dot_data="item" :height="258" />
|
|
|
+ <HKVideo :dot_data="item" :height="180" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-else class="tip">附近没有可用监控视频</div>
|
|
@@ -84,21 +84,21 @@ const props = withDefaults(defineProps<Props>(), {});
|
|
|
position: relative;
|
|
|
background: url('@/assets/images/video/videoBg.png') no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
- padding: 17px;
|
|
|
+ padding: 15px 10px 10px 10px;
|
|
|
.tag {
|
|
|
position: absolute;
|
|
|
- bottom: 17px;
|
|
|
- right: 17px;
|
|
|
+ bottom: 15px;
|
|
|
+ right: 10px;
|
|
|
color: #fff;
|
|
|
z-index: 11;
|
|
|
- width: 546px;
|
|
|
- height: 67px;
|
|
|
+ width: 179px;
|
|
|
+ height: 22px;
|
|
|
background: url('@/assets/images/video/tag.png') no-repeat;
|
|
|
display: flex;
|
|
|
justify-content: flex-end;
|
|
|
align-items: center;
|
|
|
.name {
|
|
|
- width: 480px;
|
|
|
+ width: 140px;
|
|
|
white-space: nowrap;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
@@ -113,11 +113,11 @@ const props = withDefaults(defineProps<Props>(), {});
|
|
|
.video-item {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- padding: 70px 50px;
|
|
|
+ padding: 35px 15px 38px 23px;
|
|
|
}
|
|
|
.tag {
|
|
|
- right: 49px;
|
|
|
- bottom: 73px;
|
|
|
+ right: 14px;
|
|
|
+ bottom: 38px;
|
|
|
}
|
|
|
}
|
|
|
.video-container2 {
|
|
@@ -127,13 +127,13 @@ const props = withDefaults(defineProps<Props>(), {});
|
|
|
height: 100%;
|
|
|
.video-item {
|
|
|
width: calc(50% - 12px);
|
|
|
- height: 620px;
|
|
|
+ height: 322px;
|
|
|
margin-bottom: 12px;
|
|
|
margin-right: 12px;
|
|
|
- padding: 30px 20px 30px 30px;
|
|
|
+ padding: 17px 9px 15px 11px;
|
|
|
.tag {
|
|
|
- bottom: 31px;
|
|
|
- right: 20px;
|
|
|
+ bottom: 19px;
|
|
|
+ right: 10px;
|
|
|
}
|
|
|
&:nth-child(2n) {
|
|
|
margin-right: 0;
|
|
@@ -147,43 +147,51 @@ const props = withDefaults(defineProps<Props>(), {});
|
|
|
height: 100%;
|
|
|
.box1 {
|
|
|
width: calc(66.66666% - 6px);
|
|
|
- height: 830px;
|
|
|
+ height: 430px;
|
|
|
margin-bottom: 12px;
|
|
|
margin-right: 12px;
|
|
|
.video-item2 {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- padding: 48px 30px 30px 40px;
|
|
|
+ padding: 22px 13px 19px 17px;
|
|
|
.tag {
|
|
|
- bottom: 50px;
|
|
|
- right: 29px;
|
|
|
+ bottom: 24px;
|
|
|
+ right: 13px;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
.box2 {
|
|
|
width: calc(33.33333% - 6px);
|
|
|
- height: 830px;
|
|
|
+ height: 430px;
|
|
|
.video-item3 {
|
|
|
width: 100%;
|
|
|
- height: 415px;
|
|
|
+ height: 215px;
|
|
|
margin-bottom: 12px;
|
|
|
- padding: 25px 17px 20px 24px;
|
|
|
+ padding: 12px 7px 11px 11px;
|
|
|
&:nth-child(2) {
|
|
|
margin-top: 12px;
|
|
|
}
|
|
|
+ .tag {
|
|
|
+ bottom: 15px;
|
|
|
+ right: 7px;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
.box3 {
|
|
|
width: 100%;
|
|
|
- height: 415px;
|
|
|
+ height: 215px;
|
|
|
display: flex;
|
|
|
}
|
|
|
.video-item {
|
|
|
width: calc(33.33333% - 8px);
|
|
|
- height: 415px;
|
|
|
+ height: 215px;
|
|
|
margin-bottom: 12px;
|
|
|
margin-right: 12px;
|
|
|
- padding: 25px 17px 20px 24px;
|
|
|
+ padding: 12px 7px 11px 11px;
|
|
|
+ .tag {
|
|
|
+ bottom: 15px;
|
|
|
+ right: 7px;
|
|
|
+ }
|
|
|
&:nth-child(3n) {
|
|
|
margin-right: 0;
|
|
|
}
|
|
@@ -197,7 +205,7 @@ const props = withDefaults(defineProps<Props>(), {});
|
|
|
overflow-y: auto;
|
|
|
.video-item {
|
|
|
width: calc(33.33333% - 8px);
|
|
|
- height: 292px;
|
|
|
+ height: 210px;
|
|
|
margin-bottom: 12px;
|
|
|
margin-right: 12px;
|
|
|
&:nth-child(3n) {
|
|
@@ -208,7 +216,7 @@ const props = withDefaults(defineProps<Props>(), {});
|
|
|
.tip {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- font-size: 44px;
|
|
|
+ font-size: 24px;
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|