import type { iframeInfoType } from '@/views/gis/Home/type'

export const minHeight = 376.5
//半屏某个视窗状态
export const iframeChild1: iframeInfoType = {
    index: 0,
    montorId: 1,
    viewType: 3,
    xs: 24,
    sm: 24,
    md: 24,
    lg: 24,
    xl: 12,
    iframeHeight: (document.body.clientHeight - 124) / 3 < minHeight * (2 / 3) ? minHeight * (2 / 3) : (document.body.clientHeight - 124) / 3,
}
//默认视窗状态
export const iframeChild2: iframeInfoType = {
    montorId: 1,
    viewType: 1,
    index: 0,
    xs: 24,
    sm: 24,
    md: 12,
    lg: 12,
    xl: 8,
    iframeHeight: (document.body.clientHeight - 124) / 2 < minHeight ? minHeight : (document.body.clientHeight - 124) / 2,
}