83 lines
1.8 KiB
Vue
Raw Normal View History

<template>
<Card title="视频监控">
<div class="top">
<el-select size="mini" v-model="value1" placeholder="请选择">
<el-option
v-for="item in typeList"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</el-select>
</div>
<div class="maxbox">
<div class="show"></div>
<div class="show"></div>
<div class="show"></div>
<div class="show"></div>
</div>
</Card>
</template>
<script>
import Card from '../components/Card.vue'
export default {
components: { Card },
data() {
return {
value1:'2',
typeList: [{
value: '1',
label: '2屏'
}, {
value: '2',
label: '4屏'
}, {
value: '3',
label: '9屏'
}],
}
}
}
</script>
<style lang="less" scoped>
.top{
box-sizing: border-box;
padding-top: 10px;
padding-right: 20px;
height: 6%;
float: right;
}
.maxbox{
width: 100%;
height: 94%;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
.show{
width: 49%;
font-size: 20px;
margin-left: 1%;
background-image: url(.././assets/temp/small.png);
background-size: 100%;
background-repeat: no-repeat;
}
}
::v-deep .el-input--mini .el-input__inner {
height: 33px;
width: 80px;
color:#6ba8b1;
}
::v-deep .el-select,
::v-deep .el-input,
::v-deep .el-input__inner{
background-color:#172337 ;
background-image: url(../assets/images/common/num_bg.png);
background-size: 100%;
border:0px;
border-radius:0px;
text-align: center;
}
::v-deep .el-select .el-input .el-select__caret{
color:#6ba8b1;
}
</style>