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

    接口 CheckboxConfig

    协议复选框配置(完整映射 SDK AuthUiConfig.privacyCb*)

    interface CheckboxConfig {
        checked?: boolean;
        checkedImage?: string;
        height?: string | number;
        hidden?: boolean;
        margin?: string | number | EdgeValue;
        selectColor?: string;
        shape?: "square" | "circle";
        tipText?: string;
        uncheckedImage?: string;
        width?: string | number;
    }
    索引

    属性

    checked?: boolean

    是否默认选中

    checkedImage?: string

    选中图标(URL,覆盖默认勾选样式)

    height?: string | number

    复选框高

    hidden?: boolean

    是否隐藏复选框(视为始终同意,不弹二次弹窗)

    false
    
    margin?: string | number | EdgeValue

    复选框外边距(如 { right: 5, bottom: 30 })

    selectColor?: string

    选中颜色

    shape?: "square" | "circle"

    复选框形状

    • square 方形
    • circle 圆形
    tipText?: string

    未勾选点击登录时的吐司提示

    uncheckedImage?: string

    未选中图标(URL)

    width?: string | number

    复选框宽