Commit 65dfd18d authored by 刘怀志's avatar 刘怀志

修改样式错位

parent 91a221d4
......@@ -72,7 +72,7 @@ export default {
return {
codeUrl: '',
loginForm: {
username: 'admin',
username: '91isoft',
password: 'admin123',
rememberMe: false,
code: '',
......
......@@ -105,7 +105,7 @@
@pagination="getList"
/>
<!-- 图像回放弹窗-->
<el-dialog title="图像回放" :visible.sync="open" width="680px" append-to-body :close-on-click-modal="false" @close="closeDialog">
<el-dialog title="图像回放" :visible.sync="open" width="1280px" append-to-body :close-on-click-modal="false" @close="closeDialog">
<el-form ref="picForm" label-position="right" label-width="70px" :model="picForm" :inline="true">
<el-form-item label="车身颜色" prop="colour">
<el-select
......@@ -164,9 +164,7 @@
车型:<dict-tag :options="dict.type.bhsp_vtype" :value="item.vehicleType" />
车身颜色:<dict-tag :options="dict.type.bhsp_colour" :value="item.colour" />
</div>
<div class="img-area">
<img :src="baseUrl + item.licensePlateImg" />
</div>
<img :style="swiperHeightImg" :src="baseUrl + item.licensePlateImg" />
</div>
<div v-show="picList.length === 0">暂无数据</div>
</div>
......@@ -299,6 +297,10 @@ export default {
// 根据选择自动生成高度
swiperHeight() {
return {height: `calc((100%) / ${this.layoutMap[this.selectedWindow].row}) !important`,width: `calc((100%) / ${this.layoutMap[this.selectedWindow].col}) !important`}
},
// 根据选择自动生成高度
swiperHeightImg() {
return {height: `calc((100%) - 50px) !important`,width: `80% !important`}
}
},
created() {
......@@ -455,17 +457,21 @@ export default {
}
.side-title{
display: flex;
align-items: center;
line-height: 14px;
span,div{
margin: 0 5px;
}
}
.title-item{
margin: 0 2px;
}
.card-type{
display: flex;
}
.img-area{
img{
width: 90%;
height: 90%;
align-items: center;
line-height: 14px;
span,div{
margin: 0 5px;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment