yt-chat-components 1.9.3 → 1.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yt-chat-components",
3
- "version": "1.9.3",
3
+ "version": "1.9.5",
4
4
  "main": "build/static/js/bundle.min.js",
5
5
  "module": "build/static/js/bundle.min.js",
6
6
  "types": "build/static/js/index.d.ts",
@@ -479,7 +479,8 @@ export class ToolDialogV2 extends React.Component {
479
479
  isShowVoiceButton,
480
480
  footerStyle,
481
481
  isHideTabSelector,
482
- dialogStyle
482
+ dialogStyle,
483
+ footerContent
483
484
  } = this.props;
484
485
  const { currentFlow = {} } = this.state;
485
486
  return (
@@ -487,7 +488,7 @@ export class ToolDialogV2 extends React.Component {
487
488
  <style dangerouslySetInnerHTML={{ __html: style }}></style>
488
489
  <div className="p_toolDialog">
489
490
  {/*对话上边的学校标志,定位到左上角header上端*/}
490
- <div className={'p_sign'} >
491
+ <div className={'p_sign'} style={dialogStyle} >
491
492
  <img src={signUrl} style={{ width: 600, marginTop: '1.5rem', }}/>
492
493
  </div>
493
494
  <div className={"dialog_box"} style={dialogStyle}>
@@ -625,7 +626,7 @@ export class ToolDialogV2 extends React.Component {
625
626
  }
626
627
  </div>
627
628
  </div>
628
- <div className={'p_footer'}><span style={{ fontSize: 16,...footerStyle }}>技术支持:北京云图科技有限公司</span></div>
629
+ <div className={'p_footer'}><span style={{ fontSize: 16,...footerStyle }}>{footerContent}||技术支持:北京云图科技有限公司</span></div>
629
630
  </div>
630
631
  </div>
631
632
  );