@myun/gimi-chat 0.0.4 → 0.0.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/dist/components/ai-chat-dialogue/index.js +1 -1
- package/dist/components/ai-chat-dialogue/index.module.css +230 -0
- package/dist/components/ai-loading/index.js +1 -1
- package/dist/components/ai-loading/index.module.css +11 -0
- package/dist/components/answer-item/index.js +1 -1
- package/dist/components/answer-item/index.module.css +266 -0
- package/dist/components/ask-card/index.js +1 -1
- package/dist/components/ask-card/index.module.css +122 -0
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-input/index.module.css +42 -0
- package/dist/components/dots-loading/index.js +1 -1
- package/dist/components/dots-loading/index.module.css +41 -0
- package/dist/components/empty/index.js +1 -1
- package/dist/components/empty/index.module.css +24 -0
- package/dist/components/excel-components/ExcelExcuting.js +1 -1
- package/dist/components/excel-components/ExcelFailCard.js +1 -1
- 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 +1 -1
- package/dist/components/file-card/index.js +1 -1
- package/dist/components/file-card/index.module.css +139 -0
- package/dist/components/file-preview/index.js +6 -8
- package/dist/components/file-preview/index.module.css +83 -0
- package/dist/components/gimi-sidebar/index.js +1 -1
- package/dist/components/gimi-sidebar/index.module.css +118 -0
- package/dist/components/header/index.js +1 -1
- package/dist/components/header/index.module.css +19 -0
- package/dist/components/knowledge-trace/KnowledgeIconComponent.js +1 -1
- package/dist/components/knowledge-trace/classList.js +1 -1
- package/dist/components/knowledge-trace/documentList.js +1 -1
- package/dist/components/knowledge-trace/index.js +1 -1
- package/dist/components/knowledge-trace/index.module.css +254 -0
- package/dist/components/knowledge-trace/videoList.js +1 -1
- package/dist/components/message-list/index.js +3 -6
- package/dist/components/message-list/index.module.css +261 -0
- package/dist/components/no-microphone-root/index.js +1 -1
- package/dist/components/no-microphone-root/index.module.css +48 -0
- package/dist/components/preset-agent-content/index.js +1 -1
- 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 +1 -1
- package/dist/components/reasoning-content/index.module.css +169 -0
- package/dist/components/reference-content/index.js +1 -1
- package/dist/components/reference-content/index.module.css +84 -0
- package/dist/components/templates/CommonChat.js +1 -1
- package/dist/components/templates/demo/demo.js +2 -3
- package/dist/components/templates/index.module.css +109 -0
- package/dist/components/upload-list/index.js +1 -1
- package/dist/components/upload-list/index.module.css +119 -0
- package/dist/components/voice-check-dialog/index.js +1 -1
- package/dist/components/voice-check-dialog/{index.module.scss → index.module.css} +2 -2
- package/dist/components/voice-recording/index.js +1 -1
- package/dist/components/voice-recording/index.module.css +41 -0
- package/dist/components/work-flow-content/index.js +1 -1
- package/dist/components/work-flow-content/index.module.css +24 -0
- package/package.json +4 -4
- 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
|
@@ -5,7 +5,7 @@ import { useAppDispatch, useAppSelector } from "../../store/hooks";
|
|
|
5
5
|
import { setBaseUrl, setToken, setPlatform, setConversationId, setAgentDetail, setBussinessParams } from "../../store/slices/gimiMenuSlice";
|
|
6
6
|
import useCommonChatAPI from "../../hooks/useCommonChatAPI";
|
|
7
7
|
import { replaceBraces } from "../../utils/tools";
|
|
8
|
-
import styles from "./index.module.
|
|
8
|
+
import styles from "./index.module.css";
|
|
9
9
|
import ChatInput from "../chat-input";
|
|
10
10
|
import MessageList from "../message-list";
|
|
11
11
|
import PresetAgentContent from "../preset-agent-content";
|
|
@@ -95,9 +95,8 @@ export default function Demo() {
|
|
|
95
95
|
// }}
|
|
96
96
|
,
|
|
97
97
|
showPrologue: true,
|
|
98
|
-
model: 'fullscreen'
|
|
99
|
-
|
|
100
|
-
,
|
|
98
|
+
model: 'fullscreen',
|
|
99
|
+
conversationId: 8394,
|
|
101
100
|
chatInputConfig: {
|
|
102
101
|
enableFileUpload: true,
|
|
103
102
|
enableVoiceChat: true,
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
.main {
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
display: flex;
|
|
6
|
+
gap: 20px;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
position: relative;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.chat_content {
|
|
12
|
+
flex: 1;
|
|
13
|
+
height: 100%;
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
min-width: 0;
|
|
17
|
+
position: relative;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.scroll_wrapper {
|
|
21
|
+
flex: 1;
|
|
22
|
+
position: relative;
|
|
23
|
+
width: 100%;
|
|
24
|
+
min-height: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.scroll_container {
|
|
28
|
+
height: 100%;
|
|
29
|
+
overflow-y: auto;
|
|
30
|
+
overflow-x: hidden;
|
|
31
|
+
width: 100%;
|
|
32
|
+
position: relative;
|
|
33
|
+
}
|
|
34
|
+
.scroll_container::-webkit-scrollbar {
|
|
35
|
+
width: 6px;
|
|
36
|
+
height: 6px;
|
|
37
|
+
}
|
|
38
|
+
.scroll_container::-webkit-scrollbar-thumb {
|
|
39
|
+
border-radius: 6px;
|
|
40
|
+
background: transparent;
|
|
41
|
+
}
|
|
42
|
+
.scroll_container::-webkit-scrollbar-track {
|
|
43
|
+
background: transparent;
|
|
44
|
+
border-radius: 6px;
|
|
45
|
+
}
|
|
46
|
+
.scroll_container.scrolling::-webkit-scrollbar-thumb {
|
|
47
|
+
background: rgba(144, 147, 153, 0.3);
|
|
48
|
+
}
|
|
49
|
+
.scroll_container::-webkit-scrollbar-thumb:hover {
|
|
50
|
+
background: rgba(144, 147, 153, 0.5);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.backBottomBtn {
|
|
54
|
+
position: absolute;
|
|
55
|
+
bottom: 20px;
|
|
56
|
+
right: 20px;
|
|
57
|
+
width: 40px;
|
|
58
|
+
height: 40px;
|
|
59
|
+
background: #fff;
|
|
60
|
+
border-radius: 50%;
|
|
61
|
+
box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
z-index: 10;
|
|
67
|
+
transition: all 0.3s;
|
|
68
|
+
color: #1c1f23;
|
|
69
|
+
}
|
|
70
|
+
.backBottomBtn:hover {
|
|
71
|
+
background: #f2f3f5;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.content_header {
|
|
75
|
+
width: 100%;
|
|
76
|
+
height: 50px;
|
|
77
|
+
display: flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
font-family: PingFangSC, PingFang SC;
|
|
81
|
+
font-weight: 500;
|
|
82
|
+
font-size: 16px;
|
|
83
|
+
color: #2e394c;
|
|
84
|
+
line-height: 22px;
|
|
85
|
+
text-align: center;
|
|
86
|
+
font-style: normal;
|
|
87
|
+
position: relative;
|
|
88
|
+
}
|
|
89
|
+
.content_header .content_header_title {
|
|
90
|
+
width: 340px;
|
|
91
|
+
height: 100%;
|
|
92
|
+
line-height: 50px;
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
/* 隐藏溢出内容 */
|
|
95
|
+
white-space: nowrap;
|
|
96
|
+
/* 强制文本不换行 */
|
|
97
|
+
text-overflow: ellipsis;
|
|
98
|
+
/* 超出部分显示省略号 */
|
|
99
|
+
}
|
|
100
|
+
.content_header .text_shanow {
|
|
101
|
+
z-index: 5;
|
|
102
|
+
pointer-events: none;
|
|
103
|
+
background: linear-gradient(rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
|
|
104
|
+
width: 97%;
|
|
105
|
+
height: 32px;
|
|
106
|
+
position: absolute;
|
|
107
|
+
top: 100%;
|
|
108
|
+
left: 1px;
|
|
109
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import styles from "./index.module.
|
|
2
|
+
import styles from "./index.module.css";
|
|
3
3
|
import reTry from "../../assets/image/retry.png";
|
|
4
4
|
import { FileStatus } from "../../interfaces/fileInterface";
|
|
5
5
|
import { formatSizeToKB } from "../../utils/tools";
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
.uploadBox {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
min-width: 228px; /* 最小宽度保证 */
|
|
6
|
+
max-width: 380px; /* 最大宽度限制 */
|
|
7
|
+
width: fit-content; /* 自动适应内容宽度 */
|
|
8
|
+
flex-shrink: 0;
|
|
9
|
+
border-radius: 12px;
|
|
10
|
+
background: var(---, #f2f3f7);
|
|
11
|
+
padding: 14px 16px 14px 12px;
|
|
12
|
+
margin-bottom: 12px;
|
|
13
|
+
position: relative;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.uploadIcon img {
|
|
17
|
+
width: 24px;
|
|
18
|
+
height: 22px;
|
|
19
|
+
margin-right: 8px;
|
|
20
|
+
}
|
|
21
|
+
.uploadIcon img img {
|
|
22
|
+
width: 100%;
|
|
23
|
+
height: 100%;
|
|
24
|
+
object-fit: cover;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.uploadName {
|
|
28
|
+
flex: 1; /* 让文件名占满剩余空间 */
|
|
29
|
+
color: #2e394c;
|
|
30
|
+
font-family: "PingFang SC";
|
|
31
|
+
font-size: 14px;
|
|
32
|
+
font-style: normal;
|
|
33
|
+
font-weight: 400;
|
|
34
|
+
line-height: normal;
|
|
35
|
+
min-width: 0; /* 关键:允许flex子元素缩小到内容尺寸以下 */
|
|
36
|
+
}
|
|
37
|
+
.uploadName .uploadfileName {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
max-width: 100%; /* 限制整个文件名区域宽度 */
|
|
41
|
+
}
|
|
42
|
+
.uploadName .uploadfileName .fileName {
|
|
43
|
+
/* 动态计算可用宽度,减去扩展名和间距 */
|
|
44
|
+
flex: 1;
|
|
45
|
+
min-width: 0; /* 允许文件名进一步缩小 */
|
|
46
|
+
white-space: nowrap;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
text-overflow: ellipsis;
|
|
49
|
+
margin-right: 4px; /* 与扩展名保持一点距离 */
|
|
50
|
+
}
|
|
51
|
+
.uploadName .uploadfileName .fileExtension {
|
|
52
|
+
white-space: nowrap; /* 确保扩展名不换行 */
|
|
53
|
+
color: #717F94; /* 可以给扩展名一个不同的颜色区分 */
|
|
54
|
+
}
|
|
55
|
+
.uploadName .sizeText .size {
|
|
56
|
+
margin-right: 4px;
|
|
57
|
+
font-size: 12px; /* 修复之前的语法错误,添加单位px */
|
|
58
|
+
color: #717F94;
|
|
59
|
+
}
|
|
60
|
+
.uploadName .sizeText .errorText {
|
|
61
|
+
color: #f33;
|
|
62
|
+
font-family: "PingFang SC";
|
|
63
|
+
font-size: 12px;
|
|
64
|
+
font-style: normal;
|
|
65
|
+
font-weight: 400;
|
|
66
|
+
line-height: normal;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.uploadStatus,
|
|
70
|
+
.uploadLoading {
|
|
71
|
+
display: flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
margin-left: 8px;
|
|
74
|
+
font-size: 14px;
|
|
75
|
+
flex-shrink: 0;
|
|
76
|
+
color: #717F94;
|
|
77
|
+
}
|
|
78
|
+
.uploadStatus img,
|
|
79
|
+
.uploadLoading img {
|
|
80
|
+
width: 18px;
|
|
81
|
+
height: 18px;
|
|
82
|
+
object-fit: cover;
|
|
83
|
+
margin-left: 5px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.delIcon {
|
|
87
|
+
position: absolute;
|
|
88
|
+
right: -7px;
|
|
89
|
+
top: -5px;
|
|
90
|
+
width: 14px;
|
|
91
|
+
height: 14px;
|
|
92
|
+
background-color: rgba(0, 0, 0, 0.6);
|
|
93
|
+
color: white;
|
|
94
|
+
border-radius: 50%;
|
|
95
|
+
display: flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
justify-content: center;
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
background-color: white;
|
|
100
|
+
}
|
|
101
|
+
.delIcon img {
|
|
102
|
+
width: 100%;
|
|
103
|
+
height: 100%;
|
|
104
|
+
object-fit: cover;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.uploadError {
|
|
108
|
+
cursor: pointer;
|
|
109
|
+
color: #4086ff;
|
|
110
|
+
text-align: right;
|
|
111
|
+
font-family: "PingFang SC";
|
|
112
|
+
font-size: 14px;
|
|
113
|
+
font-style: normal;
|
|
114
|
+
font-weight: 400;
|
|
115
|
+
line-height: normal;
|
|
116
|
+
margin-left: 20px;
|
|
117
|
+
display: flex;
|
|
118
|
+
align-items: center;
|
|
119
|
+
}
|
|
@@ -12,7 +12,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
13
|
import React from 'react';
|
|
14
14
|
import classNames from 'classnames';
|
|
15
|
-
import styles from "./index.module.
|
|
15
|
+
import styles from "./index.module.css";
|
|
16
16
|
import NoMicrophoneModalContent from "../no-microphone-root";
|
|
17
17
|
import { useAppDispatch, useAppSelector } from "../../store/hooks";
|
|
18
18
|
import { setShowMicWarning } from "../../store/slices/gimiMenuSlice";
|
|
@@ -1,6 +1,6 @@
|
|
|
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
5
|
var CHECK_ICON_ADDRESS = 'https://simg01.gaodunwangxiao.com/uploadimgs/tmp/upload/202601/04/8b0e2_20260104154821.png';
|
|
6
6
|
var CANCEL_ICON_ADDRESS = 'https://simg01.gaodunwangxiao.com/uploadimgs/tmp/upload/202601/04/94bfe_20260104154857.png';
|
|
@@ -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,5 +1,5 @@
|
|
|
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
4
|
import { LoadingOutlined, InfoCircleOutlined } from '@ant-design/icons';
|
|
5
5
|
var antIcon = /*#__PURE__*/React.createElement(LoadingOutlined, {
|
|
@@ -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.5",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"react": "^18.3.1",
|
|
32
32
|
"react-dom": "^18.3.1",
|
|
33
33
|
"react-redux": "^9.2.0",
|
|
34
|
-
"redux": "^5.0.1"
|
|
35
|
-
"sass": "^1.69.5"
|
|
34
|
+
"redux": "^5.0.1"
|
|
36
35
|
},
|
|
37
36
|
"devDependencies": {
|
|
38
|
-
"father": "4.1.1"
|
|
37
|
+
"father": "4.1.1",
|
|
38
|
+
"sass": "^1.69.5"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"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
|
-
}
|