@myun/gimi-chat 0.0.4 → 0.0.6
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/dist/components/ai-chat-dialogue/index.js +182 -136
- package/dist/components/ai-chat-dialogue/index.module.css +230 -0
- package/dist/components/ai-correction/index.js +38 -25
- package/dist/components/ai-loading/index.js +13 -9
- package/dist/components/ai-loading/index.module.css +11 -0
- package/dist/components/answer-item/index.js +136 -114
- package/dist/components/answer-item/index.module.css +266 -0
- package/dist/components/ask-card/index.js +43 -34
- package/dist/components/ask-card/index.module.css +122 -0
- package/dist/components/chat-input/index.js +136 -115
- package/dist/components/chat-input/index.module.css +42 -0
- package/dist/components/chat-voice/VoiceCommunication.js +23 -21
- package/dist/components/chat-voice/VoiceRecord.js +24 -21
- package/dist/components/conversation-delete/index.js +10 -8
- package/dist/components/dots-loading/index.js +11 -8
- package/dist/components/dots-loading/index.module.css +41 -0
- package/dist/components/empty/index.js +13 -8
- package/dist/components/empty/index.module.css +24 -0
- package/dist/components/excel-components/ExcelCard.js +7 -3
- package/dist/components/excel-components/ExcelExcuting.js +61 -44
- package/dist/components/excel-components/ExcelFailCard.js +16 -11
- package/dist/components/excel-components/ExcelSuccessCard.js +3 -2
- package/dist/components/excel-components/index.module.css +212 -0
- package/dist/components/excel-components/styles.module.css +178 -0
- package/dist/components/file-card/fileCardSidebar.js +24 -17
- package/dist/components/file-card/index.js +69 -50
- package/dist/components/file-card/index.module.css +139 -0
- package/dist/components/file-preview/index.js +39 -34
- package/dist/components/file-preview/index.module.css +83 -0
- package/dist/components/file-upload/index.js +10 -7
- package/dist/components/file-upload/uploadV1.js +33 -27
- package/dist/components/gimi-sidebar/index.js +21 -14
- package/dist/components/gimi-sidebar/index.module.css +118 -0
- package/dist/components/header/index.js +19 -12
- package/dist/components/header/index.module.css +19 -0
- package/dist/components/iconfont-com/index.js +2 -1
- package/dist/components/knowledge-trace/KnowledgeIconComponent.js +29 -23
- package/dist/components/knowledge-trace/classList.js +38 -29
- package/dist/components/knowledge-trace/documentList.js +37 -28
- package/dist/components/knowledge-trace/index.js +29 -22
- package/dist/components/knowledge-trace/index.module.css +254 -0
- package/dist/components/knowledge-trace/videoList.js +47 -37
- package/dist/components/lottie-img/index.js +10 -8
- package/dist/components/message-actions/CopyButton.js +25 -22
- package/dist/components/message-actions/LikeButton.js +25 -22
- package/dist/components/message-actions/RegenerateButton.js +21 -18
- package/dist/components/message-actions/UnLikeButton.js +25 -22
- package/dist/components/message-actions/VoicePlay.js +25 -22
- package/dist/components/message-list/index.js +86 -76
- package/dist/components/message-list/index.module.css +261 -0
- package/dist/components/no-microphone-root/index.js +40 -30
- package/dist/components/no-microphone-root/index.module.css +48 -0
- package/dist/components/preset-agent-content/index.js +21 -16
- package/dist/components/preset-agent-content/index.module.css +46 -0
- package/dist/components/quoted-content/index.module.css +80 -0
- package/dist/components/reasoning-content/index.js +56 -43
- package/dist/components/reasoning-content/index.module.css +169 -0
- package/dist/components/reference-content/index.js +73 -64
- package/dist/components/reference-content/index.module.css +84 -0
- package/dist/components/templates/CommonChat.js +79 -65
- package/dist/components/templates/GimiChatComponent.js +13 -6
- package/dist/components/templates/demo/demo.js +104 -103
- package/dist/components/templates/index.module.css +109 -0
- package/dist/components/upload-list/index.js +57 -42
- package/dist/components/upload-list/index.module.css +119 -0
- package/dist/components/voice-bars/index.js +22 -19
- package/dist/components/voice-check-dialog/index.js +25 -18
- package/dist/components/voice-check-dialog/{index.module.scss → index.module.css} +2 -2
- package/dist/components/voice-recording/index.js +58 -43
- package/dist/components/voice-recording/index.module.css +41 -0
- package/dist/components/work-flow-content/demo.js +2 -1
- package/dist/components/work-flow-content/index.js +13 -10
- package/dist/components/work-flow-content/index.module.css +24 -0
- package/package.json +7 -6
- package/dist/components/ai-chat-dialogue/index.module.scss +0 -272
- package/dist/components/ai-loading/index.module.scss +0 -11
- package/dist/components/answer-item/index.module.scss +0 -295
- package/dist/components/ask-card/index.module.scss +0 -125
- package/dist/components/chat-input/index.module.scss +0 -44
- package/dist/components/dots-loading/index.module.scss +0 -45
- package/dist/components/empty/index.module.scss +0 -27
- package/dist/components/excel-components/index.module.scss +0 -210
- package/dist/components/excel-components/styles.module.scss +0 -186
- package/dist/components/file-card/index.module.scss +0 -139
- package/dist/components/file-preview/index.module.scss +0 -120
- package/dist/components/gimi-sidebar/index.module.scss +0 -136
- package/dist/components/header/index.module.scss +0 -26
- package/dist/components/knowledge-trace/index.module.scss +0 -262
- package/dist/components/message-list/index.module.scss +0 -304
- package/dist/components/no-microphone-root/index.module.scss +0 -42
- package/dist/components/preset-agent-content/index.module.scss +0 -48
- package/dist/components/quoted-content/index.module.scss +0 -76
- package/dist/components/reasoning-content/index.module.scss +0 -164
- package/dist/components/reference-content/index.module.scss +0 -73
- package/dist/components/templates/index.module.scss +0 -119
- package/dist/components/upload-list/index.module.scss +0 -119
- package/dist/components/voice-recording/index.module.scss +0 -41
- package/dist/components/work-flow-content/index.module.scss +0 -23
|
@@ -1,54 +1,69 @@
|
|
|
1
1
|
import { Tooltip } from '@douyinfe/semi-ui';
|
|
2
2
|
import VoiceBars from "../voice-bars";
|
|
3
|
-
import styles from "./index.module.
|
|
3
|
+
import styles from "./index.module.css";
|
|
4
4
|
import React from 'react';
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
7
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
8
|
var CHECK_ICON_ADDRESS = 'https://simg01.gaodunwangxiao.com/uploadimgs/tmp/upload/202601/04/8b0e2_20260104154821.png';
|
|
6
9
|
var CANCEL_ICON_ADDRESS = 'https://simg01.gaodunwangxiao.com/uploadimgs/tmp/upload/202601/04/94bfe_20260104154857.png';
|
|
7
10
|
var VoiceRecording = function VoiceRecording(_ref) {
|
|
8
11
|
var recordingCount = _ref.recordingCount,
|
|
9
12
|
stopRecording = _ref.stopRecording,
|
|
10
13
|
containerWidth = _ref.containerWidth;
|
|
11
|
-
return /*#__PURE__*/
|
|
12
|
-
className: styles.main
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
14
|
+
return /*#__PURE__*/_jsxs("div", {
|
|
15
|
+
className: styles.main,
|
|
16
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
17
|
+
className: styles.text,
|
|
18
|
+
children: [/*#__PURE__*/_jsx("span", {
|
|
19
|
+
className: styles.font_weight_600,
|
|
20
|
+
children: "\u8BED\u97F3\u8F93\u5165\u4E2D"
|
|
21
|
+
}), recordingCount > 0 && recordingCount <= 10 && /*#__PURE__*/_jsxs(_Fragment, {
|
|
22
|
+
children: [/*#__PURE__*/_jsx("span", {
|
|
23
|
+
className: styles.font_weight_400,
|
|
24
|
+
children: "(\u5012\u8BA1\u65F6"
|
|
25
|
+
}), /*#__PURE__*/_jsx("span", {
|
|
26
|
+
className: styles.count,
|
|
27
|
+
children: recordingCount
|
|
28
|
+
}), /*#__PURE__*/_jsx("span", {
|
|
29
|
+
className: styles.font_weight_400,
|
|
30
|
+
children: "\u79D2)"
|
|
31
|
+
})]
|
|
32
|
+
})]
|
|
33
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
34
|
+
className: styles.voice_bar,
|
|
35
|
+
children: [/*#__PURE__*/_jsx(VoiceBars, {
|
|
36
|
+
parentWidth: containerWidth - 48 * 2 - 20 * 2 - 10
|
|
37
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
38
|
+
style: {
|
|
39
|
+
display: 'flex',
|
|
40
|
+
gap: '10px'
|
|
41
|
+
},
|
|
42
|
+
children: [/*#__PURE__*/_jsx(Tooltip, {
|
|
43
|
+
content: "\u653E\u5F03\u8F6C\u5199",
|
|
44
|
+
arrowPointAtCenter: true,
|
|
45
|
+
children: /*#__PURE__*/_jsx("img", {
|
|
46
|
+
className: styles.icon,
|
|
47
|
+
src: CANCEL_ICON_ADDRESS,
|
|
48
|
+
alt: "\u653E\u5F03\u8F6C\u5199",
|
|
49
|
+
onClick: function onClick() {
|
|
50
|
+
stopRecording(false);
|
|
51
|
+
}
|
|
52
|
+
})
|
|
53
|
+
}), /*#__PURE__*/_jsx(Tooltip, {
|
|
54
|
+
content: "\u5F00\u59CB\u8F6C\u5199",
|
|
55
|
+
arrowPointAtCenter: true,
|
|
56
|
+
children: /*#__PURE__*/_jsx("img", {
|
|
57
|
+
className: styles.icon,
|
|
58
|
+
src: CHECK_ICON_ADDRESS,
|
|
59
|
+
alt: "\u5F00\u59CB\u8F6C\u5199",
|
|
60
|
+
onClick: function onClick() {
|
|
61
|
+
stopRecording(true);
|
|
62
|
+
}
|
|
63
|
+
})
|
|
64
|
+
})]
|
|
65
|
+
})]
|
|
66
|
+
})]
|
|
67
|
+
});
|
|
53
68
|
};
|
|
54
69
|
export default VoiceRecording;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.main {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
width: 100%;
|
|
7
|
+
padding: 20px;
|
|
8
|
+
border-radius: 12px;
|
|
9
|
+
border: 1px solid rgb(223, 232, 247);
|
|
10
|
+
}
|
|
11
|
+
.main .text {
|
|
12
|
+
font-family: PingFang SC;
|
|
13
|
+
font-weight: 600;
|
|
14
|
+
font-style: Semibold;
|
|
15
|
+
font-size: 16px;
|
|
16
|
+
line-height: 18px;
|
|
17
|
+
letter-spacing: 0px;
|
|
18
|
+
}
|
|
19
|
+
.main .text .font_weight_600 {
|
|
20
|
+
font-weight: 600;
|
|
21
|
+
margin-right: 5px;
|
|
22
|
+
}
|
|
23
|
+
.main .text .font_weight_400 {
|
|
24
|
+
font-weight: 400;
|
|
25
|
+
}
|
|
26
|
+
.main .text .count {
|
|
27
|
+
font-weight: 600;
|
|
28
|
+
color: #007aff;
|
|
29
|
+
padding: 0 5px;
|
|
30
|
+
}
|
|
31
|
+
.main .voice_bar {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: space-between;
|
|
35
|
+
width: 100%;
|
|
36
|
+
}
|
|
37
|
+
.main .voice_bar .icon {
|
|
38
|
+
width: 48px;
|
|
39
|
+
height: 48px;
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import WorkFlowContent from "./index";
|
|
3
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
4
|
var Demo = function Demo() {
|
|
4
|
-
return /*#__PURE__*/
|
|
5
|
+
return /*#__PURE__*/_jsx(WorkFlowContent, {
|
|
5
6
|
chatItem: {
|
|
6
7
|
mcp: '这是一条工作流内容',
|
|
7
8
|
status: 'executeWorkflowByDescription'
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import styles from "./index.module.
|
|
2
|
+
import styles from "./index.module.css";
|
|
3
3
|
import { Spin } from '@douyinfe/semi-ui';
|
|
4
|
-
import {
|
|
5
|
-
|
|
4
|
+
import { IconSpin, IconInfoCircle } from '@douyinfe/semi-icons';
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
+
var antIcon = /*#__PURE__*/_jsx(IconSpin, {
|
|
6
8
|
style: {
|
|
7
9
|
fontSize: 16
|
|
8
10
|
},
|
|
9
11
|
spin: true
|
|
10
12
|
});
|
|
11
|
-
var warnIcon = /*#__PURE__*/
|
|
13
|
+
var warnIcon = /*#__PURE__*/_jsx(IconInfoCircle, {
|
|
12
14
|
style: {
|
|
13
15
|
fontSize: 16
|
|
14
16
|
}
|
|
@@ -17,12 +19,13 @@ var WorkFlowContent = function WorkFlowContent(_ref) {
|
|
|
17
19
|
var chatItem = _ref.chatItem;
|
|
18
20
|
// const isExecuting = chatItem.mcps.some((item: MCPItem) => !item.isFinished);
|
|
19
21
|
var mcp = chatItem.mcp;
|
|
20
|
-
return /*#__PURE__*/
|
|
21
|
-
className: styles.layout
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
return /*#__PURE__*/_jsxs("div", {
|
|
23
|
+
className: styles.layout,
|
|
24
|
+
children: [mcp.status === 'executeWorkflowByDescription' ? '正在查询可用工作流...' : mcp.status === 'interrupt' ? '运行终止' : "\u6B63\u5728\u8C03\u7528 ".concat(mcp.name || '工作流', "..."), mcp.status === 'interrupt' ? warnIcon : /*#__PURE__*/_jsx(Spin, {
|
|
25
|
+
className: styles.spin,
|
|
26
|
+
indicator: antIcon
|
|
27
|
+
})]
|
|
28
|
+
});
|
|
26
29
|
|
|
27
30
|
// return (
|
|
28
31
|
// <Collapse
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.collapse {
|
|
2
|
+
border-radius: 8px;
|
|
3
|
+
margin-bottom: 10px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.layout {
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: start;
|
|
9
|
+
align-items: center;
|
|
10
|
+
width: fit-content;
|
|
11
|
+
gap: 10px;
|
|
12
|
+
padding: 5px 10px;
|
|
13
|
+
margin-bottom: 5px;
|
|
14
|
+
border: 1px solid #d9dce5;
|
|
15
|
+
border-radius: 8px;
|
|
16
|
+
font-family: "PingFang SC";
|
|
17
|
+
font-weight: 400;
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
line-height: 18px;
|
|
20
|
+
letter-spacing: 0px;
|
|
21
|
+
}
|
|
22
|
+
.layout .spin {
|
|
23
|
+
color: #d9d9d9;
|
|
24
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myun/gimi-chat",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -28,14 +28,15 @@
|
|
|
28
28
|
"@reduxjs/toolkit": "^2.11.2",
|
|
29
29
|
"@volcengine/rtc": "^4.68.0",
|
|
30
30
|
"classnames": "^2.2.6",
|
|
31
|
-
"react": "^
|
|
32
|
-
"react-dom": "^18.3.1",
|
|
33
|
-
"react-redux": "^9.2.0",
|
|
31
|
+
"react-redux": "^8.1.3",
|
|
34
32
|
"redux": "^5.0.1",
|
|
35
|
-
"
|
|
33
|
+
"lodash": "^4.17.21"
|
|
36
34
|
},
|
|
37
35
|
"devDependencies": {
|
|
38
|
-
"father": "4.1.1"
|
|
36
|
+
"father": "4.1.1",
|
|
37
|
+
"react": "^17.0.0",
|
|
38
|
+
"react-dom": "^17.0.0",
|
|
39
|
+
"sass": "^1.69.5"
|
|
39
40
|
},
|
|
40
41
|
"peerDependencies": {
|
|
41
42
|
"react": ">=16.9.0",
|
|
@@ -1,272 +0,0 @@
|
|
|
1
|
-
.aiChat {
|
|
2
|
-
z-index: 99999;
|
|
3
|
-
|
|
4
|
-
position: fixed;
|
|
5
|
-
inset: 0;
|
|
6
|
-
|
|
7
|
-
.bgImg {
|
|
8
|
-
position: absolute;
|
|
9
|
-
top: 0;
|
|
10
|
-
left: 0;
|
|
11
|
-
right: 0;
|
|
12
|
-
bottom: 0;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.back {
|
|
16
|
-
position: absolute;
|
|
17
|
-
top: 30px;
|
|
18
|
-
left: 20px;
|
|
19
|
-
z-index: 2;
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
width: 30px;
|
|
24
|
-
height: 30px;
|
|
25
|
-
border-radius: 50%;
|
|
26
|
-
background: #ffffff;
|
|
27
|
-
box-shadow: 0px 0px 10px 0px rgba(153, 167, 191, 0.2);
|
|
28
|
-
border: 1px solid #ebf2ff;
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.rightWrap {
|
|
33
|
-
position: absolute;
|
|
34
|
-
right: 20px;
|
|
35
|
-
top: 30px;
|
|
36
|
-
z-index: 3;
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
|
|
40
|
-
.iconWrap {
|
|
41
|
-
margin-right: 40px;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.introWrap {
|
|
46
|
-
position: absolute;
|
|
47
|
-
top: 60px;
|
|
48
|
-
right: -420px;
|
|
49
|
-
width: 400px;
|
|
50
|
-
height: calc(100vh - 100px);
|
|
51
|
-
padding: 20px 20px 15px;
|
|
52
|
-
background: #f7faff;
|
|
53
|
-
box-shadow: -6px 2px 20px 0px rgba(153, 167, 191, 0.15);
|
|
54
|
-
border-radius: 12px;
|
|
55
|
-
z-index: 2;
|
|
56
|
-
// overflow-y: scroll;
|
|
57
|
-
transition: all 0.3s ease;
|
|
58
|
-
|
|
59
|
-
&.block {
|
|
60
|
-
right: 20px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.loading {
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-direction: column;
|
|
66
|
-
justify-content: center;
|
|
67
|
-
height: 80%;
|
|
68
|
-
text-align: center;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.introHeader {
|
|
72
|
-
display: flex;
|
|
73
|
-
justify-content: space-between;
|
|
74
|
-
align-items: center;
|
|
75
|
-
margin-bottom: 20px;
|
|
76
|
-
|
|
77
|
-
.title {
|
|
78
|
-
font-size: 18px;
|
|
79
|
-
font-weight: 600;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.introContent {
|
|
84
|
-
height: calc(100% - 60px);
|
|
85
|
-
overflow-y: scroll;
|
|
86
|
-
padding-right: 10px;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.main {
|
|
91
|
-
position: relative;
|
|
92
|
-
height: 100%;
|
|
93
|
-
|
|
94
|
-
display: flex;
|
|
95
|
-
flex-direction: column;
|
|
96
|
-
transition: all 0.3s ease;
|
|
97
|
-
|
|
98
|
-
&.translate {
|
|
99
|
-
transform: translateX(-160px);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.content {
|
|
103
|
-
height: calc(100% - 380px);
|
|
104
|
-
overflow-y: scroll;
|
|
105
|
-
overflow-x: hidden;
|
|
106
|
-
|
|
107
|
-
.container {
|
|
108
|
-
width: 800px;
|
|
109
|
-
margin: 0 auto;
|
|
110
|
-
height: 100%;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.header {
|
|
115
|
-
display: flex;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
margin-bottom: 30px;
|
|
118
|
-
height: 26px;
|
|
119
|
-
|
|
120
|
-
.logo {
|
|
121
|
-
width: 18px;
|
|
122
|
-
height: 18px;
|
|
123
|
-
margin-right: 8px;
|
|
124
|
-
flex-shrink: 0;
|
|
125
|
-
margin-top: 3px;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.title {
|
|
129
|
-
font-size: 18px;
|
|
130
|
-
text-align: center;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.tips {
|
|
135
|
-
font-weight: 400;
|
|
136
|
-
color: #54698c;
|
|
137
|
-
font-size: 17px;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.item {
|
|
141
|
-
margin-bottom: 10px;
|
|
142
|
-
font-weight: 400;
|
|
143
|
-
color: #333;
|
|
144
|
-
font-size: 17px;
|
|
145
|
-
line-height: 28px;
|
|
146
|
-
word-break: break-all;
|
|
147
|
-
/* 强制换行 */
|
|
148
|
-
overflow-wrap: break-word;
|
|
149
|
-
/* 在适当位置换行 */
|
|
150
|
-
white-space: pre-wrap;
|
|
151
|
-
|
|
152
|
-
&.answer {
|
|
153
|
-
font-size: 16;
|
|
154
|
-
color: #b0b0b0;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.voiceWrap {
|
|
159
|
-
height: 100%;
|
|
160
|
-
display: flex;
|
|
161
|
-
align-items: center;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.bottom {
|
|
165
|
-
display: flex;
|
|
166
|
-
flex-direction: column;
|
|
167
|
-
align-items: center;
|
|
168
|
-
position: absolute;
|
|
169
|
-
bottom: 60px;
|
|
170
|
-
left: 50%;
|
|
171
|
-
transform: translateX(-50%);
|
|
172
|
-
text-align: center;
|
|
173
|
-
|
|
174
|
-
.pointer {
|
|
175
|
-
cursor: pointer;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.status {
|
|
179
|
-
display: flex;
|
|
180
|
-
flex-direction: column;
|
|
181
|
-
width: 220px;
|
|
182
|
-
margin-bottom: 30px;
|
|
183
|
-
|
|
184
|
-
.iconOutside {
|
|
185
|
-
width: 30px;
|
|
186
|
-
height: 30px;
|
|
187
|
-
display: flex;
|
|
188
|
-
justify-content: center;
|
|
189
|
-
align-items: center;
|
|
190
|
-
border: 3px solid #000000;
|
|
191
|
-
border-radius: 50%;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.iconInside {
|
|
195
|
-
width: 13px;
|
|
196
|
-
height: 13px;
|
|
197
|
-
background-color: #000000;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.statusImg {
|
|
201
|
-
width: 24px;
|
|
202
|
-
height: 24px;
|
|
203
|
-
border-radius: 8px;
|
|
204
|
-
margin: 0 auto;
|
|
205
|
-
margin-bottom: 15px;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.statusText {
|
|
209
|
-
font-size: 16px;
|
|
210
|
-
color: #7d91b3;
|
|
211
|
-
|
|
212
|
-
&.danger {
|
|
213
|
-
color: red;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.btnWrap {
|
|
219
|
-
display: flex;
|
|
220
|
-
justify-content: center;
|
|
221
|
-
|
|
222
|
-
.btnItem {
|
|
223
|
-
display: flex;
|
|
224
|
-
align-items: center;
|
|
225
|
-
justify-content: center;
|
|
226
|
-
width: 76px;
|
|
227
|
-
height: 76px;
|
|
228
|
-
border-radius: 50%;
|
|
229
|
-
margin-right: 118px;
|
|
230
|
-
background: #ffffff;
|
|
231
|
-
box-shadow: 0px 2px 10px 0px rgba(153, 167, 191, 0.1);
|
|
232
|
-
cursor: pointer;
|
|
233
|
-
|
|
234
|
-
&.disable {
|
|
235
|
-
pointer-events: none;
|
|
236
|
-
opacity: 0.5;
|
|
237
|
-
cursor: not-allowed;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
&:last-child {
|
|
241
|
-
margin-right: 0;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
:global {
|
|
250
|
-
.out-tooltip {
|
|
251
|
-
.ant-tooltip-content {
|
|
252
|
-
.ant-tooltip-arrow {
|
|
253
|
-
left: 55px;
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.ai-chat-tooltip {
|
|
259
|
-
z-index: 100000 !important;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
:global(.ant-message) {
|
|
264
|
-
position: fixed !important;
|
|
265
|
-
z-index: 99999999 !important;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.disable {
|
|
269
|
-
opacity: 0.4;
|
|
270
|
-
pointer-events: none;
|
|
271
|
-
cursor: not-allowed;
|
|
272
|
-
}
|