dcff1e92
liuqimichale
进出场
|
1
2
3
4
|
<template>
<div class="theme-wrap">
<card-title> <span>进出场消息</span></card-title>
<div class="theme-body">
|
f5d4b70c
liuqimichale
进出场信息
|
5
|
<div class="access-title">
|
633692cc
liuqimichale
axios
|
6
|
<p><span><span class="access-icon"></span>{{inoutmsg}} 进场</span> <span>{{inouttime}}</span></p>
|
f5d4b70c
liuqimichale
进出场信息
|
7
8
|
</div>
<div class="access-img" :style="{backgroundImage:'url('+imgUrl+')'}"></div>
|
dcff1e92
liuqimichale
进出场
|
9
10
11
12
13
14
15
16
17
18
19
20
21
|
</div>
</div>
</template>
<script>
import CardTitle from './base/CardTitle'
import AccountNum from './base/AccountNum'
export default {
name: 'VInout',
components: {
CardTitle,
AccountNum
},
|
633692cc
liuqimichale
axios
|
22
|
props:['inoutmsg','inouttime','imgUrl'],
|
dcff1e92
liuqimichale
进出场
|
23
24
|
data(){
return{
|
633692cc
liuqimichale
axios
|
25
|
}
|
dcff1e92
liuqimichale
进出场
|
26
27
28
29
30
31
32
33
34
35
36
37
|
}
}
</script>
<style scoped lang="scss">
.theme-wrap {
height: 100%;
}
.theme-body {
height: calc(100% - 30px);
margin-left: 20px;
}
|
f5d4b70c
liuqimichale
进出场信息
|
38
39
40
41
42
43
44
45
46
47
48
|
.access-title{
height: 30% ;
display: flex;
align-items: center;
p {
width: 99%;
padding-right: 20px;
height: 26px;
line-height: 26px;
display: flex;
justify-content: space-between;
|
633692cc
liuqimichale
axios
|
49
50
51
|
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
|
f5d4b70c
liuqimichale
进出场信息
|
52
|
background: linear-gradient(to right, rgba(0, 45, 140, .1) , rgba(0, 45, 140, .7));
|
dcff1e92
liuqimichale
进出场
|
53
|
|
f5d4b70c
liuqimichale
进出场信息
|
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
}
.access-icon{
display: inline-block;
vertical-align: middle;
width: 22px;
height: 26px;
margin-right: 10px;
background: url("../images/content/access-icon.png") no-repeat 0 center;
background-size: 22px 22px;
}
}
.access-img{
width: 93%;
height: 60%;
background-repeat: no-repeat;
background-size: 100% 100%;
}
|
dcff1e92
liuqimichale
进出场
|
71
72
|
</style>
|