askbot-dragon 1.0.12 → 1.0.13
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/README.md +27 -27
- package/babel.config.js +6 -6
- package/dragon.iml +7 -7
- package/package.json +56 -56
- package/public/index.html +43 -43
- package/src/App.vue +31 -31
- package/src/api/index.js +1 -1
- package/src/api/mock.http +2 -2
- package/src/api/requestUrl.js +185 -185
- package/src/assets/js/AliyunlssUtil.js +92 -92
- package/src/assets/js/Base64Util.js +22 -22
- package/src/assets/js/script.js +36 -36
- package/src/assets/less/common.css +6773 -6773
- package/src/assets/less/converSationContainer/common.less +191 -191
- package/src/assets/less/converSationContainer/converSatonContainer.less +493 -493
- package/src/assets/less/iconfont.css +37 -37
- package/src/assets/less/ticketMessage.less +211 -211
- package/src/components/ActionAlertIframe.vue +112 -112
- package/src/components/AiGuide.vue +467 -467
- package/src/components/AskIFrame.vue +15 -15
- package/src/components/ConversationContainer.vue +4617 -4617
- package/src/components/FileType.vue +86 -86
- package/src/components/Message.vue +27 -27
- package/src/components/actionSatisfaction.vue +107 -107
- package/src/components/actionSendToBot.vue +62 -62
- package/src/components/answerDissatisfaction.vue +62 -62
- package/src/components/answerRadio.vue +76 -76
- package/src/components/ask-components/DissatisfactionOptions.vue +57 -57
- package/src/components/ask-components/Msgloading.vue +37 -37
- package/src/components/ask-components/SatisfactionV2.vue +15 -15
- package/src/components/askVideo.vue +138 -138
- package/src/components/assetDetails.vue +370 -370
- package/src/components/assetMessage.vue +228 -228
- package/src/components/associationIntention.vue +243 -241
- package/src/components/botActionSatisfactor.vue +68 -68
- package/src/components/chatContent.vue +513 -513
- package/src/components/feedBack.vue +136 -136
- package/src/components/fielListView.vue +346 -346
- package/src/components/file/AliyunOssComponents.vue +108 -108
- package/src/components/formTemplate.vue +3344 -3342
- package/src/components/loadingProcess.vue +164 -164
- package/src/components/message/ActionAlertIframe.vue +112 -112
- package/src/components/message/ShopMessage.vue +164 -164
- package/src/components/message/TextMessage.vue +924 -924
- package/src/components/message/TicketMessage.vue +177 -177
- package/src/components/message/swiper/index.js +4 -4
- package/src/components/message/swiper/ticketSwiper.vue +503 -503
- package/src/components/message/swiper/ticketSwiperItem.vue +61 -61
- package/src/components/msgLoading.vue +231 -231
- package/src/components/myPopup.vue +70 -70
- package/src/components/popup.vue +227 -227
- package/src/components/receiverMessagePlatform.vue +65 -65
- package/src/components/recommend.vue +89 -89
- package/src/components/selector/hOption.vue +20 -20
- package/src/components/selector/hSelector.vue +199 -199
- package/src/components/selector/hWrapper.vue +216 -216
- package/src/components/senderMessagePlatform.vue +50 -50
- package/src/components/source/BotMessage.vue +24 -24
- package/src/components/source/CustomMessage.vue +24 -24
- package/src/components/test.vue +260 -260
- package/src/components/tree.vue +247 -247
- package/src/components/utils/AliyunIssUtil.js +72 -72
- package/src/components/utils/ckeditor.js +155 -153
- package/src/components/utils/ckeditorImageUpload/command.js +109 -109
- package/src/components/utils/ckeditorImageUpload/editing.js +11 -11
- package/src/components/utils/ckeditorImageUpload/plugin-image.js +11 -11
- package/src/components/utils/ckeditorImageUpload/toolbar-ui.js +40 -40
- package/src/components/utils/ckeditorfileUpload/common.js +111 -111
- package/src/components/utils/ckeditorfileUpload/editing.js +11 -11
- package/src/components/utils/ckeditorfileUpload/plugin_file.js +11 -11
- package/src/components/utils/ckeditorfileUpload/toolbar_ui.js +34 -34
- package/src/components/utils/format_date.js +25 -25
- package/src/components/utils/index.js +6 -6
- package/src/components/utils/math_utils.js +29 -29
- package/src/components/voiceComponent.vue +119 -119
- package/src/main.js +60 -60
- package/vue.config.js +47 -47
|
@@ -1,192 +1,192 @@
|
|
|
1
|
-
@system_bgc_red: #409EFF;
|
|
2
|
-
@system_bgc_black: #333333;
|
|
3
|
-
@system_bgc_white: white;
|
|
4
|
-
|
|
5
|
-
@system_fontcolor_red: #409EFF;
|
|
6
|
-
@system_fontcolor_main: #303133;
|
|
7
|
-
@system_fontcolor_general: #606266;
|
|
8
|
-
@system_fontcolor_sub: #909399;
|
|
9
|
-
@system_fontcolor_placeholder: #C0C4CC;
|
|
10
|
-
@system_fontcolor_danger: #F56C6C;
|
|
11
|
-
|
|
12
|
-
@system_bordercolor_red: #409EFF;
|
|
13
|
-
@system_bordercolor_1: #DCDFE6;
|
|
14
|
-
@system_bordercolor_2: #E4E7ED;
|
|
15
|
-
@system_bordercolor_3: #EBEEF5;
|
|
16
|
-
@system_bordercolor_4: #F2F6FC;
|
|
17
|
-
@system_bordercolor_danger:#F56C6C;
|
|
18
|
-
|
|
19
|
-
@entity-name-color: #409EFF;
|
|
20
|
-
@system_com_width : calc(100vw - 126px);
|
|
21
|
-
|
|
22
|
-
// 分页位置
|
|
23
|
-
.pagination-position {
|
|
24
|
-
text-align: center;
|
|
25
|
-
padding: 32px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// 滚动条样式
|
|
29
|
-
::-webkit-scrollbar {
|
|
30
|
-
width: 6px;
|
|
31
|
-
background-color:@system_bordercolor_4;
|
|
32
|
-
}
|
|
33
|
-
::-webkit-scrollbar-thumb {
|
|
34
|
-
border-radius: 6px;
|
|
35
|
-
background-color: @system_fontcolor_placeholder;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// 弹窗body
|
|
39
|
-
.el-dialog__body{
|
|
40
|
-
padding: 16px !important;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// input placeholder 字体样式规范
|
|
44
|
-
input::-webkit-input-placeholder {
|
|
45
|
-
color: #ccc !important;
|
|
46
|
-
font-family: "微软雅黑";
|
|
47
|
-
}
|
|
48
|
-
input::-moz-input-placeholder {
|
|
49
|
-
color: #ccc !important;
|
|
50
|
-
font-family: "微软雅黑";
|
|
51
|
-
}
|
|
52
|
-
input::-ms-input-placeholder {
|
|
53
|
-
color: #ccc !important;
|
|
54
|
-
font-family: "微软雅黑";
|
|
55
|
-
}
|
|
56
|
-
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
|
|
57
|
-
background-color: rgb(250, 255, 189);
|
|
58
|
-
background-image: none;
|
|
59
|
-
color: rgb(0, 0, 0);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
textarea::-webkit-input-placeholder {
|
|
63
|
-
color: #ccc !important;
|
|
64
|
-
font-size: 14px;
|
|
65
|
-
font-family: "微软雅黑";
|
|
66
|
-
}
|
|
67
|
-
textarea::-moz-input-placeholder {
|
|
68
|
-
color: #ccc !important;
|
|
69
|
-
font-size: 14px;
|
|
70
|
-
font-family: "微软雅黑";
|
|
71
|
-
}
|
|
72
|
-
textarea::-ms-input-placeholder {
|
|
73
|
-
color: #ccc !important;
|
|
74
|
-
font-size: 14px;
|
|
75
|
-
font-family: "微软雅黑";
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
textarea {
|
|
79
|
-
/* color: @system_fontcolor_general !important;
|
|
80
|
-
font-size: 14px;*/
|
|
81
|
-
font-family: "微软雅黑";
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
h1,h2,h3,h4,h5,h6 {
|
|
85
|
-
color: @system_fontcolor_general;
|
|
86
|
-
text-align: left;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// 内容头部
|
|
90
|
-
.content-header{
|
|
91
|
-
padding: 8px 16px;
|
|
92
|
-
background:#f5f8fb;
|
|
93
|
-
box-shadow: 0px 2px 10px -5px #d1dfec;
|
|
94
|
-
border-bottom: 1px solid #d1dfec;
|
|
95
|
-
.leftInfo {
|
|
96
|
-
flex: auto;
|
|
97
|
-
height: 38px;
|
|
98
|
-
line-height: 38px;
|
|
99
|
-
display: flex;
|
|
100
|
-
justify-content: flex-start;
|
|
101
|
-
.headerName {
|
|
102
|
-
font-size: 16px;
|
|
103
|
-
color: @system_fontcolor_main;
|
|
104
|
-
margin-left: 16px;
|
|
105
|
-
}
|
|
106
|
-
.gotoPage {
|
|
107
|
-
flex: none;
|
|
108
|
-
width: 120px;
|
|
109
|
-
font-size: 12px;
|
|
110
|
-
color: @system_fontcolor_sub;
|
|
111
|
-
text-align: left;
|
|
112
|
-
}
|
|
113
|
-
.header-r-box{
|
|
114
|
-
width: 280px;
|
|
115
|
-
flex: auto;
|
|
116
|
-
text-align: right;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
// 左侧二级导航
|
|
122
|
-
#left-sub-nav{
|
|
123
|
-
.el-tabs__nav{
|
|
124
|
-
width: 150px;
|
|
125
|
-
border: none;
|
|
126
|
-
.el-tabs__item{
|
|
127
|
-
text-align: center !important;
|
|
128
|
-
height: 48px;
|
|
129
|
-
line-height: 48px;
|
|
130
|
-
border: none;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
.el-tabs__nav-scroll{
|
|
134
|
-
background-color: @system_bgc_white;
|
|
135
|
-
height: calc(~"100vh - 60px");
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
// 简洁类名
|
|
140
|
-
.tar{
|
|
141
|
-
text-align: right;
|
|
142
|
-
}
|
|
143
|
-
.tac{
|
|
144
|
-
text-align: center;
|
|
145
|
-
}
|
|
146
|
-
.tal{
|
|
147
|
-
text-align: left;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.handle-icon{
|
|
151
|
-
display: inline-block;
|
|
152
|
-
margin-right: 8px;
|
|
153
|
-
color: @system_fontcolor_red;
|
|
154
|
-
cursor: pointer;
|
|
155
|
-
}
|
|
156
|
-
//弹出抽屉Header样式
|
|
157
|
-
.el-drawer__header{
|
|
158
|
-
font-size: 18px !important;
|
|
159
|
-
color: #303133;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.el-form-item__label{
|
|
163
|
-
text-align: left !important;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/*.association-intention{
|
|
167
|
-
max-width: @system_com_width;
|
|
168
|
-
}
|
|
169
|
-
.action-satisfaction{
|
|
170
|
-
max-width: @system_com_width;
|
|
171
|
-
}
|
|
172
|
-
.media-body-loading{
|
|
173
|
-
max-width: @system_com_width;
|
|
174
|
-
}
|
|
175
|
-
.bot-action-satisfator{
|
|
176
|
-
max-width: @system_com_width;
|
|
177
|
-
}
|
|
178
|
-
.answer-dissatisfaction{
|
|
179
|
-
max-width: @system_com_width;
|
|
180
|
-
}
|
|
181
|
-
#answer-radio{
|
|
182
|
-
max-width: @system_com_width;
|
|
183
|
-
}
|
|
184
|
-
.action-send-to-bot{
|
|
185
|
-
max-width: @system_com_width;
|
|
186
|
-
}*/
|
|
187
|
-
// .el-drawer:focus {
|
|
188
|
-
// border: solid 5px rgba(0,0,0,1) !important;
|
|
189
|
-
// }
|
|
190
|
-
// .el-drawer__body:focus{
|
|
191
|
-
// border: solid 5px rgba(0,0,0,1) !important;
|
|
1
|
+
@system_bgc_red: #409EFF;
|
|
2
|
+
@system_bgc_black: #333333;
|
|
3
|
+
@system_bgc_white: white;
|
|
4
|
+
|
|
5
|
+
@system_fontcolor_red: #409EFF;
|
|
6
|
+
@system_fontcolor_main: #303133;
|
|
7
|
+
@system_fontcolor_general: #606266;
|
|
8
|
+
@system_fontcolor_sub: #909399;
|
|
9
|
+
@system_fontcolor_placeholder: #C0C4CC;
|
|
10
|
+
@system_fontcolor_danger: #F56C6C;
|
|
11
|
+
|
|
12
|
+
@system_bordercolor_red: #409EFF;
|
|
13
|
+
@system_bordercolor_1: #DCDFE6;
|
|
14
|
+
@system_bordercolor_2: #E4E7ED;
|
|
15
|
+
@system_bordercolor_3: #EBEEF5;
|
|
16
|
+
@system_bordercolor_4: #F2F6FC;
|
|
17
|
+
@system_bordercolor_danger:#F56C6C;
|
|
18
|
+
|
|
19
|
+
@entity-name-color: #409EFF;
|
|
20
|
+
@system_com_width : calc(100vw - 126px);
|
|
21
|
+
|
|
22
|
+
// 分页位置
|
|
23
|
+
.pagination-position {
|
|
24
|
+
text-align: center;
|
|
25
|
+
padding: 32px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// 滚动条样式
|
|
29
|
+
::-webkit-scrollbar {
|
|
30
|
+
width: 6px;
|
|
31
|
+
background-color:@system_bordercolor_4;
|
|
32
|
+
}
|
|
33
|
+
::-webkit-scrollbar-thumb {
|
|
34
|
+
border-radius: 6px;
|
|
35
|
+
background-color: @system_fontcolor_placeholder;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// 弹窗body
|
|
39
|
+
.el-dialog__body{
|
|
40
|
+
padding: 16px !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// input placeholder 字体样式规范
|
|
44
|
+
input::-webkit-input-placeholder {
|
|
45
|
+
color: #ccc !important;
|
|
46
|
+
font-family: "微软雅黑";
|
|
47
|
+
}
|
|
48
|
+
input::-moz-input-placeholder {
|
|
49
|
+
color: #ccc !important;
|
|
50
|
+
font-family: "微软雅黑";
|
|
51
|
+
}
|
|
52
|
+
input::-ms-input-placeholder {
|
|
53
|
+
color: #ccc !important;
|
|
54
|
+
font-family: "微软雅黑";
|
|
55
|
+
}
|
|
56
|
+
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
|
|
57
|
+
background-color: rgb(250, 255, 189);
|
|
58
|
+
background-image: none;
|
|
59
|
+
color: rgb(0, 0, 0);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
textarea::-webkit-input-placeholder {
|
|
63
|
+
color: #ccc !important;
|
|
64
|
+
font-size: 14px;
|
|
65
|
+
font-family: "微软雅黑";
|
|
66
|
+
}
|
|
67
|
+
textarea::-moz-input-placeholder {
|
|
68
|
+
color: #ccc !important;
|
|
69
|
+
font-size: 14px;
|
|
70
|
+
font-family: "微软雅黑";
|
|
71
|
+
}
|
|
72
|
+
textarea::-ms-input-placeholder {
|
|
73
|
+
color: #ccc !important;
|
|
74
|
+
font-size: 14px;
|
|
75
|
+
font-family: "微软雅黑";
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
textarea {
|
|
79
|
+
/* color: @system_fontcolor_general !important;
|
|
80
|
+
font-size: 14px;*/
|
|
81
|
+
font-family: "微软雅黑";
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
h1,h2,h3,h4,h5,h6 {
|
|
85
|
+
color: @system_fontcolor_general;
|
|
86
|
+
text-align: left;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// 内容头部
|
|
90
|
+
.content-header{
|
|
91
|
+
padding: 8px 16px;
|
|
92
|
+
background:#f5f8fb;
|
|
93
|
+
box-shadow: 0px 2px 10px -5px #d1dfec;
|
|
94
|
+
border-bottom: 1px solid #d1dfec;
|
|
95
|
+
.leftInfo {
|
|
96
|
+
flex: auto;
|
|
97
|
+
height: 38px;
|
|
98
|
+
line-height: 38px;
|
|
99
|
+
display: flex;
|
|
100
|
+
justify-content: flex-start;
|
|
101
|
+
.headerName {
|
|
102
|
+
font-size: 16px;
|
|
103
|
+
color: @system_fontcolor_main;
|
|
104
|
+
margin-left: 16px;
|
|
105
|
+
}
|
|
106
|
+
.gotoPage {
|
|
107
|
+
flex: none;
|
|
108
|
+
width: 120px;
|
|
109
|
+
font-size: 12px;
|
|
110
|
+
color: @system_fontcolor_sub;
|
|
111
|
+
text-align: left;
|
|
112
|
+
}
|
|
113
|
+
.header-r-box{
|
|
114
|
+
width: 280px;
|
|
115
|
+
flex: auto;
|
|
116
|
+
text-align: right;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// 左侧二级导航
|
|
122
|
+
#left-sub-nav{
|
|
123
|
+
.el-tabs__nav{
|
|
124
|
+
width: 150px;
|
|
125
|
+
border: none;
|
|
126
|
+
.el-tabs__item{
|
|
127
|
+
text-align: center !important;
|
|
128
|
+
height: 48px;
|
|
129
|
+
line-height: 48px;
|
|
130
|
+
border: none;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
.el-tabs__nav-scroll{
|
|
134
|
+
background-color: @system_bgc_white;
|
|
135
|
+
height: calc(~"100vh - 60px");
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// 简洁类名
|
|
140
|
+
.tar{
|
|
141
|
+
text-align: right;
|
|
142
|
+
}
|
|
143
|
+
.tac{
|
|
144
|
+
text-align: center;
|
|
145
|
+
}
|
|
146
|
+
.tal{
|
|
147
|
+
text-align: left;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.handle-icon{
|
|
151
|
+
display: inline-block;
|
|
152
|
+
margin-right: 8px;
|
|
153
|
+
color: @system_fontcolor_red;
|
|
154
|
+
cursor: pointer;
|
|
155
|
+
}
|
|
156
|
+
//弹出抽屉Header样式
|
|
157
|
+
.el-drawer__header{
|
|
158
|
+
font-size: 18px !important;
|
|
159
|
+
color: #303133;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.el-form-item__label{
|
|
163
|
+
text-align: left !important;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/*.association-intention{
|
|
167
|
+
max-width: @system_com_width;
|
|
168
|
+
}
|
|
169
|
+
.action-satisfaction{
|
|
170
|
+
max-width: @system_com_width;
|
|
171
|
+
}
|
|
172
|
+
.media-body-loading{
|
|
173
|
+
max-width: @system_com_width;
|
|
174
|
+
}
|
|
175
|
+
.bot-action-satisfator{
|
|
176
|
+
max-width: @system_com_width;
|
|
177
|
+
}
|
|
178
|
+
.answer-dissatisfaction{
|
|
179
|
+
max-width: @system_com_width;
|
|
180
|
+
}
|
|
181
|
+
#answer-radio{
|
|
182
|
+
max-width: @system_com_width;
|
|
183
|
+
}
|
|
184
|
+
.action-send-to-bot{
|
|
185
|
+
max-width: @system_com_width;
|
|
186
|
+
}*/
|
|
187
|
+
// .el-drawer:focus {
|
|
188
|
+
// border: solid 5px rgba(0,0,0,1) !important;
|
|
189
|
+
// }
|
|
190
|
+
// .el-drawer__body:focus{
|
|
191
|
+
// border: solid 5px rgba(0,0,0,1) !important;
|
|
192
192
|
// }
|