去除作业动态白色边框

This commit is contained in:
熊丽君
2021-12-29 14:33:16 +08:00
parent a694d2bc75
commit 3e8684cb8d

View File

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