@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
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
.root {
|
|
2
|
-
width: 240px;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
gap: 12px;
|
|
6
|
-
}
|
|
7
|
-
.title {
|
|
8
|
-
font-size: 15px;
|
|
9
|
-
font-weight: 600;
|
|
10
|
-
color: #1f2d3d;
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: center;
|
|
13
|
-
justify-content: space-between;
|
|
14
|
-
}
|
|
15
|
-
.desc {
|
|
16
|
-
width: 240px;
|
|
17
|
-
font-size: 12px;
|
|
18
|
-
color: rgba(31, 45, 61, 0.55);
|
|
19
|
-
}
|
|
20
|
-
.imgArea {
|
|
21
|
-
height: 100px;
|
|
22
|
-
border-radius: 12px;
|
|
23
|
-
background: linear-gradient(90deg, #e9f0ff 0%, #d7f1ff 100%);
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
}
|
|
28
|
-
.micIcon {
|
|
29
|
-
width: 56px;
|
|
30
|
-
height: 56px;
|
|
31
|
-
display: block;
|
|
32
|
-
}
|
|
33
|
-
.footer {
|
|
34
|
-
display: flex;
|
|
35
|
-
width: 100%;
|
|
36
|
-
justify-content: flex-end;
|
|
37
|
-
}
|
|
38
|
-
.okBtn {
|
|
39
|
-
height: 32px;
|
|
40
|
-
padding: 0 18px;
|
|
41
|
-
border-radius: 16px;
|
|
42
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: start;
|
|
5
|
-
padding: 14px 0px 20px 16px;
|
|
6
|
-
width: 100%;
|
|
7
|
-
|
|
8
|
-
.prologue {
|
|
9
|
-
font-family: PingFang SC;
|
|
10
|
-
font-weight: 400;
|
|
11
|
-
font-size: 16px;
|
|
12
|
-
line-height: 28px;
|
|
13
|
-
letter-spacing: 0px;
|
|
14
|
-
color: rgba(46, 57, 76, 1);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.quickInputList {
|
|
18
|
-
width: 314px;
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-direction: column;
|
|
21
|
-
gap: 10px;
|
|
22
|
-
flex-wrap: wrap;
|
|
23
|
-
margin-top: 10px;
|
|
24
|
-
|
|
25
|
-
.quickInputItem {
|
|
26
|
-
width: fit-content;
|
|
27
|
-
max-width: 314px;
|
|
28
|
-
padding: 5px 10px;
|
|
29
|
-
font-family: PingFangSC;
|
|
30
|
-
font-weight: 400;
|
|
31
|
-
font-size: 14px;
|
|
32
|
-
color: rgba(46, 57, 76, 1);
|
|
33
|
-
line-height: 18px;
|
|
34
|
-
text-align: left;
|
|
35
|
-
font-style: normal;
|
|
36
|
-
border-radius: 8px;
|
|
37
|
-
border: 1px solid rgba(217, 220, 229, 1);
|
|
38
|
-
flex-shrink: 0;
|
|
39
|
-
white-space: nowrap;
|
|
40
|
-
/* 禁止换行 */
|
|
41
|
-
overflow: hidden;
|
|
42
|
-
/* 隐藏溢出内容 */
|
|
43
|
-
text-overflow: ellipsis;
|
|
44
|
-
/* 显示省略号 */
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
.quotedContent {
|
|
2
|
-
flex: 1;
|
|
3
|
-
padding-top: 5px;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
height: 100%;
|
|
7
|
-
}
|
|
8
|
-
.searchInput {
|
|
9
|
-
line-height: 29px;
|
|
10
|
-
font-size: 12px;
|
|
11
|
-
padding: 0 10px;
|
|
12
|
-
border-radius: 8px;
|
|
13
|
-
input::placeholder {
|
|
14
|
-
color: #7d91b3;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
.content {
|
|
18
|
-
padding-top: 10px;
|
|
19
|
-
}
|
|
20
|
-
.newtab {
|
|
21
|
-
padding-bottom: 10px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.tabItem {
|
|
25
|
-
font-size: 14px;
|
|
26
|
-
padding: 5px 10px;
|
|
27
|
-
margin: 0 8px;
|
|
28
|
-
border-radius: 8px;
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
&:hover {
|
|
31
|
-
background-color: #f7f7fc;
|
|
32
|
-
color: #4086ff;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
.active {
|
|
36
|
-
background-color: #f7f7fc;
|
|
37
|
-
color: #4086ff;
|
|
38
|
-
font-weight: 600;
|
|
39
|
-
}
|
|
40
|
-
.tabContent {
|
|
41
|
-
overflow: auto;
|
|
42
|
-
height: 200px;
|
|
43
|
-
|
|
44
|
-
.table {
|
|
45
|
-
:global(.ant-table-content) {
|
|
46
|
-
font-size: 12px;
|
|
47
|
-
}
|
|
48
|
-
:global(.ant-table-tbody > tr > td) {
|
|
49
|
-
border: none !important;
|
|
50
|
-
}
|
|
51
|
-
.listItem {
|
|
52
|
-
display: flex;
|
|
53
|
-
align-items: center;
|
|
54
|
-
cursor: pointer;
|
|
55
|
-
.img {
|
|
56
|
-
width: 16px;
|
|
57
|
-
margin-right: 5px;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
.tabContent::-webkit-scrollbar {
|
|
63
|
-
width: 6px;
|
|
64
|
-
}
|
|
65
|
-
.tabContent::-webkit-scrollbar-track {
|
|
66
|
-
background: #f1f1f1;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.tabContent::-webkit-scrollbar-thumb {
|
|
70
|
-
background: #c1c1c1;
|
|
71
|
-
border-radius: 3px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.tabContent::-webkit-scrollbar-thumb:hover {
|
|
75
|
-
background: #a8a8a8;
|
|
76
|
-
}
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
.container {
|
|
2
|
-
max-width: clamp(380px, 60vw, 800px);
|
|
3
|
-
padding: 0 20px;
|
|
4
|
-
border-left: 2px solid #d9dce5;
|
|
5
|
-
margin-bottom: 16px;
|
|
6
|
-
user-select: none;
|
|
7
|
-
.header {
|
|
8
|
-
width: 100%;
|
|
9
|
-
height: 22px;
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
// justify-content: space-between;
|
|
14
|
-
.title {
|
|
15
|
-
height: 16px;
|
|
16
|
-
font-family: PingFangSC, PingFang SC;
|
|
17
|
-
font-weight: 600;
|
|
18
|
-
font-size: 16px;
|
|
19
|
-
color: #2e394c;
|
|
20
|
-
line-height: 16px;
|
|
21
|
-
text-align: left;
|
|
22
|
-
font-style: normal;
|
|
23
|
-
display: flex;
|
|
24
|
-
margin-right: 4px;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
.thinkQuery {
|
|
28
|
-
width: 100%;
|
|
29
|
-
.queryTitle {
|
|
30
|
-
margin-top: 8px;
|
|
31
|
-
min-height: 26px;
|
|
32
|
-
font-family: PingFangSC, PingFang SC;
|
|
33
|
-
font-weight: 400;
|
|
34
|
-
font-size: 14px;
|
|
35
|
-
color: #7d91b3;
|
|
36
|
-
line-height: 26px;
|
|
37
|
-
text-align: left;
|
|
38
|
-
font-style: normal;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
.deepThink {
|
|
42
|
-
width: 100%;
|
|
43
|
-
.deepThink_content {
|
|
44
|
-
margin-top: 4px;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
.deeping {
|
|
48
|
-
margin-top: 8px;
|
|
49
|
-
overflow-y: scroll;
|
|
50
|
-
}
|
|
51
|
-
.deepThinkPack {
|
|
52
|
-
width: 100%;
|
|
53
|
-
position: relative;
|
|
54
|
-
.deepThink_content_pack {
|
|
55
|
-
margin-top: 13px;
|
|
56
|
-
display: flex;
|
|
57
|
-
}
|
|
58
|
-
.text_shanow_up {
|
|
59
|
-
z-index: 2;
|
|
60
|
-
pointer-events: none;
|
|
61
|
-
background: #ffffff;
|
|
62
|
-
filter: blur(10px);
|
|
63
|
-
width: 97%;
|
|
64
|
-
height: 25px;
|
|
65
|
-
position: absolute;
|
|
66
|
-
top: -6px;
|
|
67
|
-
}
|
|
68
|
-
.text_shanow_down {
|
|
69
|
-
z-index: 2;
|
|
70
|
-
pointer-events: none;
|
|
71
|
-
background: #ffffff;
|
|
72
|
-
filter: blur(10px);
|
|
73
|
-
width: 97%;
|
|
74
|
-
height: 25px;
|
|
75
|
-
position: absolute;
|
|
76
|
-
bottom: 1px;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
.deeping::-webkit-scrollbar-track {
|
|
81
|
-
background-color: transparent;
|
|
82
|
-
}
|
|
83
|
-
.deeping::-webkit-scrollbar {
|
|
84
|
-
width: 6px;
|
|
85
|
-
}
|
|
86
|
-
// 滚动条的滑块
|
|
87
|
-
.deeping::-webkit-scrollbar-thumb {
|
|
88
|
-
border-radius: 8px;
|
|
89
|
-
background: #d9d9d9;
|
|
90
|
-
opacity: 0;
|
|
91
|
-
display: none;
|
|
92
|
-
transition: opacity 0.3s ease;
|
|
93
|
-
}
|
|
94
|
-
.deeping::-webkit-scrollbar-thumb:hover {
|
|
95
|
-
border-radius: 8px;
|
|
96
|
-
background: rgba(0, 0, 0, 0.15);
|
|
97
|
-
}
|
|
98
|
-
.expand {
|
|
99
|
-
padding-bottom: 20px;
|
|
100
|
-
}
|
|
101
|
-
.label {
|
|
102
|
-
margin-top: 20px;
|
|
103
|
-
height: 26px;
|
|
104
|
-
font-family: PingFangSC, PingFang SC;
|
|
105
|
-
font-weight: 400;
|
|
106
|
-
font-size: 14px;
|
|
107
|
-
color: #2e394c;
|
|
108
|
-
line-height: 26px;
|
|
109
|
-
text-align: left;
|
|
110
|
-
font-style: normal;
|
|
111
|
-
}
|
|
112
|
-
.icon {
|
|
113
|
-
display: flex;
|
|
114
|
-
align-items: center;
|
|
115
|
-
justify-self: center;
|
|
116
|
-
margin-right: 4px;
|
|
117
|
-
}
|
|
118
|
-
.answerLoading {
|
|
119
|
-
width: 40px;
|
|
120
|
-
margin-left: -10px;
|
|
121
|
-
margin-bottom: 20px;
|
|
122
|
-
margin: 10px 0 10px -10px;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.loadingContainer {
|
|
126
|
-
display: flex;
|
|
127
|
-
justify-content: center;
|
|
128
|
-
align-items: center;
|
|
129
|
-
margin-left: 8px;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.loadingDots {
|
|
133
|
-
display: flex;
|
|
134
|
-
gap: 3px; /* 减小间距 */
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.dot {
|
|
138
|
-
width: 8px; /* 减小大小 */
|
|
139
|
-
height: 8px; /* 减小大小 */
|
|
140
|
-
background-color: #4086ff; /* 换成antd主题浅蓝色 */
|
|
141
|
-
border-radius: 50%;
|
|
142
|
-
will-change: transform; /* 告诉浏览器提前优化动画 */
|
|
143
|
-
animation: bounce 0.8s infinite ease-in-out both; /* 减小动画变化幅度 */
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.dot:nth-child(1) {
|
|
147
|
-
animation-delay: -0.24s; /* 调整延迟 */
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.dot:nth-child(2) {
|
|
151
|
-
animation-delay: -0.12s; /* 调整延迟 */
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
@keyframes bounce {
|
|
155
|
-
0%,
|
|
156
|
-
85%,
|
|
157
|
-
100% {
|
|
158
|
-
/* 减小动画变化幅度 */
|
|
159
|
-
transform: scale(0.6);
|
|
160
|
-
}
|
|
161
|
-
40% {
|
|
162
|
-
transform: scale(1);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
// Variables
|
|
2
|
-
$font-family: 'PingFang SC';
|
|
3
|
-
@mixin text-ellipsis($lines: 2) {
|
|
4
|
-
text-overflow: ellipsis;
|
|
5
|
-
display: -webkit-box;
|
|
6
|
-
-webkit-line-clamp: $lines;
|
|
7
|
-
-webkit-box-orient: vertical;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
width: 200px;
|
|
10
|
-
font-family: $font-family;
|
|
11
|
-
font-weight: 500;
|
|
12
|
-
font-size: 14px;
|
|
13
|
-
line-height: 150%;
|
|
14
|
-
letter-spacing: 0px;
|
|
15
|
-
color: #2e394c;
|
|
16
|
-
}
|
|
17
|
-
.list {
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
align-items: end;
|
|
21
|
-
gap: 10px;
|
|
22
|
-
margin-bottom: 10px;
|
|
23
|
-
}
|
|
24
|
-
.main {
|
|
25
|
-
background-color: #f7f8fa;
|
|
26
|
-
border-radius: 12px;
|
|
27
|
-
display: flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
gap: 10px;
|
|
30
|
-
padding: 10px;
|
|
31
|
-
position: relative;
|
|
32
|
-
min-height: 60px;
|
|
33
|
-
|
|
34
|
-
.img {
|
|
35
|
-
height: 28px;
|
|
36
|
-
width: 28px;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.description {
|
|
40
|
-
display: flex;
|
|
41
|
-
flex-direction: column;
|
|
42
|
-
gap: 5px;
|
|
43
|
-
|
|
44
|
-
.text_oneline {
|
|
45
|
-
@include text-ellipsis(1);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.text_twoline {
|
|
49
|
-
@include text-ellipsis(2);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.product_text {
|
|
53
|
-
@include text-ellipsis(2);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.duration {
|
|
57
|
-
color: #717f94;
|
|
58
|
-
font-family: $font-family;
|
|
59
|
-
font-weight: 400;
|
|
60
|
-
font-style: Regular;
|
|
61
|
-
font-size: 12px;
|
|
62
|
-
line-height: 150%;
|
|
63
|
-
letter-spacing: 0px;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.closeIcon {
|
|
68
|
-
position: absolute;
|
|
69
|
-
top: 0;
|
|
70
|
-
right: 0;
|
|
71
|
-
transform: translate(5px, -5px);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
.main {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
display: flex;
|
|
5
|
-
gap: 20px;
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
position: relative;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.chat_content {
|
|
11
|
-
flex: 1;
|
|
12
|
-
height: 100%;
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
min-width: 0;
|
|
16
|
-
position: relative;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.scroll_wrapper {
|
|
20
|
-
flex: 1;
|
|
21
|
-
position: relative;
|
|
22
|
-
width: 100%;
|
|
23
|
-
min-height: 0;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.scroll_container {
|
|
27
|
-
height: 100%;
|
|
28
|
-
overflow-y: auto;
|
|
29
|
-
overflow-x: hidden;
|
|
30
|
-
width: 100%;
|
|
31
|
-
position: relative;
|
|
32
|
-
|
|
33
|
-
&::-webkit-scrollbar {
|
|
34
|
-
width: 6px;
|
|
35
|
-
height: 6px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&::-webkit-scrollbar-thumb {
|
|
39
|
-
border-radius: 6px;
|
|
40
|
-
background: transparent;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&::-webkit-scrollbar-track {
|
|
44
|
-
background: transparent;
|
|
45
|
-
border-radius: 6px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&.scrolling {
|
|
49
|
-
&::-webkit-scrollbar-thumb {
|
|
50
|
-
background: rgba(144, 147, 153, 0.3);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&::-webkit-scrollbar-thumb:hover {
|
|
55
|
-
background: rgba(144, 147, 153, 0.5);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.backBottomBtn {
|
|
60
|
-
position: absolute;
|
|
61
|
-
bottom: 20px;
|
|
62
|
-
right: 20px;
|
|
63
|
-
width: 40px;
|
|
64
|
-
height: 40px;
|
|
65
|
-
background: #fff;
|
|
66
|
-
border-radius: 50%;
|
|
67
|
-
box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
|
|
68
|
-
display: flex;
|
|
69
|
-
align-items: center;
|
|
70
|
-
justify-content: center;
|
|
71
|
-
cursor: pointer;
|
|
72
|
-
z-index: 10;
|
|
73
|
-
transition: all 0.3s;
|
|
74
|
-
color: #1c1f23;
|
|
75
|
-
|
|
76
|
-
&:hover {
|
|
77
|
-
background: #f2f3f5;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.content_header {
|
|
82
|
-
width: 100%;
|
|
83
|
-
height: 50px;
|
|
84
|
-
display: flex;
|
|
85
|
-
align-items: center;
|
|
86
|
-
justify-content: center;
|
|
87
|
-
font-family: PingFangSC, PingFang SC;
|
|
88
|
-
font-weight: 500;
|
|
89
|
-
font-size: 16px;
|
|
90
|
-
color: #2e394c;
|
|
91
|
-
line-height: 22px;
|
|
92
|
-
text-align: center;
|
|
93
|
-
font-style: normal;
|
|
94
|
-
position: relative;
|
|
95
|
-
|
|
96
|
-
// margin-top: 20px;
|
|
97
|
-
.content_header_title {
|
|
98
|
-
width: 340px;
|
|
99
|
-
height: 100%;
|
|
100
|
-
line-height: 50px;
|
|
101
|
-
overflow: hidden;
|
|
102
|
-
/* 隐藏溢出内容 */
|
|
103
|
-
white-space: nowrap;
|
|
104
|
-
/* 强制文本不换行 */
|
|
105
|
-
text-overflow: ellipsis;
|
|
106
|
-
/* 超出部分显示省略号 */
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.text_shanow {
|
|
110
|
-
z-index: 5;
|
|
111
|
-
pointer-events: none;
|
|
112
|
-
background: linear-gradient(rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
|
|
113
|
-
width: 97%;
|
|
114
|
-
height: 32px;
|
|
115
|
-
position: absolute;
|
|
116
|
-
top: 100%;
|
|
117
|
-
left: 1px;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
.uploadBox {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
min-width: 228px; /* 最小宽度保证 */
|
|
5
|
-
max-width: 380px; /* 最大宽度限制 */
|
|
6
|
-
width: fit-content; /* 自动适应内容宽度 */
|
|
7
|
-
flex-shrink: 0;
|
|
8
|
-
border-radius: 12px;
|
|
9
|
-
background: var(---, #f2f3f7);
|
|
10
|
-
padding: 14px 16px 14px 12px;
|
|
11
|
-
margin-bottom: 12px;
|
|
12
|
-
position: relative;
|
|
13
|
-
}
|
|
14
|
-
.uploadIcon img {
|
|
15
|
-
width: 24px;
|
|
16
|
-
height: 22px;
|
|
17
|
-
margin-right: 8px;
|
|
18
|
-
img {
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: 100%;
|
|
21
|
-
object-fit: cover;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
.uploadName {
|
|
25
|
-
flex: 1; /* 让文件名占满剩余空间 */
|
|
26
|
-
color: #2e394c;
|
|
27
|
-
font-family: 'PingFang SC';
|
|
28
|
-
font-size: 14px;
|
|
29
|
-
font-style: normal;
|
|
30
|
-
font-weight: 400;
|
|
31
|
-
line-height: normal;
|
|
32
|
-
min-width: 0; /* 关键:允许flex子元素缩小到内容尺寸以下 */
|
|
33
|
-
|
|
34
|
-
.uploadfileName {
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
max-width: 100%; /* 限制整个文件名区域宽度 */
|
|
38
|
-
|
|
39
|
-
.fileName {
|
|
40
|
-
/* 动态计算可用宽度,减去扩展名和间距 */
|
|
41
|
-
flex: 1;
|
|
42
|
-
min-width: 0; /* 允许文件名进一步缩小 */
|
|
43
|
-
white-space: nowrap;
|
|
44
|
-
overflow: hidden;
|
|
45
|
-
text-overflow: ellipsis;
|
|
46
|
-
margin-right: 4px; /* 与扩展名保持一点距离 */
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.fileExtension {
|
|
50
|
-
white-space: nowrap; /* 确保扩展名不换行 */
|
|
51
|
-
color: #717F94; /* 可以给扩展名一个不同的颜色区分 */
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.sizeText {
|
|
56
|
-
.size{
|
|
57
|
-
margin-right: 4px;
|
|
58
|
-
font-size: 12px; /* 修复之前的语法错误,添加单位px */
|
|
59
|
-
color: #717F94;
|
|
60
|
-
}
|
|
61
|
-
.errorText {
|
|
62
|
-
color: #f33;
|
|
63
|
-
font-family: 'PingFang SC';
|
|
64
|
-
font-size: 12px;
|
|
65
|
-
font-style: normal;
|
|
66
|
-
font-weight: 400;
|
|
67
|
-
line-height: normal;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.uploadStatus,
|
|
73
|
-
.uploadLoading {
|
|
74
|
-
display: flex;
|
|
75
|
-
align-items: center;
|
|
76
|
-
margin-left: 8px;
|
|
77
|
-
font-size: 14px;
|
|
78
|
-
flex-shrink: 0;
|
|
79
|
-
color: #717F94;
|
|
80
|
-
img {
|
|
81
|
-
width: 18px;
|
|
82
|
-
height: 18px;
|
|
83
|
-
object-fit: cover;
|
|
84
|
-
margin-left: 5px;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
.delIcon {
|
|
88
|
-
position: absolute;
|
|
89
|
-
right: -7px;
|
|
90
|
-
top: -5px;
|
|
91
|
-
width: 14px;
|
|
92
|
-
height: 14px;
|
|
93
|
-
background-color: rgba($color: #000000, $alpha: 0.6);
|
|
94
|
-
color: white;
|
|
95
|
-
border-radius: 50%;
|
|
96
|
-
display: flex;
|
|
97
|
-
align-items: center;
|
|
98
|
-
justify-content: center;
|
|
99
|
-
cursor: pointer;
|
|
100
|
-
background-color: white;
|
|
101
|
-
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
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
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 rgba(223, 232, 247, 1);
|
|
10
|
-
.text {
|
|
11
|
-
font-family: PingFang SC;
|
|
12
|
-
font-weight: 600;
|
|
13
|
-
font-style: Semibold;
|
|
14
|
-
font-size: 16px;
|
|
15
|
-
line-height: 18px;
|
|
16
|
-
letter-spacing: 0px;
|
|
17
|
-
.font_weight_600 {
|
|
18
|
-
font-weight: 600;
|
|
19
|
-
margin-right: 5px;
|
|
20
|
-
}
|
|
21
|
-
.font_weight_400 {
|
|
22
|
-
font-weight: 400;
|
|
23
|
-
}
|
|
24
|
-
.count {
|
|
25
|
-
font-weight: 600;
|
|
26
|
-
color: #007aff;
|
|
27
|
-
padding: 0 5px;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
.voice_bar {
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
justify-content: space-between;
|
|
34
|
-
width: 100%;
|
|
35
|
-
.icon {
|
|
36
|
-
width: 48px;
|
|
37
|
-
height: 48px;
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
.collapse {
|
|
2
|
-
border-radius: 8px;
|
|
3
|
-
margin-bottom: 10px;
|
|
4
|
-
}
|
|
5
|
-
.layout {
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: start;
|
|
8
|
-
align-items: center;
|
|
9
|
-
width: fit-content;
|
|
10
|
-
gap: 10px;
|
|
11
|
-
padding: 5px 10px;
|
|
12
|
-
margin-bottom: 5px;
|
|
13
|
-
border: 1px solid #d9dce5;
|
|
14
|
-
border-radius: 8px;
|
|
15
|
-
font-family: 'PingFang SC';
|
|
16
|
-
font-weight: 400;
|
|
17
|
-
font-size: 14px;
|
|
18
|
-
line-height: 18px;
|
|
19
|
-
letter-spacing: 0px;
|
|
20
|
-
.spin {
|
|
21
|
-
color: #d9d9d9;
|
|
22
|
-
}
|
|
23
|
-
}
|