askbot-dragon 1.5.35-beta → 1.5.35
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 +1 -1
- package/src/components/ActionAlertIframe.vue +42 -1
- package/src/components/AiGuide.vue +2 -1
- package/src/components/AnswerDocknowledge.vue +1 -7
- package/src/components/ConversationContainer.vue +659 -977
- package/src/components/answerRadio.vue +29 -28
- package/src/components/askVideo.vue +2 -1
- package/src/components/associationIntention.vue +7 -7
- package/src/components/chatContent.vue +1 -1
- package/src/components/formTemplate.vue +98 -95
- package/src/components/message/TicketMessage.vue +1 -1
- package/src/components/pdfPosition.vue +5 -21
- package/src/components/previewPdf.vue +1 -2
- package/src/components/recommend.vue +9 -18
- package/src/components/utils/ckeditorfileUpload/common.js +1 -0
package/package.json
CHANGED
|
@@ -1,17 +1,39 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="action_alert_iframe">
|
|
3
|
+
<div class="iframe-full-screen">
|
|
4
|
+
<span @click="showAskFullScreen = true" class="el-icon-full-screen"></span>
|
|
5
|
+
</div>
|
|
3
6
|
<iframe
|
|
4
7
|
class="grzh-iframe"
|
|
5
8
|
:id="tampId"
|
|
6
9
|
:data-name="tampId"
|
|
7
10
|
:src="actionAlertIframe.template"
|
|
8
11
|
:width="(actionAlertIframe.version == 1 && !phoneWidth100)?actionAlertIframe.width:'100%'"
|
|
9
|
-
:height="actionAlertIframe.height"
|
|
12
|
+
:height="showAskFullScreen?'90%':actionAlertIframe.height"
|
|
10
13
|
:scrolling="actionAlertIframe.scrolling"
|
|
11
14
|
frameborder="no"
|
|
12
15
|
border="0"
|
|
13
16
|
></iframe>
|
|
17
|
+
|
|
18
|
+
<div v-if="showAskFullScreen" class="ask-full-screen">
|
|
19
|
+
<div class="iframe-full-screen">
|
|
20
|
+
<br>
|
|
21
|
+
<span @click="showAskFullScreen = false" style="cursor: pointer;">
|
|
22
|
+
<svg t="1702295921525" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="39588" width="20" height="20"><path d="M257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333z" fill="#666666" p-id="39589"></path><path d="M896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333zM257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM680.96 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333a106.666667 106.666667 0 0 1 106.666666-106.666667H896c11.946667 0 21.333333 9.386667 21.333333 21.333333s-9.386667 21.333333-21.333333 21.333334h-129.706667c-35.413333 0-64 28.586667-64 64V896c0 11.946667-9.386667 21.333333-21.333333 21.333333zM343.04 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333c0-35.413333-28.586667-64-64-64H128c-11.946667 0-21.333333-9.386667-21.333333-21.333334s9.386667-21.333333 21.333333-21.333333h129.706667a106.666667 106.666667 0 0 1 106.666666 106.666667V896c0 11.946667-9.813333 21.333333-21.333333 21.333333z" fill="#666666" p-id="39590"></path><path d="M343.04 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333c0-35.413333-28.586667-64-64-64H128c-11.946667 0-21.333333-9.386667-21.333333-21.333334s9.386667-21.333333 21.333333-21.333333h129.706667a106.666667 106.666667 0 0 1 106.666666 106.666667V896c0 11.946667-9.813333 21.333333-21.333333 21.333333zM680.96 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333a106.666667 106.666667 0 0 1 106.666666-106.666667H896c11.946667 0 21.333333 9.386667 21.333333 21.333333s-9.386667 21.333333-21.333333 21.333334h-129.706667c-35.413333 0-64 28.586667-64 64V896c0 11.946667-9.386667 21.333333-21.333333 21.333333z" fill="#666666" p-id="39591"></path></svg>
|
|
23
|
+
</span>
|
|
24
|
+
</div>
|
|
25
|
+
<iframe
|
|
26
|
+
class="grzh-iframe"
|
|
27
|
+
:src="actionAlertIframe.template"
|
|
28
|
+
width="100%"
|
|
29
|
+
height="95%"
|
|
30
|
+
:scrolling="actionAlertIframe.scrolling"
|
|
31
|
+
frameborder="no"
|
|
32
|
+
border="0"
|
|
33
|
+
></iframe>
|
|
34
|
+
</div>
|
|
14
35
|
</div>
|
|
36
|
+
<!-- https://blog.csdn.net/qq_16992475/article/details/130633117 -->
|
|
15
37
|
</template>
|
|
16
38
|
<script>
|
|
17
39
|
export default {
|
|
@@ -38,6 +60,7 @@ export default {
|
|
|
38
60
|
displayStyle:
|
|
39
61
|
"iframe 样式(点击弹出/嵌入iframe 字符串类型后端未做限制)",
|
|
40
62
|
},
|
|
63
|
+
showAskFullScreen: false,
|
|
41
64
|
};
|
|
42
65
|
},
|
|
43
66
|
methods: {},
|
|
@@ -73,6 +96,24 @@ export default {
|
|
|
73
96
|
width: 100%;
|
|
74
97
|
margin: 0 auto;
|
|
75
98
|
overflow-x: auto;
|
|
99
|
+
|
|
100
|
+
.iframe-full-screen{
|
|
101
|
+
text-align: right;
|
|
102
|
+
padding-right: 12px;
|
|
103
|
+
.el-icon-full-screen{
|
|
104
|
+
cursor: pointer;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.ask-full-screen{
|
|
109
|
+
background-color: white;
|
|
110
|
+
position: fixed;
|
|
111
|
+
top: 0;
|
|
112
|
+
left: 0;
|
|
113
|
+
width: 100vw;
|
|
114
|
+
height: 100vh;
|
|
115
|
+
z-index: 9999999999999999999;
|
|
116
|
+
}
|
|
76
117
|
.grzh-iframe {
|
|
77
118
|
scrollbar-face-color: #9aa1c4;
|
|
78
119
|
/* 滚动条滑块按钮的颜色 */
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
v-show="aiGuide.content.descriptionVisible && aiGuide.content.description !== ''"
|
|
14
14
|
class="ig-types-des"
|
|
15
15
|
>
|
|
16
|
-
|
|
16
|
+
<span v-html="aiGuide.content.description"></span>
|
|
17
17
|
</div>
|
|
18
18
|
<!-- 一级分类 -->
|
|
19
19
|
<div v-show="aiGuide.content.typesVisible" class="ig-types-f">
|
|
@@ -441,6 +441,7 @@ export default {
|
|
|
441
441
|
color: #366aff;
|
|
442
442
|
cursor: pointer;
|
|
443
443
|
align-items: center;
|
|
444
|
+
text-align: left;
|
|
444
445
|
span {
|
|
445
446
|
display: flex;
|
|
446
447
|
align-items: center;
|
|
@@ -244,13 +244,7 @@ export default {
|
|
|
244
244
|
}
|
|
245
245
|
this.$refs.previewPdf.fileType = type
|
|
246
246
|
this.$refs.previewPdf.tagIds = item.tagIds
|
|
247
|
-
this.$refs.previewPdf.isMessageRecord = this.isMessageRecord ? true : false
|
|
248
|
-
let fileName = url.substring(url.lastIndexOf('.'))
|
|
249
|
-
if (fileName === '.doc' || fileName === '.docx'){
|
|
250
|
-
this.$refs.previewPdf.fileName = fileName;
|
|
251
|
-
} else {
|
|
252
|
-
this.$refs.previewPdf.fileName = '';
|
|
253
|
-
}
|
|
247
|
+
this.$refs.previewPdf.isMessageRecord = this.isMessageRecord ? true : false
|
|
254
248
|
if(item.tagIds && item.tagIds.length != 0) {
|
|
255
249
|
this.$refs.previewPdf.loading = false
|
|
256
250
|
return
|