|
|
@@ -7,6 +7,12 @@
|
|
|
class="el-icon-close closeDetail"
|
|
|
@click="close"
|
|
|
/>
|
|
|
+ <div class="detail-top">
|
|
|
+ <div class="detail_text">
|
|
|
+ {{ detailobj.name }}人流量监测
|
|
|
+ </div>
|
|
|
+ <div class="detail_border" />
|
|
|
+ </div>
|
|
|
<video
|
|
|
ref="player"
|
|
|
style="width: 100%"
|
|
|
@@ -78,7 +84,7 @@
|
|
|
<span class="o-detail_title">设备名称:</span><span>{{ detailobj.name }}</span>
|
|
|
</div>
|
|
|
<div>
|
|
|
- <span class="o-detail_title">ID:</span><span>{{ detailobj.id }}</span>
|
|
|
+ <span class="o-detail_title">ID:</span><span>{{ detailobj.deviceId }}</span>
|
|
|
</div>
|
|
|
<div>
|
|
|
<span class="o-detail_title">用户名:</span><span>{{ detailobj.username }}</span>
|
|
|
@@ -431,7 +437,7 @@ export default {
|
|
|
var option
|
|
|
option = {
|
|
|
title: {
|
|
|
- text: '123',
|
|
|
+ text: '区域内人数',
|
|
|
textStyle: {
|
|
|
color: '#fff',
|
|
|
fontWeight: 'bold'
|
|
|
@@ -515,11 +521,11 @@ export default {
|
|
|
.closeDetail {
|
|
|
position: absolute;
|
|
|
right: 20px;
|
|
|
- top: 20px;
|
|
|
+ top: 5px;
|
|
|
cursor: pointer;
|
|
|
- z-index: 2;
|
|
|
+ z-index: 3;
|
|
|
font-size: 42px;
|
|
|
- color: #000000;
|
|
|
+ color: #fff;
|
|
|
}
|
|
|
.video {
|
|
|
width: 100%;
|
|
|
@@ -539,6 +545,7 @@ export default {
|
|
|
line-height: 36px;
|
|
|
height: 238px;
|
|
|
position: relative;
|
|
|
+ border-radius: 4px;
|
|
|
&_title {
|
|
|
width: 72px;
|
|
|
display: inline-block;
|
|
|
@@ -629,6 +636,39 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ .detail-top{
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ width: 100%;
|
|
|
+ left: 0;
|
|
|
+ padding-top: 16px;
|
|
|
+ font-size: 24px;
|
|
|
+ text-align: center;
|
|
|
+ background-color: rgba(0, 62, 144, 0.8);
|
|
|
+ color: #fff;
|
|
|
+ z-index: 2;
|
|
|
+ .detail{
|
|
|
+ &_border{
|
|
|
+ position: absolute;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ width: 700px;
|
|
|
+ height: 0;
|
|
|
+ border-top:16px solid rgba(0, 62, 144, 0.8);
|
|
|
+ border-right:16px solid transparent;
|
|
|
+ border-bottom:16px solid transparent;
|
|
|
+ border-left:16px solid transparent;
|
|
|
+ }
|
|
|
+ &_text{
|
|
|
+ width: 600px;
|
|
|
+ margin: auto;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ height: 32px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
video::-webkit-media-controls-fullscreen-button {
|