askbot-dragon 1.5.64-beta → 1.5.66-beta
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/assets/js/hammer.js +2 -13
- package/src/assets/less/converSationContainer/common.less +0 -7
- package/src/components/AnswerDocknowledge.vue +1 -12
- package/src/components/ConversationContainer.vue +15 -47
- package/src/components/askVideo.vue +2 -25
- package/src/components/associationIntention.vue +4 -4
- package/src/components/pdfPosition.vue +59 -95
- package/src/components/previewPdf.vue +6 -14
- package/src/components/newPdfPosition.vue +0 -878
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
</div>
|
|
55
55
|
<div id="drawer_content_pre">
|
|
56
56
|
<template v-if="tagIds && tagIds.length != 0 && drawer">
|
|
57
|
-
<pdfPosition :tagIds="tagIds" :isMessageRecord="isMessageRecord"
|
|
57
|
+
<pdfPosition :tagIds="tagIds" :isMessageRecord="isMessageRecord"></pdfPosition>
|
|
58
58
|
</template>
|
|
59
59
|
<template v-else>
|
|
60
60
|
<div v-if="fileType == 'VIDEO'" style="width: 100%;">
|
|
@@ -97,7 +97,6 @@ export default {
|
|
|
97
97
|
tagIds: [],
|
|
98
98
|
// '6454aa1a70573a6ead6f0f7d', '6454aa1a70573a6ead6f0f81',
|
|
99
99
|
loading:true,
|
|
100
|
-
fileName:''
|
|
101
100
|
}
|
|
102
101
|
},
|
|
103
102
|
mounted() {
|
|
@@ -127,20 +126,9 @@ export default {
|
|
|
127
126
|
drawer(value) {
|
|
128
127
|
if(value) {
|
|
129
128
|
this.$nextTick(() =>{
|
|
130
|
-
|
|
131
|
-
zoomElement(document.getElementById('pdf_container_view'))
|
|
132
|
-
}
|
|
129
|
+
zoomElement(document.getElementById('drawer_content_pre'))
|
|
133
130
|
})
|
|
134
131
|
}
|
|
135
|
-
setTimeout(() => {
|
|
136
|
-
let previewIframe = document.getElementsByClassName('preview_iframe')
|
|
137
|
-
Array.from(previewIframe).forEach(item =>{
|
|
138
|
-
item.onload = () =>{
|
|
139
|
-
console.debug('previewIframe 106',previewIframe,this.drawer)
|
|
140
|
-
item.style.backgroundImage = 'none'
|
|
141
|
-
}
|
|
142
|
-
})
|
|
143
|
-
})
|
|
144
132
|
}
|
|
145
133
|
},
|
|
146
134
|
computed:{
|
|
@@ -294,6 +282,10 @@ export default {
|
|
|
294
282
|
overflow: auto;
|
|
295
283
|
height: calc(100% - 50px);
|
|
296
284
|
background: #FFF;
|
|
285
|
+
background-image: url('https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif');
|
|
286
|
+
background-position: center;
|
|
287
|
+
background-size: 50px;
|
|
288
|
+
background-repeat: no-repeat;
|
|
297
289
|
}
|
|
298
290
|
}
|
|
299
291
|
@media screen and (min-width: 768px) {
|