|
@@ -82,6 +82,7 @@
|
|
|
<span>{{ `${p.subTypeDesc}` }}</span>
|
|
|
</div>
|
|
|
<img
|
|
|
+ v-if="p.evidence.thumbnail"
|
|
|
:src="p.evidence.thumbnail"
|
|
|
style="
|
|
|
width: 100%;
|
|
@@ -164,8 +165,8 @@ const image_data = ref({
|
|
|
function canplay() {
|
|
|
let r_width = left.value.$el.offsetWidth - 52;
|
|
|
let h = (video.value.videoWidth / video.value.videoHeight) * r_width;
|
|
|
- if (h > left.value.$el.offsetHeight) {
|
|
|
- h = left.value.$el.offsetHeight - 252;
|
|
|
+ if (h > window.screen.height) {
|
|
|
+ h = window.screen.height - 252;
|
|
|
}
|
|
|
image_data.value = {
|
|
|
height: h,
|