【详情】图片不掩盖图斑
parent
3a6c7f948c
commit
13c06b6dfd
|
|
@ -8,7 +8,7 @@
|
||||||
ref="MapboxComponent"
|
ref="MapboxComponent"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="info-container">
|
<div class="info-container" id="info-container">
|
||||||
<a-tabs v-model:activeKey="activeKey">
|
<a-tabs v-model:activeKey="activeKey">
|
||||||
<a-tab-pane key="1" tab="线索下发">
|
<a-tab-pane key="1" tab="线索下发">
|
||||||
<a-descriptions
|
<a-descriptions
|
||||||
|
|
@ -50,6 +50,9 @@
|
||||||
width="100px"
|
width="100px"
|
||||||
height="100px"
|
height="100px"
|
||||||
:src="`${VITE_GLOB_API_URL}/${imageItem}`"
|
:src="`${VITE_GLOB_API_URL}/${imageItem}`"
|
||||||
|
:preview="{
|
||||||
|
getContainer,
|
||||||
|
}"
|
||||||
></a-image>
|
></a-image>
|
||||||
</template>
|
</template>
|
||||||
<!-- {{ anjianzhaopian }} -->
|
<!-- {{ anjianzhaopian }} -->
|
||||||
|
|
@ -107,6 +110,9 @@
|
||||||
width="100px"
|
width="100px"
|
||||||
height="100px"
|
height="100px"
|
||||||
:src="`${VITE_GLOB_API_URL}/${imageItem}`"
|
:src="`${VITE_GLOB_API_URL}/${imageItem}`"
|
||||||
|
:preview="{
|
||||||
|
getContainer,
|
||||||
|
}"
|
||||||
></a-image>
|
></a-image>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -153,6 +159,9 @@
|
||||||
width="100px"
|
width="100px"
|
||||||
height="100px"
|
height="100px"
|
||||||
:src="`${VITE_GLOB_API_URL}/${imageItem}`"
|
:src="`${VITE_GLOB_API_URL}/${imageItem}`"
|
||||||
|
:preview="{
|
||||||
|
getContainer,
|
||||||
|
}"
|
||||||
></a-image>
|
></a-image>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -405,6 +414,9 @@
|
||||||
const downLoadFile = (url) => {
|
const downLoadFile = (url) => {
|
||||||
window.open(`${VITE_GLOB_API_URL}/${url}`, 'mozillaTab');
|
window.open(`${VITE_GLOB_API_URL}/${url}`, 'mozillaTab');
|
||||||
};
|
};
|
||||||
|
const getContainer = () => {
|
||||||
|
return document.getElementById('info-container')
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
@ -427,6 +439,21 @@
|
||||||
}
|
}
|
||||||
.info-container {
|
.info-container {
|
||||||
float: left;
|
float: left;
|
||||||
|
position: relative;
|
||||||
|
:deep(.ant-image-preview-wrap){
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
:deep(.ant-image-preview-mask){
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
:deep(.ant-image-preview-operations-wrapper){
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
:deep(.ant-image-preview-operations){
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
::v-deep .ant-tabs .ant-tabs-content-holder{
|
::v-deep .ant-tabs .ant-tabs-content-holder{
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue