ymx-aliyun-pns
    正在准备搜索索引...

    接口 PageConfig

    页面配置(方向 / 弹窗模式)

    interface PageConfig {
        dialogAutoCancel?: boolean;
        dialogCornerRadius?: number;
        dialogHeight?: string | number;
        dialogMaskColor?: string;
        dialogMode?: boolean;
        dialogPosition?: PointValue;
        dialogWidth?: string | number;
        orientation?: "portrait" | "landscape";
        webAuthDialogHeight?: string | number;
        webAuthDialogWidth?: string | number;
        webCloseImage?: string;
        webCloseImageHeight?: string | number;
        webCloseImageMargin?: string | number | EdgeValue;
        webCloseImageWidth?: string | number;
    }
    索引

    属性

    dialogAutoCancel?: boolean

    弹窗点击非弹窗区域是否自动关闭

    false
    
    dialogCornerRadius?: number

    弹窗圆角

    dialogHeight?: string | number

    弹窗模式高度

    '60%'
    
    dialogMaskColor?: string

    弹窗遮罩颜色

    dialogMode?: boolean

    是否使用弹窗模式

    false
    
    dialogPosition?: PointValue

    弹窗位置(相对屏幕,可传百分比字符串如 '5%')

    dialogWidth?: string | number

    弹窗模式宽度

    '80%'
    
    orientation?: "portrait" | "landscape"

    授权页方向

    portrait
    
    webAuthDialogHeight?: string | number

    协议 Web 页弹窗高度(弹窗模式)

    webAuthDialogWidth?: string | number

    协议 Web 页弹窗宽度(弹窗模式)

    webCloseImage?: string

    协议 Web 页关闭按钮图片(URL)

    webCloseImageHeight?: string | number

    协议 Web 页关闭按钮高度

    webCloseImageMargin?: string | number | EdgeValue

    协议 Web 页关闭按钮边距

    webCloseImageWidth?: string | number

    协议 Web 页关闭按钮宽度