|
@@ -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="866" />
|
|
|
+ <HKVideo :dot_data="videoData[0]" />
|
|
|
</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="410" />
|
|
|
+ <HKVideo :dot_data="item" />
|
|
|
</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="562" />
|
|
|
+ <HKVideo :dot_data="videoData[0]" />
|
|
|
</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="258" />
|
|
|
+ <HKVideo :dot_data="videoData[1]" />
|
|
|
</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="258" />
|
|
|
+ <HKVideo :dot_data="videoData[2]" />
|
|
|
</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="258" />
|
|
|
+ <HKVideo :dot_data="videoData[3]" />
|
|
|
</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="258" />
|
|
|
+ <HKVideo :dot_data="videoData[4]" />
|
|
|
</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="258" />
|
|
|
+ <HKVideo :dot_data="videoData[5]" />
|
|
|
</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" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-else class="tip">附近没有可用监控视频</div>
|
|
@@ -81,7 +81,7 @@ const props = withDefaults(defineProps<Props>(), {});
|
|
|
.video-container1 {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- font-size: 38px;
|
|
|
+ font-size: 16px;
|
|
|
.video-item {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
@@ -92,10 +92,10 @@ const props = withDefaults(defineProps<Props>(), {});
|
|
|
flex-wrap: wrap;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- font-size: 38px;
|
|
|
+ font-size: 16px;
|
|
|
.video-item {
|
|
|
width: calc(50% - 12px);
|
|
|
- height: 432px;
|
|
|
+ height: 293px;
|
|
|
margin-bottom: 12px;
|
|
|
margin-right: 12px;
|
|
|
&:nth-child(2n) {
|
|
@@ -108,23 +108,24 @@ const props = withDefaults(defineProps<Props>(), {});
|
|
|
flex-wrap: wrap;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- font-size: 38px;
|
|
|
+ font-size: 16px;
|
|
|
.box1 {
|
|
|
width: calc(66.66666% - 6px);
|
|
|
- height: 596px;
|
|
|
+ height: 375px;
|
|
|
margin-bottom: 12px;
|
|
|
margin-right: 12px;
|
|
|
.video-item2 {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
+ padding-bottom: 20px;
|
|
|
}
|
|
|
}
|
|
|
.box2 {
|
|
|
width: calc(33.33333% - 6px);
|
|
|
- height: 596px;
|
|
|
+ height: 360px;
|
|
|
.video-item3 {
|
|
|
width: 100%;
|
|
|
- height: 292px;
|
|
|
+ height: 180px;
|
|
|
margin-bottom: 12px;
|
|
|
&:nth-child(2) {
|
|
|
margin-top: 12px;
|
|
@@ -133,12 +134,12 @@ const props = withDefaults(defineProps<Props>(), {});
|
|
|
}
|
|
|
.box3 {
|
|
|
width: 100%;
|
|
|
- height: 292px;
|
|
|
+ height: 180px;
|
|
|
display: flex;
|
|
|
}
|
|
|
.video-item {
|
|
|
width: calc(33.33333% - 8px);
|
|
|
- height: 292px;
|
|
|
+ height: 180px;
|
|
|
margin-bottom: 12px;
|
|
|
margin-right: 12px;
|
|
|
&:nth-child(3n) {
|
|
@@ -152,10 +153,10 @@ const props = withDefaults(defineProps<Props>(), {});
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
overflow-y: auto;
|
|
|
- font-size: 38px;
|
|
|
+ font-size: 16px;
|
|
|
.video-item {
|
|
|
width: calc(33.33333% - 8px);
|
|
|
- height: 292px;
|
|
|
+ height: 180px;
|
|
|
margin-bottom: 12px;
|
|
|
margin-right: 12px;
|
|
|
&:nth-child(3n) {
|
|
@@ -166,7 +167,7 @@ const props = withDefaults(defineProps<Props>(), {});
|
|
|
.tip {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- font-size: 44px;
|
|
|
+ font-size: 18px;
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
@@ -177,25 +178,25 @@ const props = withDefaults(defineProps<Props>(), {});
|
|
|
position: relative;
|
|
|
background: url('@/assets/images/video/videoBg.png');
|
|
|
background-size: 100% 100%;
|
|
|
- padding: 17px;
|
|
|
+ padding: 15px 10px 12px 10px;
|
|
|
.tag {
|
|
|
position: absolute;
|
|
|
- bottom: 17px;
|
|
|
- right: 17px;
|
|
|
+ bottom: 15px;
|
|
|
+ right: 10px;
|
|
|
color: #fff;
|
|
|
z-index: 11;
|
|
|
- width: 425px;
|
|
|
- height: 75px;
|
|
|
- background: url('@/assets/images/video/tag2.png') no-repeat;
|
|
|
+ width: 179px;
|
|
|
+ height: 22px;
|
|
|
+ background: url('@/assets/images/video/tag.png') no-repeat;
|
|
|
display: flex;
|
|
|
justify-content: flex-end;
|
|
|
align-items: center;
|
|
|
.name {
|
|
|
- width: 360px;
|
|
|
+ width: 140px;
|
|
|
white-space: nowrap;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
- text-align: left;
|
|
|
+ text-align: right;
|
|
|
padding-right: 5px;
|
|
|
}
|
|
|
}
|