1.0.3 • Published 13 days ago
xverse-components-pixel-wall v1.0.3
API
参数名 | 类型 | 说明 | 默认值 | 是否必填 | 备注 | |
---|---|---|---|---|---|---|
toastProps | IToastProps | 提示信息 Props | - | false | - | |
modalProps | IModalProps | 弹框配置项 | - | false | - | |
exitButtonProps | IButtonProps | 退出按钮 | - | true | - | |
floatInputProps | IFloatInputProps | 内容输入组件 | - | false | - | |
shineButtonProps | IButtonProps | 点亮 | - | true | - | |
lookButtonProps | IButtonProps | 查看 | - | false | - | |
continueShineButtonProps | IButtonProps | 继续点亮 | - | false | - | |
numberContainerProps | IContainerProps | 当前编号 container | - | true | - | |
commentTopImgContainerProps | IContainerProps | 输入框顶部 container | - | true | - | |
commentContainerProps | IContainerProps | 输入框内容 container | - | true | - | |
containerProps | IContainerProps | 输入框整体 container | - | true | - | |
commentNumberContainerProps | IContainerProps | 输入框编号 container | - | true | - | |
commentAvatarContainerProps | IContainerProps | 输入框留言人 container | - | true | - | |
width | number | 像素墙宽度 | 8 | true | - | |
height | number | 像素墙高度 | 8 | true | - | |
className | string | 像素墙 Class | - | false | - | |
mode | 'normal' | 'simple' | 像素墙类型 | simple | true | - |
litNumLimit | number | 单人留言限制数 | 1 | true | - | |
maxCommentFontNum | number | 留言字数限制 | 32 | true | - | |
avatarURL | string | avatar 头像 | - | true | - | |
scene | string | 二维码 scene | - | false | - | |
wxAppID | string | 微信小程序 AppID | - | true | - | |
pixelWallImg | string | 像素墙内容图片 | - | false | - | |
panelBackgroundImg | string | 像素墙背景图片 | - | false | - | |
lookMyMessageColor | string | 查看我的留言字体颜色 | #ffeeb4 | false | - | |
pixelTitleImg | string | 像素墙输入框上方图片 | - | false | - | |
commentBackgroundImg | string | 像素墙输入框背景图 | - | false | - | |
pixelSharePoster | string | 像素墙分享背景图 | - | false | - | |
onUpDataCallback | (img: string) => void | 像素墙刷新墙面点亮信息后的回调 | - | true | - | |
pixelWallWidth | number | 像素墙展示框宽度 | 240 | true | - | |
pixelWallHeight | number | 像素墙展示框高度 | 240 | true | - | |
pixelWallStyle | CSSProperties | 像素墙展示框 css | - | true | - |