highVideo.vue
5.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<template>
<el-container style="height: 100%;width: 1190px;margin: 0 auto;">
<el-header class="header-wrap">
<el-row>
<el-col :span="4">
<p>车场:XHZ-002</p>
</el-col>
<el-col :span="4">
<p>设备:AAAAAAA</p>
</el-col>
<el-col :span="3">
<p>车位:XHZ-002</p>
</el-col>
<el-col :span="3">
<p>待审:AAAAAAA</p>
</el-col>
<el-col :span="4">
<p>获取数据:AAAAA</p>
</el-col>
<el-col :span="2">
<p>刷新</p>
</el-col>
<el-col :span="4">
<p>未审总数:AAAAAAA</p>
</el-col>
</el-row>
</el-header>
<el-main style="padding: 0">
<ul class="status-wrap">
<li>
<el-row>
<el-col :span="8">
<p class="status-ifo">
<span>入位</span>
<span class="blueText">通过</span>
</p>
<p class="status-ifo">
<span>车牌号码: 京A123431</span>
<span>车牌颜色: 蓝色</span>
</p>
<p class="status-ifo">
<span>车辆类型: 轿车</span>
<span>车身颜色: 其他</span>
</p>
<p class="status-ifo">
<span>2020-07-12 00:00:00</span>
<span>停车事件: 正常</span>
</p>
</el-col>
<el-col :span="12" style="overflow-x: auto">
<div class="imgBox" :style="{width: attachmentList.length*190+'px'}">
<img
v-for="(item,index) in attachmentList"
:key="index"
:src="item"
preview="1"
/>
</div>
</el-col>
<el-col :span="4" style="text-align: center;line-height: 120px">
<!--<el-input placeholder="请输入内容" v-model="carNumber" class="input-with-select">-->
<!--<template slot="prepend">修改车牌</template>-->
<!--<el-button slot="append" icon="el-icon-search">确定</el-button>-->
<!--</el-input>-->
<el-button type="primary">操作</el-button>
</el-col>
</el-row>
</li>
<li></li>
<li></li>
</ul>
</el-main>
<el-footer class="footer-wrap" style="height: 40px;">
<el-row>
<el-col :span="6">
<p>今日已处理 100 条,通过 80 条,废弃 20 条</p>
</el-col>
<el-col :span="15" :offset="3">
<p>操作按钮</p>
</el-col>
</el-row>
</el-footer>
<el-dialog
title="操作"
:visible.sync="centerDialogVisible"
width="30%"
center>
<div class="button">
<el-input v-model="carNumber" maxlength="9">
<template slot="prepend">修改车牌</template>
</el-input>
<div style="margin-bottom: 15px;"></div>
<el-button type="primary">通过</el-button>
<el-button type="primary">废弃</el-button>
<el-button type="primary">通过</el-button>
<el-button type="primary">废弃</el-button>
<el-button type="primary">通过</el-button>
<el-button type="primary">废弃</el-button>
<el-button type="primary">通过</el-button>
<el-button type="primary">废弃</el-button>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="centerDialogVisible = false">取 消</el-button>
<el-button type="primary" @click="centerDialogVisible = false">确 定</el-button>
</span>
</el-dialog>
</el-container>
</template>
<script>
export default {
name: 'highVideo',
data() {
return {
centerDialogVisible:true,
carNumber:'京A123312',
swiperOption:{
autoplay : 5000,//可选选项,自动滑动
loop : true,//可选选项,开启循环
},
attachmentList:[
'https://img-blog.csdnimg.cn/img_convert/26200f8ecce45d09d4f4bc5a8f4572c5.png',
'https://img-blog.csdnimg.cn/20190504154805438.png',
'https://img-blog.csdnimg.cn/img_convert/26200f8ecce45d09d4f4bc5a8f4572c5.png',
'https://img-blog.csdnimg.cn/20190504154805438.png',
'https://img-blog.csdnimg.cn/img_convert/26200f8ecce45d09d4f4bc5a8f4572c5.png',
'https://img-blog.csdnimg.cn/20190504154805438.png',
]
}
}
}
</script>
<style scoped lang="scss">
.header-wrap {
line-height: 60px;
background: #409EFF;
font-size: 16px;
color: #fff;
}
.status-wrap{
}
.status-wrap>li{
height: 130px;
border-bottom: 1px solid #ddd;
}
.status-wrap>li:last-child{
border-bottom:0;
}
.status-ifo{
display: flex;
margin-top: 10px;
}
.status-ifo span{
flex: 1;
}
.blueText{
color: blue;
}
.redText{
color: red;
}
.imgBox{
/*width: 590px;*/
height: 120px;
padding-top: 10px;
overflow-y: hidden;
overflow-x: auto;
white-space:nowrap
}
.imgBox>img{
display:inline-block;
width: 180px;
height: 110px;
float: left;
margin-right: 10px;
}
.imgBox>img:last-child{
margin-right: 0;
}
.button button{
margin-left: 0;
margin-right: 10px;
margin-bottom: 10px;
}
.footer-wrap{
line-height: 40px;
background: #f5f5f5;
}
</style>