askbot-dragon 1.7.25-beta → 1.7.28-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 +14 -14
- package/public/index.html +10 -8
- package/src/assets/js/AliyunlssUtil.js +50 -51
- package/src/assets/js/hammer.js +2 -13
- package/src/assets/less/converSationContainer/common.less +0 -7
- package/src/components/ActionAlertIframe.vue +1 -24
- package/src/components/AiGuide.vue +154 -121
- package/src/components/AnswerDocknowledge.vue +8 -8
- package/src/components/ConversationContainer.vue +211 -15
- package/src/components/MyEditor.vue +2 -12
- package/src/components/actionSatisfaction.vue +3 -3
- package/src/components/answerRadio.vue +3 -3
- package/src/components/askVideo.vue +2 -25
- package/src/components/associationIntention.vue +7 -11
- package/src/components/formTemplate.vue +54 -68
- package/src/components/intelligentSummary.vue +15 -17
- package/src/components/markDownText.vue +50 -14
- package/src/components/message/TextMessage.vue +11 -15
- package/src/components/message/swiper/ticketSwiper.vue +1 -1
- package/src/components/pdfPosition.vue +99 -271
- package/src/components/popup.vue +2 -2
- package/src/components/previewDoc.vue +2 -6
- package/src/components/previewPdf.vue +136 -166
- package/src/components/senderMessagePlatform.vue +4 -4
- package/src/components/utils/AliyunIssUtil.js +33 -12
- package/src/components/utils/ckeditor.js +59 -48
- package/src/components/welcomeKnowledgeFile.vue +2 -6
- package/src/components/welcomeLlmCard.vue +1 -5
- package/src/components/welcomeSuggest.vue +1 -1
- package/src/locales/cn.json +24 -70
- package/src/locales/en.json +24 -71
- package/src/main.js +16 -18
- package/src/components/newPdfPosition.vue +0 -878
- package/src/locales/jp.json +0 -73
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<!-- 消息记录容器 -->
|
|
2
2
|
<template>
|
|
3
3
|
<div id="conversation">
|
|
4
|
-
|
|
4
|
+
<div v-for="(item, index) in processAction" :key="index">
|
|
5
5
|
<association-intention :msg="item" :msgType="item.type" :isOpen="isOpen"></association-intention>
|
|
6
|
-
</div>
|
|
6
|
+
</div>
|
|
7
7
|
<!-- <answer-radio :msg="answerRadiosPri"></answer-radio> -->
|
|
8
8
|
<answer-radio :msg="answerRadiosPri"></answer-radio>
|
|
9
9
|
<!-- <msg-loading v-if="inLoading"></msg-loading>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
</div>
|
|
18
18
|
</div> -->
|
|
19
19
|
<!-- <MyEditor></MyEditor> -->
|
|
20
|
-
<form-template
|
|
20
|
+
<!-- <form-template
|
|
21
21
|
:formList="formList2"
|
|
22
22
|
@submitClick="submitClick"
|
|
23
23
|
></form-template> -->
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
<form-template
|
|
32
32
|
:formList="formList4"
|
|
33
33
|
@submitClick="submitClick"
|
|
34
|
-
></form-template>
|
|
34
|
+
></form-template> -->
|
|
35
35
|
<!-- <div style="max-width: 450px;overflow-x: auto;">
|
|
36
36
|
<action-alert :actionAlertIframe="actionAlertIframeObj" :phoneWidth100="true"></action-alert>
|
|
37
37
|
</div> -->
|
|
38
38
|
|
|
39
39
|
<!-- <text-message :text="text" @submitClick="submitClick"></text-message> -->
|
|
40
|
-
<answer-docknowledge :isAskLightning="2" :
|
|
41
|
-
<welcomeSuggest :msg="welcomeSuggest"
|
|
40
|
+
<answer-docknowledge :isAskLightning="2" :isHasChat="true" :msg="answerDocknowledge" :isLiBang="false"></answer-docknowledge>
|
|
41
|
+
<welcomeSuggest :msg="welcomeSuggest"></welcomeSuggest>
|
|
42
42
|
<!-- <voice-component @closeVoice="closeVoice">
|
|
43
43
|
<div slot="voiceTip">
|
|
44
44
|
松开发送
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
</voice-component>-->
|
|
47
47
|
<!-- 点选 -->
|
|
48
48
|
<!-- <div v-html="htmlContainer"></div> -->
|
|
49
|
-
<answer-radio :msg="answerRadios"
|
|
50
|
-
<ticket-message :content="updateTicetmessageObj"></ticket-message>
|
|
51
|
-
<ticket-message :content="contents"></ticket-message>
|
|
52
|
-
<!--
|
|
49
|
+
<answer-radio :msg="answerRadios"></answer-radio>
|
|
50
|
+
<!-- <ticket-message :content="updateTicetmessageObj"></ticket-message> -->
|
|
51
|
+
<!-- <ticket-message :content="contents"></ticket-message> -->
|
|
52
|
+
<!--
|
|
53
53
|
<action-send-to-bot :msg="answerRadios"></action-send-to-bot>
|
|
54
54
|
<text-message :text="text" @submitClick="submitClick"></text-message>
|
|
55
55
|
<div v-for="(item,index) in processAction" :key="index">
|
|
@@ -240,7 +240,7 @@ export default {
|
|
|
240
240
|
"content": {
|
|
241
241
|
"images": [{ url: 'https://static.guoranbot.com/images/knowledge/e0f6898c6b0d47fa98e8f71ceab1bde8/安全标志--禁止标志.png' }],
|
|
242
242
|
"actionType": "answer_doc_knowledge",
|
|
243
|
-
"text": "
|
|
243
|
+
"text": "**票据管理规定**\n\n### 车票报销\n- **注意事项**:\n - 车票需注意日期与行程相符。\n - 如所附车票没有标注起止地点的,需自行注明。\n - 非同一次乘车出现票号相连的,不予报销。\n\n### 不予报销的票据\n- **国内白条及非财政部门监制的收据**:一律不予报销。\n- **预存性质的票据**:如预存话费、预存公交车费、购物卡、油卡等,原则上不予报销。\n - 确有客观需求并经部门负责人、财务负责人事先同意的,预存时需获取预付款增值税普通发票。\n - 后续每次实际消费时需取得注明预付卡卡号的消费小票,并在消费完预付卡内余额后及时进行一次性报销。\n - 无法取得消费小票的,请及时与财务同事沟通与确认解决方案。\n\n### 发票要求\n- **字迹不清或压线错格**:应重新开票。\n- **无法取得发票的费用**:公司不予报销,不允许用其他发票替代报销。\n\n### 报销单整理\n- 报销单影像审批完成进入核票流程后,报销人应将该张报销单的票据按照时间顺序分类整理,平铺、整齐的粘贴在A4纸上,票据与票据之间不能重叠遮挡,与报销单一同交到财务部。\n- 驻外人员邮寄回公司本部门的内勤人员,由部门内勤人员代为转交至财务部。\n- 财务收到单据后在汇联易系统中进行核票,纸质票据影像必须与实物一致,符合标准的单据完成审批流程后,进入待付款流程。\n\n### 出差报销\n- 员工出差必须先填写出差申请单,经审批后才能出行。\n- 若有紧急出差的情况,应填写出差申请单后,联系上级领导人进行加急审批。\n- 未填出差申请单,自行购票出行,公司有权不予报销。",
|
|
244
244
|
"list": [
|
|
245
245
|
{
|
|
246
246
|
"owner": null,
|
|
@@ -258,7 +258,7 @@ export default {
|
|
|
258
258
|
"knowledgeId": "658a93de63d378228271913a",
|
|
259
259
|
"knowledgePartId": "ypZaqYwBD3jzLtPbz5K8",
|
|
260
260
|
"from": "ppt_preview",
|
|
261
|
-
"introduction": "Spark是什么Spark 是一个开源的大数据处理引擎,它提供了一整套开发 API
|
|
261
|
+
"introduction": "Spark是什么Spark 是一个开源的大数据处理引擎,它提供了一整套开发 API,包括流计算和机器学习。它支持批处理和流处理。Spark 的一个显著特点是它能够在内存中进行迭代计算,从而加快数据处理速度。尽管 Spark 是用 Scala 开发的,但它也为 Java、Scala、Python 和 R 等高级编程语言提供了开发接口。",
|
|
262
262
|
"previewImage": "https://askbot-pdf-all.oss-cn-zhangjiakou.aliyuncs.com/31623ccfe9dd4957bbd59c5823878bbe/2023/12/27/03/39/08/658b9c477cf604285f7cb81d/pdf-image-1913302477976388839.png"
|
|
263
263
|
},
|
|
264
264
|
{
|
|
@@ -319,8 +319,9 @@ export default {
|
|
|
319
319
|
"previewImage": "https://askbot-pdf-all.oss-cn-zhangjiakou.aliyuncs.com/31623ccfe9dd4957bbd59c5823878bbe/2023/12/27/03/39/08/658b9c477cf604285f7cb81d/pdf-image-1913302477976388839.png"
|
|
320
320
|
}
|
|
321
321
|
],
|
|
322
|
-
"renderType":
|
|
323
|
-
"type": 1
|
|
322
|
+
"renderType": 2,
|
|
323
|
+
"type": 1,
|
|
324
|
+
"isHistory": true
|
|
324
325
|
},
|
|
325
326
|
"type": "answer_doc_knowledge"
|
|
326
327
|
},
|
|
@@ -578,6 +579,202 @@ export default {
|
|
|
578
579
|
]
|
|
579
580
|
}
|
|
580
581
|
},
|
|
582
|
+
{
|
|
583
|
+
version: 1,
|
|
584
|
+
content: {
|
|
585
|
+
htmlList: [
|
|
586
|
+
{
|
|
587
|
+
"src": null,
|
|
588
|
+
"dynamic": null,
|
|
589
|
+
"style": [
|
|
590
|
+
{
|
|
591
|
+
"col": 1,
|
|
592
|
+
"colums": 3
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"col": 2,
|
|
596
|
+
"colums": 3
|
|
597
|
+
}
|
|
598
|
+
],
|
|
599
|
+
"markdownList": null,
|
|
600
|
+
"list": [
|
|
601
|
+
"<p>1</p>",
|
|
602
|
+
"<p>2</p>"
|
|
603
|
+
],
|
|
604
|
+
"type": "DOUBLE"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"src": null,
|
|
608
|
+
"dynamic": null,
|
|
609
|
+
"style": [
|
|
610
|
+
{
|
|
611
|
+
"col": 1,
|
|
612
|
+
"colums": 4
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"col": 1,
|
|
616
|
+
"colums": 4
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"col": 1,
|
|
620
|
+
"colums": 4
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"col": 1,
|
|
624
|
+
"colums": 4
|
|
625
|
+
}
|
|
626
|
+
],
|
|
627
|
+
"markdownList": null,
|
|
628
|
+
"list": [
|
|
629
|
+
"<p>1</p>",
|
|
630
|
+
"<p>2</p>",
|
|
631
|
+
"<p>3</p>",
|
|
632
|
+
"<p>4</p>"
|
|
633
|
+
],
|
|
634
|
+
"type": "QUADRUPLE"
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"src": null,
|
|
638
|
+
"dynamic": null,
|
|
639
|
+
"style": [
|
|
640
|
+
{
|
|
641
|
+
"col": 1,
|
|
642
|
+
"colums": 4
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"col": 3,
|
|
646
|
+
"colums": 4
|
|
647
|
+
}
|
|
648
|
+
],
|
|
649
|
+
"markdownList": null,
|
|
650
|
+
"list": [
|
|
651
|
+
"<p>1</p>",
|
|
652
|
+
"<p>3</p>"
|
|
653
|
+
],
|
|
654
|
+
"type": "DOUBLE"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"src": null,
|
|
658
|
+
"dynamic": null,
|
|
659
|
+
"style": [
|
|
660
|
+
{
|
|
661
|
+
"col": 2,
|
|
662
|
+
"colums": 3
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"col": 1,
|
|
666
|
+
"colums": 3
|
|
667
|
+
}
|
|
668
|
+
],
|
|
669
|
+
"markdownList": null,
|
|
670
|
+
"list": [
|
|
671
|
+
"<p>2</p>",
|
|
672
|
+
"<p>1</p>"
|
|
673
|
+
],
|
|
674
|
+
"type": "DOUBLE"
|
|
675
|
+
}
|
|
676
|
+
],
|
|
677
|
+
buttonList: [{ name: '我是标签1', scope: '', test: '' }]
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
version: 1,
|
|
682
|
+
content: {
|
|
683
|
+
htmlList: [
|
|
684
|
+
{
|
|
685
|
+
"src": null,
|
|
686
|
+
"dynamic": null,
|
|
687
|
+
"style": [
|
|
688
|
+
{
|
|
689
|
+
"col": 1,
|
|
690
|
+
"colums": 3
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"col": 2,
|
|
694
|
+
"colums": 3
|
|
695
|
+
}
|
|
696
|
+
],
|
|
697
|
+
"markdownList": null,
|
|
698
|
+
"list": [
|
|
699
|
+
"<p>1</p>",
|
|
700
|
+
"<p>2</p>"
|
|
701
|
+
],
|
|
702
|
+
"type": "DOUBLE"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"src": null,
|
|
706
|
+
"dynamic": null,
|
|
707
|
+
"style": [
|
|
708
|
+
{
|
|
709
|
+
"col": 1,
|
|
710
|
+
"colums": 4
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"col": 1,
|
|
714
|
+
"colums": 4
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"col": 1,
|
|
718
|
+
"colums": 4
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"col": 1,
|
|
722
|
+
"colums": 4
|
|
723
|
+
}
|
|
724
|
+
],
|
|
725
|
+
"markdownList": null,
|
|
726
|
+
"list": [
|
|
727
|
+
"<p>1</p>",
|
|
728
|
+
"<p>2</p>",
|
|
729
|
+
"<p>3</p>",
|
|
730
|
+
"<p>4</p>"
|
|
731
|
+
],
|
|
732
|
+
"type": "QUADRUPLE"
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"src": null,
|
|
736
|
+
"dynamic": null,
|
|
737
|
+
"style": [
|
|
738
|
+
{
|
|
739
|
+
"col": 1,
|
|
740
|
+
"colums": 4
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"col": 3,
|
|
744
|
+
"colums": 4
|
|
745
|
+
}
|
|
746
|
+
],
|
|
747
|
+
"markdownList": null,
|
|
748
|
+
"list": [
|
|
749
|
+
"<p>1</p>",
|
|
750
|
+
"<p>3</p>"
|
|
751
|
+
],
|
|
752
|
+
"type": "DOUBLE"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"src": null,
|
|
756
|
+
"dynamic": null,
|
|
757
|
+
"style": [
|
|
758
|
+
{
|
|
759
|
+
"col": 2,
|
|
760
|
+
"colums": 3
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"col": 1,
|
|
764
|
+
"colums": 3
|
|
765
|
+
}
|
|
766
|
+
],
|
|
767
|
+
"markdownList": null,
|
|
768
|
+
"list": [
|
|
769
|
+
"<p>2</p>",
|
|
770
|
+
"<p>1</p>"
|
|
771
|
+
],
|
|
772
|
+
"type": "DOUBLE"
|
|
773
|
+
}
|
|
774
|
+
],
|
|
775
|
+
buttonList: [{ name: '我是标签1' }]
|
|
776
|
+
}
|
|
777
|
+
}
|
|
581
778
|
],
|
|
582
779
|
apiKey: '123456789'
|
|
583
780
|
},
|
|
@@ -10370,7 +10567,6 @@ export default {
|
|
|
10370
10567
|
url:
|
|
10371
10568
|
'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/08/24/07/35/41221223-c180-4f3f-bdc8-94875b693965/WeChat_20210719215122.mp4',
|
|
10372
10569
|
videoFlag: false,
|
|
10373
|
-
nodownload: false,
|
|
10374
10570
|
videoUploadPercent: 0,
|
|
10375
10571
|
isShowUploadVideo: true,
|
|
10376
10572
|
recommend: {
|
|
@@ -36,20 +36,12 @@
|
|
|
36
36
|
|
|
37
37
|
<script>
|
|
38
38
|
import { v4 as uuidv4 } from "uuid";
|
|
39
|
-
import { multipartUpload, ossFileUrl } from "
|
|
39
|
+
import { multipartUpload, ossFileUrl } from "./utils/AliyunIssUtil";
|
|
40
40
|
|
|
41
41
|
export default {
|
|
42
42
|
props: ["value", "placeholder", "havToolbar"],
|
|
43
43
|
data () {
|
|
44
44
|
return {
|
|
45
|
-
ossConfig: {
|
|
46
|
-
region: "oss-cn-zhangjiakou",
|
|
47
|
-
//云账号AccessKey有所有API访问权限,建议遵循阿里云安全最佳实践,创建并使用STS方式来进行API访问
|
|
48
|
-
accessKeyId: "LTAI4G3QtdEdwkEbihBngAsK",
|
|
49
|
-
accessKeySecret: "OwgdVfc5PeCkIgqIdug660xmiSPchn",
|
|
50
|
-
// stsToken: '<Your securityToken(STS)>',
|
|
51
|
-
bucket: "guoranopen-zjk",
|
|
52
|
-
},
|
|
53
45
|
ischecked: false,
|
|
54
46
|
text: ''
|
|
55
47
|
}
|
|
@@ -80,7 +72,6 @@ export default {
|
|
|
80
72
|
inputObj.setAttribute('id', '_ef');
|
|
81
73
|
inputObj.setAttribute('type', 'file');
|
|
82
74
|
inputObj.setAttribute('accept', '*')
|
|
83
|
-
inputObj.setAttribute('capture', 'camcorder')
|
|
84
75
|
inputObj.setAttribute('multiple', true)
|
|
85
76
|
inputObj.setAttribute("style", 'visibility:hidden');
|
|
86
77
|
document.body.appendChild(inputObj);
|
|
@@ -160,13 +151,12 @@ export default {
|
|
|
160
151
|
url: '',
|
|
161
152
|
}
|
|
162
153
|
let res = multipartUpload(
|
|
163
|
-
this.ossConfig,
|
|
164
154
|
file,
|
|
165
155
|
null,
|
|
166
156
|
imgInfo
|
|
167
157
|
);
|
|
168
158
|
res.then(resp => {
|
|
169
|
-
imgInfo.url = ossFileUrl(
|
|
159
|
+
imgInfo.url = ossFileUrl(resp.name)
|
|
170
160
|
resolve({
|
|
171
161
|
name: resp.name,
|
|
172
162
|
default: imgInfo.url
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
)
|
|
18
18
|
"
|
|
19
19
|
>
|
|
20
|
-
|
|
20
|
+
满意
|
|
21
21
|
</div>
|
|
22
22
|
<div
|
|
23
23
|
class="statisfaction-item"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
)
|
|
33
33
|
"
|
|
34
34
|
>
|
|
35
|
-
|
|
35
|
+
不满意
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
38
38
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
<script>
|
|
43
43
|
export default {
|
|
44
44
|
name: "actionSatisfaction",
|
|
45
|
-
props:['msg'
|
|
45
|
+
props:['msg'],
|
|
46
46
|
data(){
|
|
47
47
|
return{
|
|
48
48
|
isCheckSatis:false,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
v-if="msg.content.description && !msg.content.isKnowledgeSummary"></p>
|
|
5
5
|
<div class="bottom-link" v-if="msg.content.description && !msg.content.isKnowledgeSummary"></div>
|
|
6
6
|
<div :class="['options-list', msg.content.isKnowledgeSummary ? 'isKnowledgeSummary' : '']">
|
|
7
|
-
<div v-if="msg.content.isKnowledgeSummary" class="tips">
|
|
7
|
+
<div v-if="msg.content.isKnowledgeSummary" class="tips">AI为您推荐了以下内容</div>
|
|
8
8
|
<div v-for="(option, index) in showOptions" class="options-item"
|
|
9
9
|
:class="index !== msg.content.options.length - 1 ? 'recommend-item' : 'last-item'" :key="msg.nodeId + '_' + index"
|
|
10
10
|
@click="radioClick(msg, option, index)">
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
</div>
|
|
15
15
|
<div v-if="showPage" class="switch-page">
|
|
16
|
-
<span @click="changeActivePage" class="switch-page-btn"
|
|
16
|
+
<span @click="changeActivePage" class="switch-page-btn">换一批</span>
|
|
17
17
|
<!-- <span @click="showMore" class="switch-page-btn">查看更多</span> -->
|
|
18
18
|
</div>
|
|
19
19
|
</div>
|
|
@@ -32,7 +32,7 @@ export default {
|
|
|
32
32
|
showOptions: [],
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
|
-
props: ['msg'
|
|
35
|
+
props: ['msg'],
|
|
36
36
|
mounted() {
|
|
37
37
|
console.log(this.msg, 'msg');
|
|
38
38
|
// 关键词推荐 前端分页
|
|
@@ -22,14 +22,11 @@
|
|
|
22
22
|
:id="msg.id+'key'">
|
|
23
23
|
<source :src="videoSrc"/>
|
|
24
24
|
</video>
|
|
25
|
-
<div v-show="!nodownload" class="dragon-video-download">
|
|
26
|
-
<a :href="msg.content.url" download><span class="el-icon-download"></span></a>
|
|
27
|
-
</div>
|
|
28
25
|
<div id="output"></div>
|
|
29
26
|
</div>
|
|
30
27
|
</template>
|
|
31
28
|
<script>
|
|
32
|
-
import {
|
|
29
|
+
import {uploadImageByBase64} from "../assets/js/AliyunlssUtil";
|
|
33
30
|
|
|
34
31
|
export default {
|
|
35
32
|
name: "ask_video",
|
|
@@ -89,7 +86,7 @@
|
|
|
89
86
|
console.debug('img.src',output)
|
|
90
87
|
let base64 = canvas.toDataURL("image/png")
|
|
91
88
|
let blob = that.dataURLtoFile(base64,'name')
|
|
92
|
-
let promise = uploadImageByBase64(
|
|
89
|
+
let promise = uploadImageByBase64(blob);
|
|
93
90
|
promise.then((res)=>{
|
|
94
91
|
console.debug("upload base64 reslut",res);
|
|
95
92
|
if (res&&res.url){
|
|
@@ -126,8 +123,6 @@
|
|
|
126
123
|
video::-webkit-media-controls-mute-button { display: none !important;}
|
|
127
124
|
#dragon-video{
|
|
128
125
|
position: relative;
|
|
129
|
-
width: calc(100vw - 109px);
|
|
130
|
-
max-width: 260px;
|
|
131
126
|
#outputVideo{
|
|
132
127
|
position: absolute;
|
|
133
128
|
top: 0px;
|
|
@@ -139,24 +134,6 @@ video::-webkit-media-controls-mute-button { display: none !important;}
|
|
|
139
134
|
}
|
|
140
135
|
|
|
141
136
|
}
|
|
142
|
-
.dragon-video-download{
|
|
143
|
-
position: absolute;
|
|
144
|
-
width: 40px;
|
|
145
|
-
height: 26px;
|
|
146
|
-
background-color: rgba(54, 106, 255, 0.5);
|
|
147
|
-
border-radius: 13px;
|
|
148
|
-
text-align: center;
|
|
149
|
-
bottom: 2px;
|
|
150
|
-
right: 6px;
|
|
151
|
-
a {
|
|
152
|
-
span {
|
|
153
|
-
height: 26px;
|
|
154
|
-
line-height: 26px;
|
|
155
|
-
display: block;
|
|
156
|
-
color: white;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
137
|
}
|
|
161
138
|
|
|
162
139
|
</style>
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
<span class="model-switch-handle-name">{{msg.footerStyleValue}}</span>
|
|
69
69
|
</div>
|
|
70
70
|
<van-popup v-model="previewShowPopup" position="bottom" v-if="previewShowPopup" :style="{ height: '90%', background:'#FFFFFF'}">
|
|
71
|
-
<previewDoc ref="previewDoc" :url="previewHref"
|
|
71
|
+
<previewDoc ref="previewDoc" :url="previewHref" @close="close" v-if="previewShowPopup"></previewDoc>
|
|
72
72
|
</van-popup>
|
|
73
73
|
<el-drawer
|
|
74
|
-
|
|
74
|
+
title="我是标题"
|
|
75
75
|
:append-to-body="true"
|
|
76
76
|
:model="false"
|
|
77
77
|
:visible.sync="drawer"
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
size="65%"
|
|
80
80
|
v-if="drawer"
|
|
81
81
|
>
|
|
82
|
-
<previewDoc ref="previewDoc" :url="previewHref"
|
|
82
|
+
<previewDoc ref="previewDoc" :url="previewHref" @close="close" v-if="drawer"></previewDoc>
|
|
83
83
|
</el-drawer>
|
|
84
84
|
</div>
|
|
85
85
|
</template>
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
export default {
|
|
93
93
|
name: "associationIntention",
|
|
94
94
|
components: {Recommend, askVideo, previewDoc},
|
|
95
|
-
props: ["msg",'msgType','isOpen','sourceOhm','isOhmPc', 'nodownload', 'hiddenHeaderFooter'
|
|
95
|
+
props: ["msg",'msgType','isOpen','sourceOhm','isOhmPc', 'nodownload', 'hiddenHeaderFooter'],
|
|
96
96
|
filters: {
|
|
97
97
|
imageStyle: function (html) {
|
|
98
98
|
//富文本内图片自适应高度宽度
|
|
@@ -115,6 +115,8 @@
|
|
|
115
115
|
drawer:false
|
|
116
116
|
}
|
|
117
117
|
},
|
|
118
|
+
mounted() {
|
|
119
|
+
},
|
|
118
120
|
methods:{
|
|
119
121
|
// 将匹配结果替换表情图片
|
|
120
122
|
emotion(res) {
|
|
@@ -235,7 +237,7 @@
|
|
|
235
237
|
this.$emit("onRadioClick", id, name, apikey,optionApiKey);
|
|
236
238
|
},
|
|
237
239
|
onImageClick(url){
|
|
238
|
-
this.$emit('onImageClick',
|
|
240
|
+
this.$emit('onImageClick',url)
|
|
239
241
|
},
|
|
240
242
|
msgContent(content){
|
|
241
243
|
console.debug('215',content)
|
|
@@ -366,12 +368,6 @@
|
|
|
366
368
|
display: block;
|
|
367
369
|
}
|
|
368
370
|
}
|
|
369
|
-
/deep/ img {
|
|
370
|
-
height: auto;
|
|
371
|
-
width: calc(100vw - 137px);
|
|
372
|
-
border-radius: 25px;
|
|
373
|
-
max-width: 230px;
|
|
374
|
-
}
|
|
375
371
|
}
|
|
376
372
|
/deep/.el-drawer__body{
|
|
377
373
|
height: 100%;
|