|
@@ -22,7 +22,8 @@ const showType = computed(() => {
|
|
return 'default'
|
|
return 'default'
|
|
})
|
|
})
|
|
const iframeHeight = computed(() => {
|
|
const iframeHeight = computed(() => {
|
|
- return (contentRef.value?.offsetHeight || '600') + 'px'
|
|
|
|
|
|
+ return '800px'
|
|
|
|
+ // return (contentRef.value?.offsetHeight || '800') + 'px'
|
|
})
|
|
})
|
|
const downloadUrl = ref('')
|
|
const downloadUrl = ref('')
|
|
const reportMold = ref('')
|
|
const reportMold = ref('')
|
|
@@ -64,11 +65,11 @@ onMounted(() => {
|
|
} else {
|
|
} else {
|
|
getReportDetail()
|
|
getReportDetail()
|
|
}
|
|
}
|
|
- window.addEventListener('scroll', throttle(watchScroll, 100))
|
|
|
|
|
|
+ // window.addEventListener('scroll', throttle(watchScroll, 100))
|
|
})
|
|
})
|
|
|
|
|
|
onUnmounted(() => {
|
|
onUnmounted(() => {
|
|
- window.removeEventListener('scroll', watchScroll)
|
|
|
|
|
|
+ // window.removeEventListener('scroll', watchScroll)
|
|
// 组件卸载时清除定时器和请求
|
|
// 组件卸载时清除定时器和请求
|
|
clearInterval(apiTimer.value)
|
|
clearInterval(apiTimer.value)
|
|
apiTimer.value = null
|
|
apiTimer.value = null
|
|
@@ -292,7 +293,7 @@ function onLoadH5() {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.report-content {
|
|
.report-content {
|
|
- min-height: 600px;
|
|
|
|
|
|
+ min-height: 800px;
|
|
margin: 32px auto;
|
|
margin: 32px auto;
|
|
background: #e0e0e0;
|
|
background: #e0e0e0;
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
@@ -301,7 +302,7 @@ function onLoadH5() {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.report-empty {
|
|
.report-empty {
|
|
- min-height: 600px;
|
|
|
|
|
|
+ min-height: 800px;
|
|
background: #fff;
|
|
background: #fff;
|
|
}
|
|
}
|
|
}
|
|
}
|