{
  "title": "comment-list",
  "type": "object",
  "properties": {
    "comment-param": {
      "type": "object",
      "description": "评论核心参数",
      "defaultValue": "是"
    },
    "toolbar-config": {
      "type": "object",
      "description": "底部 toolbar 的相关配置",
      "defaultValue": "否"
    },
    "is-page-scroll": {
      "type": "boolean",
      "description": "滚动方式为页面滚动，若组件作为浮层使用，该参数需设为 false",
      "defaultValue": false
    },
    "need-toolbar": {
      "type": "boolean",
      "description": "是否需要底部 toolbar ，若使用开发者自定义的底部 toolbar ，该参数需设为 false",
      "defaultValue": false
    },
    "add-comment": {
      "type": "boolean",
      "description": "用于调起评论发布器发布评论，发布成功插入列表第一条，且滚动到列表顶部",
      "defaultValue": false
    },
    "detail-path": {
      "type": "string",
      "description": "点击单条评论跳转的详情页页面 path ，若没有配置则不会发生跳转；配置的前提是列表与详情均是页面级",
      "defaultValue": "否"
    },
    "is-folded": {
      "type": "boolean",
      "description": "是否折叠列表，默认全展示",
      "defaultValue": false
    },
    "fold-num": {
      "type": "number",
      "description": "折叠后列表展示最大条数，默认 3 条，最多 10 条",
      "defaultValue": null
    },
    "view-more-path": {
      "type": "string",
      "description": "传入放置评论组件的页面路径，如'/pages/list/index'，组件内部会触发跳转逻辑"
    },
    "view-more-style": {
      "type": "object",
      "description": "『全部 xx 条』的样式，目前只支持开发者自定义字体颜色"
    },
    "bindClickComment": {
      "tsType": "() => void",
      "description": "绑定点击单条评论的事件，点击单条评论时触发，返回数据为{status, data:{srid}}"
    },
    "bindViewMore": {
      "tsType": "() => void",
      "description": "绑定点击更多事件，若除了页面跳转还需要其他操作，可通过该回调执行；若为浮层，也可使用该回调自定义交互逻辑"
    },
    "bindReply": {
      "tsType": "() => void",
      "description": "评论发布成功时触发，返回数据为 {status, data:{srid}}"
    }
  },
  "additionalProperties": false
}