修改文字

new-map
ihzero 2023-05-31 18:45:55 +08:00
parent ab1fad9937
commit 3438e7d6a0
3 changed files with 18 additions and 11 deletions

View File

@ -31,14 +31,7 @@
</div>
</div>
<div class="h-full py-5">
<iframe
v-if="urlStr"
onload="Javascript:setHeight(this)"
:src="urlStr"
frameborder="0"
width="100%"
height="100%"
></iframe>
<iframe v-if="urlStr" :src="urlStr" frameborder="0" width="100%" height="100%"></iframe>
</div>
</a-modal>
</div>
@ -91,7 +84,8 @@
const getContainer = () => {
if (document.body.clientWidth < 3000) return document.body
return document.body.querySelector(`.IframeModal`)
return document.body
// return document.body.querySelector(`.IframeModal`)
}
const handleFull = () => {

View File

@ -2,7 +2,7 @@
<div class="w-314px">
<div
class="font-pmzd text-18px mt-19px text-center bg-clip-text text-transparent bg-gradient-to-t from-[#76E9F0] to-[#A7E6EE]"
>隆昌农业产业情况万元</div
>隆昌农业产万元</div
>
<div class="w-full h-250px mx-auto mt-10px" ref="chartRef"> </div>
<div
@ -140,7 +140,7 @@
},
series: [
{
name: '隆昌农业产业情况',
name: '隆昌农业产',
type: 'pie',
radius: '80%',
center: ['40%', '50%'],
@ -151,6 +151,17 @@
return colorList[params.dataIndex]
},
},
tooltip: {
trigger: 'item',
formatter: function (params) {
return (
params.marker +
params.name +
' ' +
`<span style="font-weight: 600">${params.value}</span>`
)
},
},
label: {
show: false,
formatter: '{b}\n{d}%',

View File

@ -139,6 +139,8 @@
const addW = computed(() => (isScroll.value ? 10 : 0))
async function getWarning() {
console.log('=====================')
const ids = localStorage.getItem('warning_id')?.split(',') ?? []
const { data } = await getWarningLogs({ per_page: 10, page: 1, status: 0 })
const fliterData = data.filter((e) => ids.findIndex((id) => e.id == id) < 0)