去除作业动态白色边框
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<container3 title="全厂工房作业信息" :width="768" :height="975">
|
||||
<div>
|
||||
<img v-if="pic.length" style="width: 100%; height: 100%" :src="pic" alt="" srcset="" />
|
||||
<img v-if="pic.length" style="width: 100%; height: 100%" :src="pic" alt="" srcset="" />
|
||||
<img v-else style="width: 100%; height: 100%" src="./center-bg.png" alt="" srcset="" />
|
||||
</div>
|
||||
<el-popover
|
||||
@ -10,6 +10,7 @@
|
||||
v-for="(item, index) in listData"
|
||||
:key="item.id"
|
||||
placement="bottom"
|
||||
:visible-arrow="false"
|
||||
width="494"
|
||||
trigger="click"
|
||||
@show="handleShow(index)"
|
||||
@ -82,7 +83,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
pic:'',
|
||||
pic: '',
|
||||
listData: [],
|
||||
listData2: [],
|
||||
flvPlayer: null,
|
||||
@ -138,18 +139,24 @@ export default {
|
||||
},
|
||||
created() {
|
||||
this.getList()
|
||||
this.request({
|
||||
url: '/hx/bigPic/getByType',
|
||||
method: 'get',
|
||||
params: { type: 2}
|
||||
}).then(res => {
|
||||
if (200 == res.code) {
|
||||
this.pic = res.data.pic;
|
||||
}
|
||||
})
|
||||
this.request({
|
||||
url: '/hx/bigPic/getByType',
|
||||
method: 'get',
|
||||
params: { type: 2 },
|
||||
}).then(res => {
|
||||
if (200 == res.code) {
|
||||
this.pic = res.data.pic
|
||||
}
|
||||
})
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.el-popover {
|
||||
background-color: unset;
|
||||
border: 0;
|
||||
}
|
||||
</style>
|
||||
<style lang="scss" scoped>
|
||||
.icon_img {
|
||||
position: absolute;
|
||||
|
Reference in New Issue
Block a user