askbot-dragon 1.7.15-beta → 1.7.17-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 CHANGED
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "1.7.15-beta",
3
+ "version": "1.7.17-beta",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
7
7
  "lint": "vue-cli-service lint"
8
8
  },
9
9
  "dependencies": {
10
+ },
11
+ "devDependencies": {
10
12
  "ali-oss": "^6.2.1",
11
13
  "audio-loader": "^1.0.3",
12
14
  "core-js": "^3.6.5",
@@ -20,10 +22,7 @@
20
22
  "vue": "^2.6.11",
21
23
  "vue-resource": "^1.5.1",
22
24
  "vue-video-player": "^5.0.2",
23
- "vue-i18n": "^8.26.4",
24
- "weixin-js-sdk": "^1.6.0"
25
- },
26
- "devDependencies": {
25
+ "weixin-js-sdk": "^1.6.0",
27
26
  "@vue/cli-plugin-babel": "~4.5.0",
28
27
  "@vue/cli-plugin-eslint": "~4.5.0",
29
28
  "@vue/cli-service": "~4.5.0",
package/public/index.html CHANGED
@@ -15,7 +15,7 @@
15
15
  const o = {};
16
16
  Object.keys(entries).forEach((key) => {
17
17
  const [k, v] = entries[key];
18
-
18
+
19
19
  o[k] = v;
20
20
  });
21
21
  return o;
@@ -25,10 +25,10 @@
25
25
  </script>
26
26
  <!-- 项目图标 -->
27
27
  <link rel="stylesheet" href="//at.alicdn.com/t/c/font_2913049_ee8dx548hg.css"/>
28
- <!-- iconfont图标 -->
29
- <link rel="stylesheet" href="//at.alicdn.com/t/c/font_2913049_mfmhkqumc7i.css"/>
28
+ <!-- guoran图标 -->
29
+ <link rel="stylesheet" href="//at.alicdn.com/t/c/font_2913049_qtm7orae3l.css"/>
30
30
  <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
31
-
31
+
32
32
  <!-- vue -->
33
33
  <!-- <script src="https://static.guoranbot.com/vue/2.6.11/dist/vue.min.js"></script>
34
34
  <script src="https://static.guoranbot.com/vue-router/3.3.2/dist/vue-router.min.js"></script> -->
@@ -40,14 +40,14 @@
40
40
  <!-- vant -->
41
41
  <!-- <script src="https://static.guoranbot.com/vant/2.12/lib/vant.min.js"></script>
42
42
  <link rel="stylesheet" href="https://static.guoranbot.com/vant/2.12/lib/index.css" /> -->
43
-
43
+
44
44
  <!-- pdf.js -->
45
45
  <!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.5.141/pdf.min.js" integrity="sha512-BagCUdQjQ2Ncd42n5GGuXQn1qwkHL2jCSkxN5+ot9076d5wAI8bcciSooQaI3OG3YLj6L97dKAFaRvhSXVO0/Q==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
46
46
  <script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.5.141/pdf.worker.min.js" integrity="sha512-6UHd2tcWIvg5hIYHXb3lnNO61tWfriGen6KddwGYTSUUazWGYESTHDDxJFEQkCy1cSL//yXKc1gcL+51/DTLFQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
47
47
  <script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.5.141/pdf_viewer.min.js" integrity="sha512-tYEGuMBQkCfSlBKJ3dNgS06wbb/MNE6nO2poZ1Y5brix8NajGcDcfEvuL38wJDOTkq0j5ojASNmrzv/8/wgGHQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
48
48
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.5.141/pdf_viewer.min.css" integrity="sha512-Jf9DLkegLgARLR151csVkPvcVt4cOUhslrSZwiTAe9mqFL/BbYRDmxCOioCtbHifEgjsBFbrVhOMQ3mYPDLrqQ==" crossorigin="anonymous" referrerpolicy="no-referrer" /> -->
49
-
50
-
49
+
50
+
51
51
  <script src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/pdfJS2.1.266/pdf.min.js" referrerpolicy="no-referrer"></script>
52
52
  <script src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/pdfJS2.1.266/pdf.worker.min.js" referrerpolicy="no-referrer"></script>
53
53
  <script src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/pdfJS2.1.266/pdf_viewer.js" referrerpolicy="no-referrer"></script>
@@ -68,5 +68,5 @@
68
68
  <div id="app"></div>
69
69
  <!-- built files will be auto injected -->
70
70
  </body>
71
-
71
+
72
72
  </html>
@@ -3,15 +3,6 @@ export function zoomElement (el) {
3
3
  let store = {
4
4
  scale: 1
5
5
  };
6
- if (!el){
7
- return
8
- }
9
- let scale = 1;
10
- if (el.style.transform){
11
- let transForm = el.style.transform;
12
- var values = transForm.split('(')[1].split(')')[0].split(',');
13
- scale = values[0] ? values[0] : 1
14
- }
15
6
  // 缩放事件的处理
16
7
  el.addEventListener('touchstart', function (event) {
17
8
  let touches = event.touches;
@@ -76,15 +67,13 @@ export function zoomElement (el) {
76
67
  newScale = 3;
77
68
  }
78
69
  // 最小缩放比例限制
79
- if(newScale < scale) {
80
- newScale = scale;
70
+ if(newScale < 1) {
71
+ newScale = 1;
81
72
  }
82
73
  // 记住使用的缩放值
83
74
  store.scale = newScale;
84
75
  // 图像应用缩放效果
85
76
  el.style.transform = 'scale(' + newScale + ')';
86
- el.style.transformOrigin = 'top left'
87
-
88
77
  }
89
78
  });
90
79
  document.addEventListener('touchend', function () {
@@ -35,13 +35,6 @@
35
35
  border-radius: 6px;
36
36
  background-color: #bfceec !important;
37
37
  }
38
- @media screen and (max-width: 767px){
39
- ::-webkit-scrollbar {
40
- width: 0;
41
- height: 0;
42
- background-color:@system_bordercolor_4;
43
- }
44
- }
45
38
 
46
39
  // 弹窗body
47
40
  .el-dialog__body{
@@ -26,7 +26,7 @@
26
26
  class="grzh-iframe"
27
27
  :src="actionAlertIframe.template"
28
28
  width="100%"
29
- height="90%"
29
+ height="95%"
30
30
  :scrolling="actionAlertIframe.scrolling"
31
31
  frameborder="no"
32
32
  border="0"
@@ -87,29 +87,6 @@ export default {
87
87
  this.actionAlertIframe.template = this.actionAlertIframe.template + "&iframeId=" + this.tampId
88
88
  }
89
89
  this.actionAlertIframe.template = this.actionAlertIframe.template.split("&amp;").join("&")
90
-
91
- // 监听回退事件
92
- let _that = this;
93
-
94
- (function () {
95
- console.log(95, 'addEventListener window.onpopstate');
96
- if (window.history && window.history.pushState) {
97
- console.log(97, 'window.history && window.history.pushState');
98
- window.onpopstate = function (e) {
99
- console.log(9999, 'window.onpopstate innner', e);
100
- if (_that.showAskFullScreen) {
101
- window.history.go(1);
102
- }
103
- // window.history.pushState('forward', null, '');
104
- // window.history.forward(1);
105
- _that.showAskFullScreen = false;
106
- if ( e && e.stopPropagation ) {
107
- console.log(105, 'e.stopPropagation');
108
- e.stopPropagation();
109
- }
110
- };
111
- }
112
- })();
113
90
  },
114
91
  };
115
92
  </script>
@@ -16,7 +16,7 @@
16
16
  <span v-html="aiGuide.content.description"></span>
17
17
  </div>
18
18
  <!-- 一级分类 -->
19
- <div v-show="aiGuide.content.typesVisible && aiGuide.content.options && aiGuide.content.options.length > 0" class="ig-types-f">
19
+ <div v-show="aiGuide.content.typesVisible" class="ig-types-f">
20
20
  <span
21
21
  v-for="(fType, fTypeIndex) in aiGuide.content.options"
22
22
  :key="`f_${fTypeIndex}`"
@@ -31,7 +31,9 @@
31
31
  >
32
32
  </div>
33
33
  <!-- 二级分类 -->
34
- <div v-if="aiGuide.content.typesVisible && aiGuide.content.options[activeFirstTypeIndex] && aiGuide.content.options[activeFirstTypeIndex].types && aiGuide.content.options[activeFirstTypeIndex].types.length !== 0" class="ig-types-s">
34
+ <div v-show="aiGuide.content.typesVisible && aiGuide.content.options[
35
+ activeFirstTypeIndex
36
+ ].types.length !== 0" class="ig-types-s">
35
37
  <span
36
38
  v-for="(sType, sTypeIndex) in aiGuide.content.options[
37
39
  activeFirstTypeIndex
@@ -189,7 +191,7 @@
189
191
  >
190
192
  <span @click="changeIntellectGuide" class="ig-change-list-btn">
191
193
  <svg t="1720148246364" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="136175" width="16" height="16"><path d="M225.6 540.8C240 686.4 363.2 800 512 800c76.8 0 150.4-30.4 203.2-84.8 12.8-12.8 32-12.8 44.8 0s12.8 32 0 44.8c-64 65.6-153.6 104-248 104-184 0-336-142.4-350.4-323.2l-43.2 41.6c-12.8 12.8-33.6 11.2-44.8 0s-11.2-33.6 0-44.8l99.2-96c12.8-12.8 33.6-11.2 44.8 0l92.8 96c12.8 12.8 11.2 33.6-1.6 44.8-12.8 12.8-33.6 11.2-44.8-1.6l-38.4-40zM800 497.6C792 345.6 665.6 224 512 224c-76.8 0-148.8 30.4-203.2 83.2-12.8 12.8-33.6 12.8-44.8 0-12.8-12.8-12.8-33.6 0-44.8 65.6-64 153.6-102.4 248-102.4 192 0 347.2 153.6 352 342.4l41.6-40c12.8-12.8 33.6-11.2 44.8 1.6 12.8 12.8 11.2 33.6-1.6 44.8l-94.4 89.6c-12.8 11.2-32 11.2-44.8 0l-97.6-96c-12.8-12.8-12.8-32 0-44.8 12.8-12.8 32-12.8 44.8 0l43.2 40z" p-id="136176" fill="#366aff"></path></svg>
192
- {{$t('common.changeBatch')}}</span
194
+ 换一批</span
193
195
  >
194
196
  </div>
195
197
  </div>
@@ -229,19 +231,15 @@ export default {
229
231
  },
230
232
  props: {
231
233
  aiGuide: Object,
232
- language:{
233
- type:String,
234
- default:"cn"
235
- }
236
234
  },
237
235
  beforeMount() {},
238
236
  mounted() {
239
237
  this.isMobile();
240
- if (this.aiGuide.content.options[0] && this.aiGuide.content.options[0] && this.aiGuide.content.options[0].types && this.aiGuide.content.options[0].types.length === 0) {
238
+ if (this.aiGuide.content.options[0].types.length === 0) {
241
239
  this.activeOtherObj = this.aiGuide.content.options[0];
242
240
  } else {
243
241
  this.activeSecondTypeIndex = 0;
244
- this.activeOtherObj = this.aiGuide.content.options[0] && this.aiGuide.content.options[0].types && this.aiGuide.content.options[0].types[0] ? this.aiGuide.content.options[0].types[0] : [];
242
+ this.activeOtherObj = this.aiGuide.content.options[0].types[0];
245
243
  }
246
244
  },
247
245
  methods: {
@@ -5,7 +5,7 @@
5
5
  <template>
6
6
  <div class="answer-docknowledge">
7
7
  <div :class="['answer-docknowledge-header', msg.content.isKnowledgeSummary ? 'bgc' : '']">
8
- <div v-if="msg.content.isKnowledgeSummary" class="tips">{{$t('answerDocKnowledge.title')}}</div>
8
+ <div v-if="msg.content.isKnowledgeSummary" class="tips">AI为您总结生成了以下摘要</div>
9
9
  <!-- <div v-if="msg.content.type == 0" class="answer-text">
10
10
  <template v-if="msg.content.renderType == 1">
11
11
  <p v-html="msg.content.text"></p>
@@ -31,7 +31,7 @@
31
31
  <div class="alc-title">
32
32
  <div class="alc-box">
33
33
  <div class="alc-source-left">
34
- <span class="source-form">{{$t('answerDocKnowledge.sourceFrom')}}</span>
34
+ <span class="source-form">出自</span>
35
35
  <img class="alc-title-icon" height="24px" width="24px" :src="getIconSrc(item)" alt=""
36
36
  srcset="">
37
37
  <span class="alc-title-from">{{ item.from }}</span>
@@ -51,7 +51,7 @@
51
51
  {{ docSource[item.source] }}
52
52
  </div>
53
53
  <div v-show="item.url" class="alc-content-text">
54
- <span @click="lookAttach(item.url, item, $event)" class="aci-view">{{$t('answerDocKnowledge.view')}} ></span>
54
+ <span @click="lookAttach(item.url, item, $event)" class="aci-view">查看 ></span>
55
55
  </div>
56
56
  </div>
57
57
  </div>
@@ -83,7 +83,7 @@
83
83
  </div>
84
84
  </div>
85
85
  </template>
86
- <div class="ad-loadmore" v-if="loadMoreFlag" @click="lazyLoadKnowledegList">{{$t('common.loadMore')}}</div>
86
+ <div class="ad-loadmore" v-if="loadMoreFlag" @click="lazyLoadKnowledegList">查看更多</div>
87
87
  </div>
88
88
  </template>
89
89
  <template v-if="isLiBang">
@@ -93,7 +93,7 @@
93
93
  <div class="libang_title">
94
94
  <div class="libang_box">
95
95
  <div class="libang_source_left">
96
- <span class="source-form">{{$t('answerDocKnowledge.sourceFrom')}}</span>
96
+ <span class="source-form">出自</span>
97
97
  <img class="libang_title_icon" height="24px" width="24px" :src="getIconSrc(item)" alt=""
98
98
  srcset="">
99
99
  <span class="libang_title_from">{{ item.from }}</span>
@@ -119,7 +119,7 @@
119
119
  </div>
120
120
  </div>
121
121
  <div v-show="item.url" class="libang_content_text">
122
- <span @click="lookAttach(item.url, item, $event)" class="aci-view">{{$t('answerDocKnowledge.view')}} ></span>
122
+ <span @click="lookAttach(item.url, item, $event)" class="aci-view">查看 ></span>
123
123
  </div>
124
124
  </div>
125
125
  </div>
@@ -158,7 +158,7 @@
158
158
  <i class="iconfont guoran-right" @click="lookAttach(item.url, item, $event)"></i>
159
159
  </div>
160
160
  </template>
161
- <div class="ad-loadmore" v-if="loadMoreFlag" @click="lazyLoadKnowledegList">{{$t('common.loadMore')}}</div>
161
+ <div class="ad-loadmore" v-if="loadMoreFlag" @click="lazyLoadKnowledegList">查看更多</div>
162
162
  </div>
163
163
  </template>
164
164
 
@@ -270,7 +270,7 @@ export default {
270
270
  previewOssPath: ""
271
271
  }
272
272
  },
273
- props: ['msg', 'isAskLightning', 'isMessageRecord', "isApp", "isHasChat", "activeKnowledgeId", "isLiBang","language"],
273
+ props: ['msg', 'isAskLightning', 'isMessageRecord', "isApp", "isHasChat", "activeKnowledgeId", "isLiBang"],
274
274
  beforeMounted () {
275
275
  },
276
276
  watch: {
@@ -431,8 +431,6 @@ export default {
431
431
  return 'VIDEO'
432
432
  } else if (fileType === '.html') {
433
433
  return 'HTML'
434
- } else if (fileType === '.png' || fileType === '.jpg' || fileType === '.jpeg') {
435
- return 'IMAGE'
436
434
  } else {
437
435
  return 'OTHER'
438
436
  }
@@ -1,9 +1,9 @@
1
1
  <!-- 消息记录容器 -->
2
2
  <template>
3
3
  <div id="conversation">
4
- <!-- <div v-for="(item,index) in processAction" :key="index">
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>
@@ -38,8 +38,8 @@
38
38
  </div> -->
39
39
 
40
40
  <!-- <text-message :text="text" @submitClick="submitClick"></text-message> -->
41
- <answer-docknowledge :isAskLightning="2" :msg="answerDocknowledge" :language="'cn'" :isLiBang="false"></answer-docknowledge>
42
- <welcomeSuggest :msg="welcomeSuggest" :language="'cn'"></welcomeSuggest>
41
+ <answer-docknowledge :isAskLightning="2" :msg="answerDocknowledge" :isLiBang="false"></answer-docknowledge>
42
+ <welcomeSuggest :msg="welcomeSuggest"></welcomeSuggest>
43
43
  <!-- <voice-component @closeVoice="closeVoice">
44
44
  <div slot="voiceTip">
45
45
  松开发送
@@ -47,9 +47,9 @@
47
47
  </voice-component>-->
48
48
  <!-- 点选 -->
49
49
  <!-- <div v-html="htmlContainer"></div> -->
50
- <answer-radio :msg="answerRadios" :language="'cn'"></answer-radio>
51
- <ticket-message :content="updateTicetmessageObj"></ticket-message>
52
- <ticket-message :content="contents"></ticket-message>
50
+ <answer-radio :msg="answerRadios"></answer-radio>
51
+ <!-- <ticket-message :content="updateTicetmessageObj"></ticket-message> -->
52
+ <!-- <ticket-message :content="contents"></ticket-message> -->
53
53
  <!--
54
54
  <action-send-to-bot :msg="answerRadios"></action-send-to-bot>
55
55
  <text-message :text="text" @submitClick="submitClick"></text-message>
@@ -259,7 +259,7 @@ export default {
259
259
  "knowledgeId": "658a93de63d378228271913a",
260
260
  "knowledgePartId": "ypZaqYwBD3jzLtPbz5K8",
261
261
  "from": "ppt_preview",
262
- "introduction": "Spark是什么Spark 是一个开源的大数据处理引擎,它提供了一整套开发 API,。",
262
+ "introduction": "Spark是什么Spark 是一个开源的大数据处理引擎,它提供了一整套开发 API,包括流计算和机器学习。它支持批处理和流处理。Spark 的一个显著特点是它能够在内存中进行迭代计算,从而加快数据处理速度。尽管 Spark 是用 Scala 开发的,但它也为 Java、Scala、Python 和 R 等高级编程语言提供了开发接口。",
263
263
  "previewImage": "https://askbot-pdf-all.oss-cn-zhangjiakou.aliyuncs.com/31623ccfe9dd4957bbd59c5823878bbe/2023/12/27/03/39/08/658b9c477cf604285f7cb81d/pdf-image-1913302477976388839.png"
264
264
  },
265
265
  {
@@ -579,6 +579,202 @@ export default {
579
579
  ]
580
580
  }
581
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
+ }
582
778
  ],
583
779
  apiKey: '123456789'
584
780
  },
@@ -4565,7 +4761,6 @@ export default {
4565
4761
  url:
4566
4762
  'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/08/24/07/35/41221223-c180-4f3f-bdc8-94875b693965/WeChat_20210719215122.mp4',
4567
4763
  videoFlag: false,
4568
- nodownload: false,
4569
4764
  videoUploadPercent: 0,
4570
4765
  isShowUploadVideo: true,
4571
4766
  recommend: {
@@ -80,7 +80,6 @@ export default {
80
80
  inputObj.setAttribute('id', '_ef');
81
81
  inputObj.setAttribute('type', 'file');
82
82
  inputObj.setAttribute('accept', '*')
83
- inputObj.setAttribute('capture', 'camcorder')
84
83
  inputObj.setAttribute('multiple', true)
85
84
  inputObj.setAttribute("style", 'visibility:hidden');
86
85
  document.body.appendChild(inputObj);
@@ -17,7 +17,7 @@
17
17
  )
18
18
  "
19
19
  >
20
- {{$t('actionSatisfaction.satisfaction')}}
20
+ 满意
21
21
  </div>
22
22
  <div
23
23
  class="statisfaction-item"
@@ -32,7 +32,7 @@
32
32
  )
33
33
  "
34
34
  >
35
- {{$t('actionSatisfaction.notSatisfied')}}
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',"language"],
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">{{$t('answerRadio.tip')}}</div>
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">{{$t('answerRadio.loadMore')}}</span>
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','language'],
35
+ props: ['msg'],
36
36
  mounted() {
37
37
  console.log(this.msg, 'msg');
38
38
  // 关键词推荐 前端分页
@@ -15,16 +15,13 @@
15
15
  :controlslist="nodownload&&'nodownload'"
16
16
  :raw-controls="true"
17
17
  x5-video-player-type="h5-page"
18
- style="object-fit: contain;width: calc(100vw - 169px);height: 160px;background-color: black;border-radius: 25px;max-width: 200px;padding-left: 10px"
18
+ style="object-fit: contain;width: calc(100vw - 139px);height: 160px;background-color: black;border-radius: 25px;max-width: 230px;padding-left: 10px"
19
19
  preload
20
20
  :poster="videoSrc+'?spm=qipa250&x-oss-process=video/snapshot,t_1000,f_jpg,w_0,h_0,m_fast'"
21
21
  class="video-player vjs-custom-skin"
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>
@@ -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>