askbot-dragon 1.4.77 → 1.4.78
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
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
:formList="formList4"
|
|
30
30
|
@submitClick="submitClick"
|
|
31
31
|
></form-template> -->
|
|
32
|
+
<div style="max-width: 450px;overflow-x: auto;">
|
|
33
|
+
<action-alert :actionAlertIframe="actionAlertIframeObj"></action-alert>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
32
36
|
<text-message :text="text" @submitClick="submitClick"></text-message>
|
|
33
37
|
<answer-docknowledge :isAskLightning="2" :msg="answerDocknowledge"></answer-docknowledge>
|
|
34
38
|
<!-- <voice-component @closeVoice="closeVoice">
|
|
@@ -92,7 +96,7 @@ import TicketMessage from "@/components/message/TicketMessage";
|
|
|
92
96
|
import TextMessage from "@/components/message/TextMessage";
|
|
93
97
|
import FeedBack from "@/components/feedBack";*/
|
|
94
98
|
// iframe 弹窗组件测试
|
|
95
|
-
|
|
99
|
+
import ActionAlert from "@/components/message/ActionAlertIframe";
|
|
96
100
|
// 智能引导组件
|
|
97
101
|
// import AiGuide from "@/components/AiGuide";
|
|
98
102
|
import AnswerVoice from "@/components/AnswerVoice";
|
|
@@ -104,6 +108,7 @@ import AnswerDocknowledge from "./AnswerDocknowledge.vue";
|
|
|
104
108
|
export default {
|
|
105
109
|
name: 'ConversationContainer',
|
|
106
110
|
components: {
|
|
111
|
+
ActionAlert,
|
|
107
112
|
// ActionSendToBot,
|
|
108
113
|
// AnswerDissatisfaction,
|
|
109
114
|
// BotActionSatisfactor,
|
|
@@ -327,11 +332,12 @@ export default {
|
|
|
327
332
|
},
|
|
328
333
|
// 弹窗组件模拟数据
|
|
329
334
|
actionAlertIframeObj: {
|
|
335
|
+
version: 1,
|
|
330
336
|
iframeId: 'iframeId999999998',
|
|
331
|
-
template: 'https://
|
|
337
|
+
template: 'https://wisdom.askbot.cn/#/knowledgeManagement',
|
|
332
338
|
description: '描述',
|
|
333
339
|
height: 550,
|
|
334
|
-
width:
|
|
340
|
+
width: 600,
|
|
335
341
|
scrolling: 'yes',
|
|
336
342
|
sandbox: [
|
|
337
343
|
'预留',
|
|
@@ -4274,6 +4280,15 @@ export default {
|
|
|
4274
4280
|
#conversation {
|
|
4275
4281
|
background-color: #f5f7fb;
|
|
4276
4282
|
}
|
|
4283
|
+
::-webkit-scrollbar {
|
|
4284
|
+
width: 6px; /* 纵向滚动条 宽度 */
|
|
4285
|
+
height: 6px; /* 横向滚动条 高度 */
|
|
4286
|
+
background: rgba(0, 0, 0, 0.05); /* 整体背景 */
|
|
4287
|
+
border-radius: 10px; /* 整体 圆角 */
|
|
4288
|
+
}
|
|
4289
|
+
::-webkit-scrollbar-thumb {
|
|
4290
|
+
background-color: #bfceec;
|
|
4291
|
+
}
|
|
4277
4292
|
.img_div {
|
|
4278
4293
|
position: relative;
|
|
4279
4294
|
.mask {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div id="action_alert_iframe">
|
|
2
|
+
<div id="action_alert_iframe" :style="{width: actionAlertIframe.version == 1?actionAlertIframe.width + 'px':'100%'}">
|
|
3
3
|
<iframe
|
|
4
4
|
class="grzh-iframe"
|
|
5
5
|
:id="tampId"
|
|
@@ -70,7 +70,7 @@ export default {
|
|
|
70
70
|
// <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
71
71
|
|
|
72
72
|
#action_alert_iframe {
|
|
73
|
-
width: 100%;
|
|
73
|
+
// width: 100%;
|
|
74
74
|
margin: 0 auto;
|
|
75
75
|
overflow-x: auto;
|
|
76
76
|
.grzh-iframe {
|