askbot-dragon 1.6.76-beta → 1.6.76
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/README.md +27 -27
- package/babel.config.js +6 -6
- package/dragon.iml +7 -7
- package/package.json +58 -55
- package/public/index.html +75 -72
- package/public/pdfjs/cmaps/78-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/78-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/78-H.bcmap +0 -0
- package/public/pdfjs/cmaps/78-RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/78-RKSJ-V.bcmap +0 -0
- package/public/pdfjs/cmaps/78-V.bcmap +0 -0
- package/public/pdfjs/cmaps/78ms-RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/78ms-RKSJ-V.bcmap +0 -0
- package/public/pdfjs/cmaps/83pv-RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/90ms-RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/90ms-RKSJ-V.bcmap +0 -0
- package/public/pdfjs/cmaps/90msp-RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/90msp-RKSJ-V.bcmap +0 -0
- package/public/pdfjs/cmaps/90pv-RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/90pv-RKSJ-V.bcmap +0 -0
- package/public/pdfjs/cmaps/Add-H.bcmap +0 -0
- package/public/pdfjs/cmaps/Add-RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/Add-RKSJ-V.bcmap +0 -0
- package/public/pdfjs/cmaps/Add-V.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-CNS1-0.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-CNS1-1.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-CNS1-2.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-CNS1-3.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-CNS1-4.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-CNS1-5.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-CNS1-6.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-GB1-0.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-GB1-1.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-GB1-2.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-GB1-3.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-GB1-4.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-GB1-5.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Japan1-0.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Japan1-1.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Japan1-2.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Japan1-3.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Japan1-4.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Japan1-5.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Japan1-6.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Korea1-0.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Korea1-1.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Korea1-2.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- package/public/pdfjs/cmaps/B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/B5pc-H.bcmap +0 -0
- package/public/pdfjs/cmaps/B5pc-V.bcmap +0 -0
- package/public/pdfjs/cmaps/CNS-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/CNS-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/CNS1-H.bcmap +0 -0
- package/public/pdfjs/cmaps/CNS1-V.bcmap +0 -0
- package/public/pdfjs/cmaps/CNS2-H.bcmap +0 -0
- package/public/pdfjs/cmaps/CNS2-V.bcmap +3 -0
- package/public/pdfjs/cmaps/ETHK-B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/ETHK-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/ETen-B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/ETen-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/ETenms-B5-H.bcmap +3 -0
- package/public/pdfjs/cmaps/ETenms-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/Ext-H.bcmap +0 -0
- package/public/pdfjs/cmaps/Ext-RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/Ext-RKSJ-V.bcmap +0 -0
- package/public/pdfjs/cmaps/Ext-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GB-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/GB-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GB-H.bcmap +4 -0
- package/public/pdfjs/cmaps/GB-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GBK-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/GBK-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GBK2K-H.bcmap +0 -0
- package/public/pdfjs/cmaps/GBK2K-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GBKp-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/GBKp-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GBT-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/GBT-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GBT-H.bcmap +0 -0
- package/public/pdfjs/cmaps/GBT-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GBTpc-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/GBTpc-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GBpc-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/GBpc-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/H.bcmap +0 -0
- package/public/pdfjs/cmaps/HKdla-B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/HKdla-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/HKdlb-B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/HKdlb-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/HKgccs-B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/HKgccs-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/HKm314-B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/HKm314-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/HKm471-B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/HKm471-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/HKscs-B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/HKscs-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/Hankaku.bcmap +0 -0
- package/public/pdfjs/cmaps/Hiragana.bcmap +0 -0
- package/public/pdfjs/cmaps/KSC-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/KSC-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/KSC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/KSC-Johab-H.bcmap +0 -0
- package/public/pdfjs/cmaps/KSC-Johab-V.bcmap +0 -0
- package/public/pdfjs/cmaps/KSC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/KSCms-UHC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- package/public/pdfjs/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- package/public/pdfjs/cmaps/KSCms-UHC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/KSCpc-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/KSCpc-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/Katakana.bcmap +0 -0
- package/public/pdfjs/cmaps/LICENSE +36 -0
- package/public/pdfjs/cmaps/NWP-H.bcmap +0 -0
- package/public/pdfjs/cmaps/NWP-V.bcmap +0 -0
- package/public/pdfjs/cmaps/RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/RKSJ-V.bcmap +0 -0
- package/public/pdfjs/cmaps/Roman.bcmap +0 -0
- package/public/pdfjs/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniGB-UCS2-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniGB-UCS2-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniGB-UTF16-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniGB-UTF16-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniGB-UTF32-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniGB-UTF32-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniGB-UTF8-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniGB-UTF8-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniKS-UCS2-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniKS-UCS2-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniKS-UTF16-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniKS-UTF16-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniKS-UTF32-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniKS-UTF32-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniKS-UTF8-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniKS-UTF8-V.bcmap +0 -0
- package/public/pdfjs/cmaps/V.bcmap +0 -0
- package/public/pdfjs/cmaps/WP-Symbol.bcmap +0 -0
- package/public/pdfjs/standard_fonts/FoxitDingbats.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitFixed.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitFixedBold.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitFixedItalic.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSans.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSansBold.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSansBoldItalic.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSansItalic.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSerif.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSerifBold.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSerifItalic.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSymbol.pfb +0 -0
- package/public/pdfjs/standard_fonts/LICENSE_FOXIT +27 -0
- package/public/pdfjs/standard_fonts/LICENSE_LIBERATION +102 -0
- package/public/pdfjs/standard_fonts/LiberationSans-Bold.ttf +0 -0
- package/public/pdfjs/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
- package/public/pdfjs/standard_fonts/LiberationSans-Italic.ttf +0 -0
- package/public/pdfjs/standard_fonts/LiberationSans-Regular.ttf +0 -0
- package/src/App.vue +31 -31
- package/src/api/index.js +1 -1
- package/src/api/mock.http +2 -2
- package/src/api/requestUrl.js +185 -185
- package/src/assets/image/default_avt_ui.png +0 -0
- package/src/assets/image/filtType/audio.png +0 -0
- package/src/assets/image/filtType/excel1.png +0 -0
- package/src/assets/image/filtType/general.png +0 -0
- package/src/assets/image/filtType/html.png +0 -0
- package/src/assets/image/filtType/image1.png +0 -0
- package/src/assets/image/filtType/link.png +0 -0
- package/src/assets/image/filtType/md2.png +0 -0
- package/src/assets/image/filtType/mode.png +0 -0
- package/src/assets/image/filtType/news.png +0 -0
- package/src/assets/image/filtType/pdf1.png +0 -0
- package/src/assets/image/filtType/ppt1.png +0 -0
- package/src/assets/image/filtType/selfadd1.png +0 -0
- package/src/assets/image/filtType/txt1.png +0 -0
- package/src/assets/image/filtType/video.png +0 -0
- package/src/assets/image/filtType/wechat.png +0 -0
- package/src/assets/image/filtType/word1.png +0 -0
- package/src/assets/image/loading.gif +0 -0
- package/src/assets/js/AliyunlssUtil.js +117 -92
- package/src/assets/js/Base64Util.js +22 -22
- package/src/assets/js/common.js +287 -252
- package/src/assets/js/hammer.js +89 -100
- package/src/assets/js/script.js +36 -36
- package/src/assets/less/common.css +6773 -6773
- package/src/assets/less/converSationContainer/common.less +192 -199
- package/src/assets/less/converSationContainer/converSatonContainer.less +486 -493
- package/src/assets/less/iconfont.css +37 -37
- package/src/assets/less/ticketMessage.less +294 -294
- package/src/assets/less/variables.less +122 -0
- package/src/components/ActionAlertIframe.vue +155 -177
- package/src/components/AiGuide.vue +473 -466
- package/src/components/AnswerDocknowledge.vue +1207 -1059
- package/src/components/AnswerVoice.vue +286 -285
- package/src/components/AskIFrame.vue +15 -15
- package/src/components/ConversationContainer.vue +10880 -4934
- package/src/components/FileType.vue +86 -86
- package/src/components/Message.vue +27 -27
- package/src/components/MyEditor.vue +343 -351
- package/src/components/QwFeedback.vue +304 -0
- package/src/components/actionSatisfaction.vue +109 -107
- package/src/components/actionSendToBot.vue +64 -62
- package/src/components/answerDissatisfaction.vue +64 -62
- package/src/components/answerRadio.vue +261 -186
- package/src/components/ask-components/DissatisfactionOptions.vue +58 -57
- package/src/components/ask-components/Msgloading.vue +38 -37
- package/src/components/ask-components/SatisfactionV2.vue +15 -15
- package/src/components/askVideo.vue +214 -162
- package/src/components/assetDetails.vue +379 -378
- package/src/components/assetMessage.vue +231 -228
- package/src/components/associationIntention.vue +414 -355
- package/src/components/attachmentPreview.vue +92 -90
- package/src/components/botActionSatisfactor.vue +70 -68
- package/src/components/chatContent.vue +514 -513
- package/src/components/feedBack.vue +138 -136
- package/src/components/fielListView.vue +352 -351
- package/src/components/file/AliyunOssComponents.vue +108 -108
- package/src/components/formTemplate.vue +3517 -3572
- package/src/components/imgView.vue +32 -0
- package/src/components/intelligentSummary.vue +232 -227
- package/src/components/interruptComponents/imageSelectionAnswer.vue +203 -0
- package/src/components/interruptComponents/multipleChoiceAnswer.vue +134 -0
- package/src/components/interruptComponents/singleChoiceAnswer.vue +82 -0
- package/src/components/kkview.vue +1130 -1138
- package/src/components/loadingProcess.vue +164 -164
- package/src/components/markDownText.vue +961 -0
- package/src/components/message/ActionAlertIframe.vue +112 -112
- package/src/components/message/ShopMessage.vue +164 -164
- package/src/components/message/TextMessage.vue +926 -924
- package/src/components/message/TicketMessage.vue +201 -201
- package/src/components/message/swiper/index.js +4 -4
- package/src/components/message/swiper/ticketSwiper.vue +503 -503
- package/src/components/message/swiper/ticketSwiperItem.vue +61 -61
- package/src/components/msgLoading.vue +231 -231
- package/src/components/myPopup.vue +75 -70
- package/src/components/outputComponents/outputCom.vue +149 -0
- package/src/components/pagination.vue +130 -0
- package/src/components/pdfPosition.vue +1337 -1506
- package/src/components/popup.vue +230 -227
- package/src/components/preview/docView.vue +263 -0
- package/src/components/preview/excelView.vue +260 -0
- package/src/components/preview/markDownView.vue +70 -0
- package/src/components/preview/newPositionPreview.vue +601 -0
- package/src/components/preview/pdfView.vue +973 -0
- package/src/components/previewDoc.vue +253 -247
- package/src/components/previewPdf.vue +1106 -757
- package/src/components/previewWisdom.vue +252 -0
- package/src/components/receiverMessagePlatform.vue +71 -65
- package/src/components/recommend.vue +82 -80
- package/src/components/selector/hOption.vue +20 -20
- package/src/components/selector/hSelector.vue +199 -199
- package/src/components/selector/hWrapper.vue +216 -216
- package/src/components/senderMessagePlatform.vue +60 -50
- package/src/components/source/BotMessage.vue +24 -24
- package/src/components/source/CustomMessage.vue +24 -24
- package/src/components/test.vue +260 -260
- package/src/components/tree.vue +310 -295
- package/src/components/utils/AliyunIssUtil.js +103 -81
- package/src/components/utils/ckeditor.js +185 -174
- package/src/components/utils/format_date.js +25 -25
- package/src/components/utils/index.js +6 -6
- package/src/components/utils/math_utils.js +29 -29
- package/src/components/voiceComponent.vue +122 -119
- package/src/components/welcomeKnowledgeFile.vue +346 -340
- package/src/components/welcomeLlmCard.vue +142 -140
- package/src/components/welcomeSuggest.vue +99 -97
- package/src/locales/cn.json +100 -0
- package/src/locales/en.json +99 -0
- package/src/main.js +76 -57
- package/vue.config.js +54 -54
- package/src/components/newPdfPosition.vue +0 -878
|
@@ -1,1059 +1,1207 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
isLiBang 字段判断 是否为立邦主体
|
|
3
|
-
立邦有自己单独的组件分支,但考虑到后期结构改动如果较大改动会不方便,所以还是在推荐知识消息中 在此判断是否是立邦主体。方便后期维护
|
|
4
|
-
-->
|
|
5
|
-
<template>
|
|
6
|
-
<div class="answer-docknowledge">
|
|
7
|
-
<div :class="['answer-docknowledge-header', msg.content.isKnowledgeSummary ? 'bgc' : '']">
|
|
8
|
-
<div v-if="msg.content.isKnowledgeSummary" class="tips">
|
|
9
|
-
<!-- <div v-if="msg.content.type == 0" class="answer-text">
|
|
10
|
-
<template v-if="msg.content.renderType == 1">
|
|
11
|
-
<p v-html="msg.content.text"></p>
|
|
12
|
-
</template>
|
|
13
|
-
<template v-else>{{ msg.content.text }}</template>
|
|
14
|
-
</div> -->
|
|
15
|
-
<div class="answer-text">
|
|
16
|
-
<template v-if="msg.content.renderType == 1">
|
|
17
|
-
<p v-html="msg.content.text"></p>
|
|
18
|
-
</template>
|
|
19
|
-
<template v-else
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
<
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
</
|
|
102
|
-
<div v-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
<span class="
|
|
135
|
-
<
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
<div class="
|
|
146
|
-
<img
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
</
|
|
170
|
-
|
|
171
|
-
<
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
},
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
//
|
|
311
|
-
|
|
312
|
-
//
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
this.
|
|
349
|
-
this.
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
this.
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
},
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
.alc-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
overflow: hidden;
|
|
776
|
-
text-overflow: ellipsis;
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
display:
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
// font-size:
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1
|
+
<!--
|
|
2
|
+
isLiBang 字段判断 是否为立邦主体
|
|
3
|
+
立邦有自己单独的组件分支,但考虑到后期结构改动如果较大改动会不方便,所以还是在推荐知识消息中 在此判断是否是立邦主体。方便后期维护
|
|
4
|
+
-->
|
|
5
|
+
<template>
|
|
6
|
+
<div class="answer-docknowledge">
|
|
7
|
+
<div :class="['answer-docknowledge-header', msg.content.isKnowledgeSummary ? 'bgc' : '']">
|
|
8
|
+
<div v-if="msg.content.isKnowledgeSummary" class="tips">{{$t('dragonCommon.summaryGeneratedByAI')}}</div>
|
|
9
|
+
<!-- <div v-if="msg.content.type == 0" class="answer-text">
|
|
10
|
+
<template v-if="msg.content.renderType == 1">
|
|
11
|
+
<p v-html="msg.content.text"></p>
|
|
12
|
+
</template>
|
|
13
|
+
<template v-else>{{ msg.content.text }}</template>
|
|
14
|
+
</div> -->
|
|
15
|
+
<div class="answer-text">
|
|
16
|
+
<template v-if="msg.content.renderType == 1">
|
|
17
|
+
<p v-html="msg.content.text"></p>
|
|
18
|
+
</template>
|
|
19
|
+
<template v-else-if="msg.content.renderType == 2">
|
|
20
|
+
<!-- <markDownText :chainValues="msg.content.text" :isHistory="isHistory"></markDownText> -->
|
|
21
|
+
<markDownText
|
|
22
|
+
:chainValues="msg.content.text || ''"
|
|
23
|
+
:whetherRequestStream="msg.content.whetherRequestStream"
|
|
24
|
+
@sseOtherInfo="sseOtherInfo"
|
|
25
|
+
@answerDocKnowledgeFn="answerDocKnowledgeFn"
|
|
26
|
+
:streamRequestUrl="msg.content.streamRequestUrl"
|
|
27
|
+
:msgId="msg.id"
|
|
28
|
+
:isHistory="isHistory">
|
|
29
|
+
</markDownText>
|
|
30
|
+
</template>
|
|
31
|
+
<template v-else-if="msg.content.renderType == null">
|
|
32
|
+
<!-- <markDownText :chainValues="msg.content.text" :isHistory="isHistory"></markDownText> -->
|
|
33
|
+
<markDownText
|
|
34
|
+
:chainValues="msg.content.text || ''"
|
|
35
|
+
:whetherRequestStream="msg.content.whetherRequestStream"
|
|
36
|
+
@sseOtherInfo="sseOtherInfo"
|
|
37
|
+
@answerDocKnowledgeFn="answerDocKnowledgeFn"
|
|
38
|
+
:streamRequestUrl="msg.content.streamRequestUrl"
|
|
39
|
+
:msgId="msg.id"
|
|
40
|
+
:isHistory="isHistory">
|
|
41
|
+
</markDownText>
|
|
42
|
+
</template>
|
|
43
|
+
<template v-else>{{ msg.content.text }}</template>
|
|
44
|
+
</div>
|
|
45
|
+
<template v-if="isPC">
|
|
46
|
+
<div v-if="msg.content.images && msg.content.images.length != 0" class="answer-kn-image-box-pc">
|
|
47
|
+
<img v-for="(imageItem, imageItemIndex) in msg.content.images"
|
|
48
|
+
style="max-width: 230px;" :src="imageItem.url"
|
|
49
|
+
v-show="showImage || imageItemIndex < 2"
|
|
50
|
+
:key="imageItemIndex" alt @click="lookAttach(imageItem.url, imageItem, $event)" />
|
|
51
|
+
<div class="img-placeholder" v-if="msg.content.images.length > 2 && !showImage" @click="showImage = true">
|
|
52
|
+
+{{ msg.content.images.length - 2 }}
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
</template>
|
|
56
|
+
<template v-else>
|
|
57
|
+
<div v-if="msg.content.images && msg.content.images.length != 0" class="answer-kn-image-box-mobile">
|
|
58
|
+
<img v-for="(imageItem, imageItemIndex) in msg.content.images"
|
|
59
|
+
style="max-width: 230px;" :src="imageItem.url"
|
|
60
|
+
:key="imageItemIndex" alt @click="lookAttach(imageItem.url, imageItem, $event)" />
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
63
|
+
</div>
|
|
64
|
+
<template v-if="!isLiBang">
|
|
65
|
+
<div class="ad-list" :class="msg.content.type == 0 || msg.content.type == 2 ? 'ad-list-recognition' : ''">
|
|
66
|
+
<template v-if="msg.content.type == 1">
|
|
67
|
+
<div v-for="(item, itemIndex) in msg.content.list" :key="itemIndex"
|
|
68
|
+
:style="{ paddingBottom: itemIndex === msg.content.list.length - 1 ? 0 : '10px' }" class="ad-list-cell">
|
|
69
|
+
<div class="alc-title">
|
|
70
|
+
<div class="alc-box">
|
|
71
|
+
<div class="alc-source-left">
|
|
72
|
+
<span class="source-form">{{$t('dragonCommon.from')}}</span>
|
|
73
|
+
<img class="alc-title-icon" height="24px" width="24px" :src="getIconSrc(item)" alt=""
|
|
74
|
+
srcset="">
|
|
75
|
+
<span class="alc-title-from">{{ item.from }}</span>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
<div v-html="item.introduction" v-if="!srcContentTypeIMG(item)" class="alc-box-introduction">
|
|
79
|
+
</div>
|
|
80
|
+
<div v-else class="alc-box-introduction">
|
|
81
|
+
<img :src="item.expiredUrl" alt="" @click="lookAttach(item.url, item, $event)">
|
|
82
|
+
</div>
|
|
83
|
+
<div v-if="item.previewImage" class="alc-box-introduction-previewImage">
|
|
84
|
+
<img :src="item.previewImage" alt=""
|
|
85
|
+
@click="lookAttach(item.previewImage, { url: item.previewImage }, $event)">
|
|
86
|
+
</div>
|
|
87
|
+
<div class="alc-updateTime">
|
|
88
|
+
<div v-show="docSource[item.source]" class="upload-source">
|
|
89
|
+
{{ docSource[item.source] }}
|
|
90
|
+
</div>
|
|
91
|
+
<div v-show="item.url" class="alc-content-text">
|
|
92
|
+
<span @click="lookAttach(item.url, item, $event)" class="aci-view">{{$t('dragonCommon.check')}} ></span>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="alc-content" v-if="false">
|
|
97
|
+
<div v-if="msg.content.type == 1" class="alc-content-text">
|
|
98
|
+
{{ item.introduction }}
|
|
99
|
+
<span @click="lookAttach(item.url, item, $event)" class="aci-view">{{$t('dragonCommon.viewOriginal')}} ></span>
|
|
100
|
+
</div>
|
|
101
|
+
<span v-if="!isPC" class="alc-title-updateTime">{{$t('dragonCommon.lastUpdateTime')}}: {{ item.updateTime }}</span>
|
|
102
|
+
<div v-if="false" class="alc-content-info">
|
|
103
|
+
<div class="alcc-box">
|
|
104
|
+
<span class="aci-owner">{{$t('dragonCommon.owner')}}: {{ item.owner }}</span>
|
|
105
|
+
<span class="aci-enterprise">{{$t('dragonCommon.enterprise')}}: {{ item.enterprise }}</span>
|
|
106
|
+
<span class="aci-source">{{$t('dragonCommon.source')}}: {{ item.source }}</span>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
</div>
|
|
111
|
+
</template>
|
|
112
|
+
<template v-if="msg.content.type == 0 || msg.content.type == 2">
|
|
113
|
+
<div v-for="(item, itemIndex) in msg.content.list" :key="itemIndex" class="ad-list-cell-recognition" :id="item.knowledgeId + knowledgeIndex">
|
|
114
|
+
<div class="alc-source-name" @click="lookAttach(item.url, item, $event)">
|
|
115
|
+
<img class="alc-title-icon" height="18px" width="18px" :src="getIconSrc(item)" alt srcset />
|
|
116
|
+
<span class="alc-title-from">{{ item.from }}</span>
|
|
117
|
+
<div v-show="docSource[item.source]" class="upload-source">
|
|
118
|
+
-{{ docSource[item.source] }}
|
|
119
|
+
</div>
|
|
120
|
+
<i class="iconfont guoran-right"></i>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
</template>
|
|
124
|
+
<div class="ad-loadmore" v-if="loadMoreFlag" @click="lazyLoadKnowledegList">{{$t('dragonCommon.viewMore')}}</div>
|
|
125
|
+
</div>
|
|
126
|
+
</template>
|
|
127
|
+
<template v-if="isLiBang">
|
|
128
|
+
<div class="libang_list" :class="msg.content.type == 0 ? 'libang_list_recognition' : ''">
|
|
129
|
+
<template v-if="msg.content.type == 1">
|
|
130
|
+
<div v-for="(item, itemIndex) in msg.content.list" :key="itemIndex" class="libang_list_cell">
|
|
131
|
+
<div class="libang_title">
|
|
132
|
+
<div class="libang_box">
|
|
133
|
+
<div class="libang_source_left">
|
|
134
|
+
<span class="source-form">{{$t('dragonCommon.from')}}</span>
|
|
135
|
+
<img class="libang_title_icon" height="24px" width="24px" :src="getIconSrc(item)" alt=""
|
|
136
|
+
srcset="">
|
|
137
|
+
<span class="libang_title_from">{{ item.from }}</span>
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
<div v-html="item.introduction" v-if="!srcContentTypeIMG(item)" class="libang_box_introduction">
|
|
141
|
+
</div>
|
|
142
|
+
<div v-else class="libang_box_introduction">
|
|
143
|
+
<img :src="item.expiredUrl" alt="" @click="lookAttach(item.url, item, $event)">
|
|
144
|
+
</div>
|
|
145
|
+
<div v-if="item.previewImage" class="libang_box_introduction_previewImage">
|
|
146
|
+
<img :src="item.previewImage" alt=""
|
|
147
|
+
@click="lookAttach(item.previewImage, { url: item.previewImage }, $event)">
|
|
148
|
+
</div>
|
|
149
|
+
<div class="libang_updateTime">
|
|
150
|
+
<div class="libang_updataTime_left">
|
|
151
|
+
<div v-show="docSource[item.source]" class="upload-source">
|
|
152
|
+
{{ docSource[item.source] }}
|
|
153
|
+
</div>
|
|
154
|
+
<div class="libang_floder" @click.stop="clickFloder(item)">
|
|
155
|
+
<i class="iconfont guoran-tongyichicun-wenjianjia-zhankaizhuangtai--folderOpen"></i>
|
|
156
|
+
{{ item.folderName }}
|
|
157
|
+
</div>
|
|
158
|
+
</div>
|
|
159
|
+
<div v-show="item.url" class="libang_content_text">
|
|
160
|
+
<span @click="lookAttach(item.url, item, $event)" class="aci-view">{{$t('dragonCommon.check')}} ></span>
|
|
161
|
+
</div>
|
|
162
|
+
</div>
|
|
163
|
+
</div>
|
|
164
|
+
<!-- <div class="alc-content" v-if="false">
|
|
165
|
+
<div v-if="msg.content.type == 1" class="alc-content-text">
|
|
166
|
+
{{ item.introduction }}
|
|
167
|
+
<span @click="lookAttach(item.url, item, $event)" class="aci-view">查看原文 ></span>
|
|
168
|
+
</div>
|
|
169
|
+
<span v-if="!isPC" class="alc-title-updateTime">最后更新时间: {{ item.updateTime }}</span>
|
|
170
|
+
<div v-if="false" class="alc-content-info">
|
|
171
|
+
<div class="alcc-box">
|
|
172
|
+
<span class="aci-owner">所有者: {{ item.owner }}</span>
|
|
173
|
+
<span class="aci-enterprise">所属企业: {{ item.enterprise }}</span>
|
|
174
|
+
<span class="aci-source">文件来源: {{ item.source }}</span>
|
|
175
|
+
</div>
|
|
176
|
+
</div>
|
|
177
|
+
</div> -->
|
|
178
|
+
</div>
|
|
179
|
+
</template>
|
|
180
|
+
<template v-if="msg.content.type == 0 || msg.content.type == 2">
|
|
181
|
+
<div v-for="(item, itemIndex) in msg.content.list" :key="itemIndex"
|
|
182
|
+
class="libang_list_cell_recognition" @click="lookAttach(item.url, item, $event)" :id="item.knowledgeId + knowledgeIndex">
|
|
183
|
+
<div class="libang_list_cell_left" >
|
|
184
|
+
<div class="libang_source_name" >
|
|
185
|
+
<img class="libang_title_icon" height="18px" width="18px" :src="getIconSrc(item)" alt srcset />
|
|
186
|
+
<span class="libang_title_from">{{ item.from }}</span>
|
|
187
|
+
<div v-show="docSource[item.source]" class="upload_source">
|
|
188
|
+
-{{ docSource[item.source] }}
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
<div class="libang_source_floder" @click.stop="clickFloder(item)">
|
|
192
|
+
<i class="iconfont guoran-tongyichicun-wenjianjia-zhankaizhuangtai--folderOpen"></i>
|
|
193
|
+
{{ item.folderName }}
|
|
194
|
+
</div>
|
|
195
|
+
</div>
|
|
196
|
+
<i class="iconfont guoran-right" @click="lookAttach(item.url, item, $event)"></i>
|
|
197
|
+
</div>
|
|
198
|
+
</template>
|
|
199
|
+
<div class="ad-loadmore" v-if="loadMoreFlag" @click="lazyLoadKnowledegList">{{$t('dragonCommon.viewMore')}}</div>
|
|
200
|
+
</div>
|
|
201
|
+
</template>
|
|
202
|
+
|
|
203
|
+
<previewPdf ref="previewPdf" :url="previewHref" :previewOssPath="previewOssPath" :title="title"
|
|
204
|
+
:folderName="folderName" :folderUrl="folderUrl"
|
|
205
|
+
:sourceFileType="sourceFileType" officePreviewType="pdf" @previewToDialog="previewToDialog"
|
|
206
|
+
@recommendQues="recommendQues" @close="close" @open="open" :isHasChat="isHasChat"
|
|
207
|
+
:knowledgeId="previewKnowledgeId" :isLiBang="isLiBang" @previewClickFloder="previewClickFloder"></previewPdf>
|
|
208
|
+
</div>
|
|
209
|
+
</template>
|
|
210
|
+
|
|
211
|
+
<script>
|
|
212
|
+
/* eslint-disable */
|
|
213
|
+
import previewPdf from "./previewPdf";
|
|
214
|
+
import { isMobile } from "../assets/js/common";
|
|
215
|
+
import markDownText from "./markDownText.vue";
|
|
216
|
+
export default {
|
|
217
|
+
name: "answerDocknowledge",
|
|
218
|
+
components: { previewPdf, markDownText },
|
|
219
|
+
data () {
|
|
220
|
+
return {
|
|
221
|
+
isPC: true,
|
|
222
|
+
previewHref: "",
|
|
223
|
+
sourceFileType: '',
|
|
224
|
+
// docSource: {
|
|
225
|
+
// LOCAL_FILE: "来源于本地文件",
|
|
226
|
+
// CREATED_BY_ONESELF: "来源于自建知识",
|
|
227
|
+
// WECHAT: "来源于微信",
|
|
228
|
+
// AUTO_SYN_FROM_LOCAL_FILE: "自动同步于本地",
|
|
229
|
+
// YUQUE: "来源于语雀",
|
|
230
|
+
// CORP_LOCAL_FILE: '来源于企业知识库',
|
|
231
|
+
// FEISHU: '来源于飞书-云文档'
|
|
232
|
+
// },
|
|
233
|
+
docSource: {},
|
|
234
|
+
imageObj: {
|
|
235
|
+
PDF: 'pdf1',
|
|
236
|
+
pdf: 'pdf1',
|
|
237
|
+
TXT: 'txt1',
|
|
238
|
+
txt: 'txt1',
|
|
239
|
+
selfadd: 'selfadd1',
|
|
240
|
+
md: "md2",
|
|
241
|
+
html: 'selfadd1',
|
|
242
|
+
mode: "mode",
|
|
243
|
+
general: 'general',
|
|
244
|
+
word: "word1",
|
|
245
|
+
Word: "word1",
|
|
246
|
+
docx: "word1",
|
|
247
|
+
doc: "word1",
|
|
248
|
+
WORD: "word1",
|
|
249
|
+
Excel: 'excel1',
|
|
250
|
+
EXCEL: 'excel1',
|
|
251
|
+
excel: 'excel1',
|
|
252
|
+
PPT: 'ppt1',
|
|
253
|
+
ppt: 'ppt1',
|
|
254
|
+
pptx: 'ppt1',
|
|
255
|
+
img: "image1",
|
|
256
|
+
image: "image1",
|
|
257
|
+
video: "video",
|
|
258
|
+
audio: 'audio',
|
|
259
|
+
link: "link",
|
|
260
|
+
wechat: "wechat",
|
|
261
|
+
mp4: "video",
|
|
262
|
+
MP4: "video",
|
|
263
|
+
xlsx: "excel1",
|
|
264
|
+
XLSX: "excel1",
|
|
265
|
+
xls: "excel1",
|
|
266
|
+
XLS: "excel1",
|
|
267
|
+
jpg: "image1",
|
|
268
|
+
JPG: "image1",
|
|
269
|
+
jpeg: "image1",
|
|
270
|
+
JPEG: "image1",
|
|
271
|
+
png: "image1",
|
|
272
|
+
PNG: "image1",
|
|
273
|
+
webp: "image1",
|
|
274
|
+
WEBP: "image1",
|
|
275
|
+
gif: "image1",
|
|
276
|
+
GIF: "image1",
|
|
277
|
+
svg: "image1",
|
|
278
|
+
SVG: "image1",
|
|
279
|
+
bmp: "image1",
|
|
280
|
+
BMP: "image1",
|
|
281
|
+
avi: "video",
|
|
282
|
+
AVI: "video",
|
|
283
|
+
mov: "video",
|
|
284
|
+
MOV: "video",
|
|
285
|
+
rmvb: "video",
|
|
286
|
+
RMVB: "video",
|
|
287
|
+
wav: "audio",
|
|
288
|
+
WAV: "audio",
|
|
289
|
+
mp3: "audio",
|
|
290
|
+
MP3: "audio",
|
|
291
|
+
yqhtml: "yqhtml",
|
|
292
|
+
feishuhtml: "feishuhtml"
|
|
293
|
+
},
|
|
294
|
+
allKnowledgeList: [],
|
|
295
|
+
loadMoreFlag: false,
|
|
296
|
+
title: '',
|
|
297
|
+
folderName: '',
|
|
298
|
+
folderUrl: '',
|
|
299
|
+
previewKnowledgeId: "",
|
|
300
|
+
previewKnowledge: {},
|
|
301
|
+
previewOssPath: "",
|
|
302
|
+
showImage: false
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
props: ['msg', 'isAskLightning', 'isMessageRecord', "isApp", "isHasChat", "activeKnowledgeId", "isLiBang","isHistory","knowledgeIndex"],
|
|
306
|
+
beforeMounted () {
|
|
307
|
+
},
|
|
308
|
+
watch: {
|
|
309
|
+
// msg: {
|
|
310
|
+
// handler (n) {
|
|
311
|
+
// console.log(n, 'answerDocknowledge');
|
|
312
|
+
// n.content.list.forEach(element => {
|
|
313
|
+
// console.log(this.imageObj[element.format], 1111);
|
|
314
|
+
// element.src = 'https://static.guoranbot.com/cdn-office-website/askbot_doc/' + this.imageObj[element.format] + '.png';
|
|
315
|
+
// if ((element.format === "txt" || element.format === "html") && element.source === "WECHAT") {
|
|
316
|
+
// element.src = 'https://static.guoranbot.com/cdn-office-website/askbot_doc/wechat.png';
|
|
317
|
+
// }
|
|
318
|
+
// });
|
|
319
|
+
// },
|
|
320
|
+
// deep: true,
|
|
321
|
+
// immediate: true
|
|
322
|
+
// }
|
|
323
|
+
},
|
|
324
|
+
created () {
|
|
325
|
+
// var system = {};
|
|
326
|
+
// system.pingtai = /(Win32|Win16|WinCE|Mac68K|MacIntel|MacIntel|MacPPC|Linux mips64)/i.test(navigator.platform);
|
|
327
|
+
// if (system.pingtai) {
|
|
328
|
+
// //电脑
|
|
329
|
+
// this.isPC = true;
|
|
330
|
+
// } else {
|
|
331
|
+
// //手机
|
|
332
|
+
// this.isPC = false;
|
|
333
|
+
// }
|
|
334
|
+
this.isPC = !isMobile()
|
|
335
|
+
// this.msg.content.list.forEach(element => {
|
|
336
|
+
// console.log(this.imageObj[element.format],1111);
|
|
337
|
+
// element.src = 'https://static.guoranbot.com/cdn-office-website/askbot_doc/' + this.imageObj[element.format] + '.png';
|
|
338
|
+
// if ((element.format === "txt" || element.format === "html") && element.source === "WECHAT") {
|
|
339
|
+
// element.src = 'https://static.guoranbot.com/cdn-office-website/askbot_doc/wechat.png';
|
|
340
|
+
// }
|
|
341
|
+
// });
|
|
342
|
+
},
|
|
343
|
+
mounted () {
|
|
344
|
+
this.$i18n.locale = sessionStorage.getItem("systemLanguage") || 'cn';
|
|
345
|
+
this.docSource = {
|
|
346
|
+
LOCAL_FILE: this.$t('dragonCommon.personalknowledge'),
|
|
347
|
+
CREATED_BY_ONESELF: this.$t('dragonCommon.personalknowledge'),
|
|
348
|
+
WECHAT: this.$t('dragonCommon.personalknowledge'),
|
|
349
|
+
AUTO_SYN_FROM_LOCAL_FILE: this.$t('dragonCommon.personalknowledge'),
|
|
350
|
+
YUQUE: this.$t('dragonCommon.enterpriseknowledge'),
|
|
351
|
+
CORP_LOCAL_FILE: this.$t('dragonCommon.enterpriseknowledge'),
|
|
352
|
+
FEISHU: this.$t('dragonCommon.enterpriseknowledge'),
|
|
353
|
+
}
|
|
354
|
+
console.log(this.msg.content, 'this.msg.content');
|
|
355
|
+
// if(this.msg.content.type == 1) {
|
|
356
|
+
|
|
357
|
+
// }
|
|
358
|
+
if (this.msg.content.list && this.msg.content.list.length > 0) {
|
|
359
|
+
this.loadMoreFlag = true
|
|
360
|
+
this.allKnowledgeList = JSON.parse(JSON.stringify(this.msg.content.list))
|
|
361
|
+
// console.log(this.allKnowledgeList.length, 'this.allKnowledgeList');
|
|
362
|
+
this.msg.content.list = []
|
|
363
|
+
this.lazyLoadKnowledegList()
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
methods: {
|
|
367
|
+
answerDocKnowledgeFn(){
|
|
368
|
+
console.log(
|
|
369
|
+
"answerDocKnowledgeFn 2"
|
|
370
|
+
);
|
|
371
|
+
this.$emit('answerDocKnowledgeFn');
|
|
372
|
+
},
|
|
373
|
+
// 知识类型消息 推荐、关联文档、图片
|
|
374
|
+
sseOtherInfo(msgId, eventId, data){
|
|
375
|
+
if (eventId === "matched") {
|
|
376
|
+
console.log("matched: ", this.msg.content.type);
|
|
377
|
+
|
|
378
|
+
if (JSON.parse(data.content).length > 0) {
|
|
379
|
+
this.$set(this.msg.content, "list", JSON.parse(data.content));
|
|
380
|
+
}
|
|
381
|
+
} else {
|
|
382
|
+
this.$emit("sseOtherInfo",msgId, eventId, data);
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
getIconSrc (element) {
|
|
386
|
+
if ((element.format === "txt" || element.format === "html") && element.source === "WECHAT") {
|
|
387
|
+
return require("../assets/image/filtType/wechat.png")
|
|
388
|
+
} else if (element.format !== 'url'){
|
|
389
|
+
return require("../assets/image/filtType/" + this.imageObj[element.format] + '.png')
|
|
390
|
+
|
|
391
|
+
} else if (element.format === 'url'){
|
|
392
|
+
return require("../assets/image/filtType/" + 'html.png')
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
//预览图片
|
|
396
|
+
lookAttach (url, item, event) {
|
|
397
|
+
// console.log(item.knowledgeId);
|
|
398
|
+
// this.$http.get("/knowledge-api/internal/knowledgeBaseStructure/" + "642ffbccde420e2772f7787b")
|
|
399
|
+
// debugger
|
|
400
|
+
event.preventDefault();
|
|
401
|
+
if (this.isAskLightning == 1 && !this.isApp) {
|
|
402
|
+
window.parent.postMessage({
|
|
403
|
+
data: "bot_preview",
|
|
404
|
+
item: JSON.stringify(item),
|
|
405
|
+
url: url
|
|
406
|
+
}, "*");
|
|
407
|
+
} else {
|
|
408
|
+
// if (isMobile()) {
|
|
409
|
+
// this.$refs.previewPdf.drawer = true;
|
|
410
|
+
// this.$refs.previewPdf.previewShowPopup = false;
|
|
411
|
+
// } else {
|
|
412
|
+
// this.$refs.previewPdf.drawer = false;
|
|
413
|
+
// }
|
|
414
|
+
//该事件是为了打开新的弹框时关闭上一个弹框
|
|
415
|
+
window.parent.postMessage({
|
|
416
|
+
type: "close_drawer",
|
|
417
|
+
data:this.knowledgeIndex
|
|
418
|
+
}, "*");
|
|
419
|
+
this.title = item.from || item.name
|
|
420
|
+
this.folderName = item.folderName
|
|
421
|
+
this.folderUrl = item.folderUrl
|
|
422
|
+
this.previewKnowledge = item;
|
|
423
|
+
this.previewKnowledgeId = item.knowledgeId
|
|
424
|
+
this.$refs.previewPdf.previewShowPopup = false;
|
|
425
|
+
this.$refs.previewPdf.drawer = false;
|
|
426
|
+
this.previewOssPath = url;
|
|
427
|
+
let index = url.lastIndexOf('?')
|
|
428
|
+
let type = ''
|
|
429
|
+
let httpUrl = '/knowledge-api/knowledge/getTemporaryCertificate'
|
|
430
|
+
if (index !== -1) {
|
|
431
|
+
url = url.substring(0, index)
|
|
432
|
+
type = this.fileType(url)
|
|
433
|
+
} else {
|
|
434
|
+
type = this.fileType(url)
|
|
435
|
+
}
|
|
436
|
+
if (type === '' || type === 'OTHER' || type == 'IMAGE') {
|
|
437
|
+
httpUrl = httpUrl += '?needEncrypt=true'
|
|
438
|
+
} else {
|
|
439
|
+
httpUrl = httpUrl += '?needEncrypt=false'
|
|
440
|
+
}
|
|
441
|
+
this.$refs.previewPdf.getOssPath(url);
|
|
442
|
+
this.$http.post(httpUrl, {
|
|
443
|
+
"fileInOssPath": url
|
|
444
|
+
}).then(res => {
|
|
445
|
+
if (res.data.code == '0') {
|
|
446
|
+
this.previewHref = res.data.data;
|
|
447
|
+
this.sourceFileType = url.substring(url.lastIndexOf('.'))
|
|
448
|
+
let isOhmPc = sessionStorage.getItem('isOhmPc')
|
|
449
|
+
if (isMobile() || isOhmPc == 'true') {
|
|
450
|
+
this.$refs.previewPdf.drawer = true;
|
|
451
|
+
this.$refs.previewPdf.previewShowPopup = true;
|
|
452
|
+
} else {
|
|
453
|
+
this.$refs.previewPdf.previewShowPopup = false;
|
|
454
|
+
this.$refs.previewPdf.drawer = true;
|
|
455
|
+
}
|
|
456
|
+
//聊一聊按钮的选中状态
|
|
457
|
+
if (this.activeKnowledgeId == item.knowledgeId) {
|
|
458
|
+
this.$refs.previewPdf.previewKnowledgeId = this.activeKnowledgeId
|
|
459
|
+
} else {
|
|
460
|
+
this.$refs.previewPdf.previewKnowledgeId = ""
|
|
461
|
+
}
|
|
462
|
+
this.$refs.previewPdf.fileType = type
|
|
463
|
+
this.$refs.previewPdf.tagIds = item.tagIds;
|
|
464
|
+
if (item.tagIds && item.tagIds.length > 0){
|
|
465
|
+
this.$refs.previewPdf.getLocationInfo();
|
|
466
|
+
}
|
|
467
|
+
this.$refs.previewPdf.isMessageRecord = this.isMessageRecord ? true : false;
|
|
468
|
+
let index = url.indexOf("?");
|
|
469
|
+
let newFileInOssPath = url;
|
|
470
|
+
if (index !== -1) {
|
|
471
|
+
newFileInOssPath = url.substring(0, url.indexOf("?"))
|
|
472
|
+
}
|
|
473
|
+
let fileName = newFileInOssPath.substring(newFileInOssPath.lastIndexOf('.'))
|
|
474
|
+
if (fileName === '.doc' || fileName === '.docx' || fileName === '.txt' || fileName === '.html') {
|
|
475
|
+
this.$refs.previewPdf.fileName = fileName;
|
|
476
|
+
} else {
|
|
477
|
+
this.$refs.previewPdf.fileName = '';
|
|
478
|
+
}
|
|
479
|
+
if (item.tagIds && item.tagIds.length != 0 && this.$refs.previewPdf.newFileType !== 'PPT') {
|
|
480
|
+
this.$refs.previewPdf.loading = false
|
|
481
|
+
return
|
|
482
|
+
}
|
|
483
|
+
this.$nextTick(() => {
|
|
484
|
+
if (item.source == 'CREATED_BY_ONESELF' || type === 'HTML') {
|
|
485
|
+
this.$refs.previewPdf.getBolb(item)
|
|
486
|
+
}
|
|
487
|
+
this.$refs.previewPdf.loadIframe(item)
|
|
488
|
+
this.$refs.previewPdf.showSummary = false;
|
|
489
|
+
})
|
|
490
|
+
}
|
|
491
|
+
})
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
open () {
|
|
495
|
+
this.$emit('openPreviewDialog')
|
|
496
|
+
},
|
|
497
|
+
close () {
|
|
498
|
+
this.$emit('closePreviewDialog')
|
|
499
|
+
},
|
|
500
|
+
fileType (url) {
|
|
501
|
+
const fileType = url.substring(url.lastIndexOf('.'));
|
|
502
|
+
if (fileType === '.mp4' || fileType === '.MP4' || fileType === '.MOV' || fileType === '.MOVC' || fileType === '.mov' || fileType === '.movc' || fileType === '.mav' || fileType === '.MAV' || fileType == '.mp3' || fileType == '.MP3' || fileType === '.wav') {
|
|
503
|
+
return 'VIDEO'
|
|
504
|
+
} else if (fileType === '.html') {
|
|
505
|
+
return 'HTML'
|
|
506
|
+
} else if (fileType === '.png' || fileType === '.jpg' || fileType === '.jpeg') {
|
|
507
|
+
return 'IMAGE'
|
|
508
|
+
} else {
|
|
509
|
+
return 'OTHER'
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
srcContentTypeIMG (item) {
|
|
513
|
+
let url = item.url || '';
|
|
514
|
+
const type = url.substring(url.lastIndexOf('.'));
|
|
515
|
+
if (type === '.jpg' || type === '.jpeg' || type === '.png' || type === '.gif') {
|
|
516
|
+
this.getSrc(item)
|
|
517
|
+
return true
|
|
518
|
+
} else {
|
|
519
|
+
return false
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
getSrc (item) {
|
|
523
|
+
// let imgurl = ''
|
|
524
|
+
this.$http.post(
|
|
525
|
+
'/knowledge-api/temporary-certificate/or-origin?expired=30',
|
|
526
|
+
item.url,
|
|
527
|
+
{
|
|
528
|
+
headers: {
|
|
529
|
+
"Content-Type": "application/json",
|
|
530
|
+
},
|
|
531
|
+
}).then(res => {
|
|
532
|
+
console.log(res, '=====');
|
|
533
|
+
// imgurl = await res.bodyText
|
|
534
|
+
this.$set(item, 'expiredUrl', res.data ? res.data : res.bodyText)
|
|
535
|
+
// return res.data
|
|
536
|
+
})
|
|
537
|
+
// return imgurl
|
|
538
|
+
},
|
|
539
|
+
lazyLoadKnowledegList () {
|
|
540
|
+
if (this.allKnowledgeList.length !== 0) {
|
|
541
|
+
let arr = this.allKnowledgeList.splice(0, 5)
|
|
542
|
+
if (arr.length < 5) {
|
|
543
|
+
this.loadMoreFlag = false
|
|
544
|
+
this.msg.content.list = [...this.msg.content.list, ...arr]
|
|
545
|
+
return
|
|
546
|
+
}
|
|
547
|
+
if (this.allKnowledgeList.length == 0) {
|
|
548
|
+
this.loadMoreFlag = false
|
|
549
|
+
}
|
|
550
|
+
this.msg.content.list = [...this.msg.content.list, ...arr]
|
|
551
|
+
return
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
previewToDialog (flag) {
|
|
555
|
+
if (!flag) {
|
|
556
|
+
this.$refs.previewPdf.previewKnowledgeId = ""
|
|
557
|
+
} else {
|
|
558
|
+
this.$refs.previewPdf.previewKnowledgeId = this.previewKnowledgeId
|
|
559
|
+
}
|
|
560
|
+
this.$emit('previewToDialog', flag, this.previewKnowledgeId, this.previewKnowledge)
|
|
561
|
+
},
|
|
562
|
+
clearKnowledgeId () {
|
|
563
|
+
this.previewKnowledgeId = "";
|
|
564
|
+
},
|
|
565
|
+
recommendQues (item, knowledgeId) {
|
|
566
|
+
this.$emit('recommendQues', item, knowledgeId)
|
|
567
|
+
},
|
|
568
|
+
clickFloder (item) {
|
|
569
|
+
this.$emit('clickFloder', item)
|
|
570
|
+
},
|
|
571
|
+
previewClickFloder () {
|
|
572
|
+
let item = null
|
|
573
|
+
this.msg.content.list.forEach(element => {
|
|
574
|
+
if (element.knowledgeId == this.previewKnowledgeId) {
|
|
575
|
+
item = element
|
|
576
|
+
}
|
|
577
|
+
});
|
|
578
|
+
this.$emit('clickFloder', item)
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
</script>
|
|
583
|
+
|
|
584
|
+
<style scoped lang="less">
|
|
585
|
+
@import "../assets/less/variables.less";
|
|
586
|
+
|
|
587
|
+
.answer-docknowledge {
|
|
588
|
+
min-width: 100px;
|
|
589
|
+
background: #ffffff;
|
|
590
|
+
|
|
591
|
+
.answer-docknowledge-header {
|
|
592
|
+
.tips {
|
|
593
|
+
width: 154px;
|
|
594
|
+
height: 22px;
|
|
595
|
+
background: @primary-color;
|
|
596
|
+
border-radius: 5px;
|
|
597
|
+
text-align: center;
|
|
598
|
+
line-height: 22px;
|
|
599
|
+
color: @font-primary-light-color;
|
|
600
|
+
font-size: 12px;
|
|
601
|
+
margin-bottom: 7px;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.answer-text {
|
|
605
|
+
// font-size: 13px;
|
|
606
|
+
text-align: left;
|
|
607
|
+
line-height: 25px;
|
|
608
|
+
padding: 0px 0px 12px 0px;
|
|
609
|
+
|
|
610
|
+
.aci-view {
|
|
611
|
+
// font-size: 13px;
|
|
612
|
+
display: inline-block;
|
|
613
|
+
// margin-left: 5px;
|
|
614
|
+
color: @font-primary-accent-color;
|
|
615
|
+
cursor: pointer;
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
&.bgc {
|
|
620
|
+
padding: 10px;
|
|
621
|
+
background: #eef1ff;
|
|
622
|
+
border-radius: 10px;
|
|
623
|
+
margin-bottom: 16px;
|
|
624
|
+
|
|
625
|
+
.answer-text {
|
|
626
|
+
padding: 0;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
// .answer-kn-image-box {
|
|
631
|
+
// margin-bottom: 10px;
|
|
632
|
+
// }
|
|
633
|
+
.answer-kn-image-box-pc {
|
|
634
|
+
margin-bottom: 10px;
|
|
635
|
+
display: flex;
|
|
636
|
+
width: 100%;
|
|
637
|
+
overflow: hidden;
|
|
638
|
+
overflow-x: auto;
|
|
639
|
+
img {
|
|
640
|
+
width: 120px;
|
|
641
|
+
height: 120px;
|
|
642
|
+
border-radius: 5px;
|
|
643
|
+
object-fit: cover;
|
|
644
|
+
margin-right: 10px;
|
|
645
|
+
margin-bottom: 10px;
|
|
646
|
+
cursor: pointer;
|
|
647
|
+
flex: none;
|
|
648
|
+
}
|
|
649
|
+
.img-placeholder {
|
|
650
|
+
width: 120px;
|
|
651
|
+
height: 120px;
|
|
652
|
+
border-radius: 5px;
|
|
653
|
+
margin-right: 10px;
|
|
654
|
+
margin-bottom: 10px;
|
|
655
|
+
cursor: pointer;
|
|
656
|
+
border: 1px dashed @border-color-r4;
|
|
657
|
+
color: @font-primary-accent-color;
|
|
658
|
+
flex: none;
|
|
659
|
+
display: flex;
|
|
660
|
+
align-items: center;
|
|
661
|
+
justify-content: center;
|
|
662
|
+
font-size: 22px;
|
|
663
|
+
}
|
|
664
|
+
.img-placeholder:hover {
|
|
665
|
+
border: 1px dashed @border-color-primary;
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
.answer-kn-image-box-mobile {
|
|
669
|
+
margin-bottom: 10px;
|
|
670
|
+
display: flex;
|
|
671
|
+
width: 100%;
|
|
672
|
+
overflow: hidden;
|
|
673
|
+
overflow-x: auto;
|
|
674
|
+
img {
|
|
675
|
+
width: 35vw;
|
|
676
|
+
height: 35vw;
|
|
677
|
+
border-radius: 5px;
|
|
678
|
+
object-fit: cover;
|
|
679
|
+
margin-right: 10px;
|
|
680
|
+
margin-bottom: 10px;
|
|
681
|
+
flex: none;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
.ad-list-recognition {
|
|
688
|
+
display: flex;
|
|
689
|
+
align-items: center;
|
|
690
|
+
flex-wrap: wrap;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.libang_list_recognition {
|
|
694
|
+
display: flex;
|
|
695
|
+
align-items: center;
|
|
696
|
+
flex-wrap: wrap;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.ad-list {
|
|
700
|
+
.ad-list-cell {
|
|
701
|
+
border-top: solid 1px @border-color-r3;
|
|
702
|
+
padding: 10px 0 10px;
|
|
703
|
+
|
|
704
|
+
.alc-title {
|
|
705
|
+
display: flex;
|
|
706
|
+
flex-wrap: wrap;
|
|
707
|
+
align-items: center;
|
|
708
|
+
justify-content: space-between;
|
|
709
|
+
line-height: 16px;
|
|
710
|
+
|
|
711
|
+
.alc-box {
|
|
712
|
+
display: flex;
|
|
713
|
+
align-items: center;
|
|
714
|
+
justify-content: space-between;
|
|
715
|
+
// font-size: 12px;
|
|
716
|
+
width: 100%;
|
|
717
|
+
|
|
718
|
+
.alc-source-left {
|
|
719
|
+
display: flex;
|
|
720
|
+
align-items: center;
|
|
721
|
+
|
|
722
|
+
.source-form {
|
|
723
|
+
width: 34px;
|
|
724
|
+
flex: none;
|
|
725
|
+
color: @font-primary-color-r4;
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
.alc-content-text {
|
|
730
|
+
width: 55px;
|
|
731
|
+
flex: none;
|
|
732
|
+
|
|
733
|
+
.aci-view {
|
|
734
|
+
color: @font-primary-accent-color;
|
|
735
|
+
cursor: pointer;
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
.alc-title-from {
|
|
740
|
+
line-height: 22px;
|
|
741
|
+
word-break: break-all !important;
|
|
742
|
+
text-align: left;
|
|
743
|
+
flex: auto;
|
|
744
|
+
display: flex;
|
|
745
|
+
justify-content: flex-start;
|
|
746
|
+
}
|
|
747
|
+
.upload-source {
|
|
748
|
+
// flex: none;
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
.alc-box-introduction {
|
|
753
|
+
overflow: hidden;
|
|
754
|
+
text-overflow: ellipsis;
|
|
755
|
+
display: -webkit-box;
|
|
756
|
+
-webkit-line-clamp: 3;
|
|
757
|
+
-webkit-box-orient: vertical;
|
|
758
|
+
margin-top: 10px;
|
|
759
|
+
color: @font-secondary-color;
|
|
760
|
+
// font-size: 12px;
|
|
761
|
+
line-height: 24px;
|
|
762
|
+
text-align: left;
|
|
763
|
+
|
|
764
|
+
img {
|
|
765
|
+
width: 50px;
|
|
766
|
+
height: 50px;
|
|
767
|
+
margin: 10px;
|
|
768
|
+
cursor: pointer;
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.alc-box-introduction-previewImage {
|
|
773
|
+
width: 100%;
|
|
774
|
+
display: block;
|
|
775
|
+
overflow: hidden;
|
|
776
|
+
text-overflow: ellipsis;
|
|
777
|
+
display: -webkit-box;
|
|
778
|
+
-webkit-line-clamp: 3;
|
|
779
|
+
-webkit-box-orient: vertical;
|
|
780
|
+
margin-top: 10px;
|
|
781
|
+
color: @font-secondary-color;
|
|
782
|
+
// font-size: 12px;
|
|
783
|
+
line-height: 24px;
|
|
784
|
+
text-align: left;
|
|
785
|
+
|
|
786
|
+
img {
|
|
787
|
+
max-width: 300px;
|
|
788
|
+
width: 100%;
|
|
789
|
+
max-height: 150px;
|
|
790
|
+
margin: 10px;
|
|
791
|
+
cursor: pointer;
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
.alc-updateTime {
|
|
796
|
+
display: flex;
|
|
797
|
+
align-items: center;
|
|
798
|
+
justify-content: space-between;
|
|
799
|
+
font-size: 13px;
|
|
800
|
+
width: 100%;
|
|
801
|
+
margin-top: 10px;
|
|
802
|
+
|
|
803
|
+
.upload-source {
|
|
804
|
+
flex: none;
|
|
805
|
+
height: 18px;
|
|
806
|
+
line-height: 18px;
|
|
807
|
+
background: @background-color-alc;
|
|
808
|
+
border: 1px solid @border-color-alc;
|
|
809
|
+
border-radius: 2px;
|
|
810
|
+
display: flex;
|
|
811
|
+
align-items: center;
|
|
812
|
+
justify-content: center;
|
|
813
|
+
padding: 0 8px;
|
|
814
|
+
color: #00c2bb;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.time {
|
|
818
|
+
color: @font-primary-color-r1;
|
|
819
|
+
margin-left: 10px;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
.alc-content-text {
|
|
823
|
+
color: @font-primary-accent-color;
|
|
824
|
+
cursor: pointer;
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
.alc-title-icon {
|
|
829
|
+
margin: 0 2px;
|
|
830
|
+
width: 18px;
|
|
831
|
+
height: 18px;
|
|
832
|
+
flex: none;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
.alc-title-updateTime {
|
|
836
|
+
text-align: right;
|
|
837
|
+
color: @font-primary-color-r1;
|
|
838
|
+
// font-size: 13px;
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
.alc-content {
|
|
843
|
+
.alc-title-updateTime {
|
|
844
|
+
margin-top: 6px;
|
|
845
|
+
display: block;
|
|
846
|
+
text-align: right;
|
|
847
|
+
color: @font-primary-color-r1;
|
|
848
|
+
// font-size: 13px;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
.alc-content-text {
|
|
852
|
+
margin-bottom: 6px;
|
|
853
|
+
width: 55px;
|
|
854
|
+
flex: none;
|
|
855
|
+
|
|
856
|
+
.aci-view {
|
|
857
|
+
display: inline-block;
|
|
858
|
+
margin-left: 30px;
|
|
859
|
+
color: @font-primary-accent-color;
|
|
860
|
+
cursor: pointer;
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
.alc-content-info {
|
|
865
|
+
display: flex;
|
|
866
|
+
flex-wrap: wrap;
|
|
867
|
+
justify-content: space-between;
|
|
868
|
+
|
|
869
|
+
.alcc-box {
|
|
870
|
+
display: flex;
|
|
871
|
+
flex-wrap: wrap;
|
|
872
|
+
color: @font-primary-color-r1;
|
|
873
|
+
|
|
874
|
+
.aci-owner {
|
|
875
|
+
margin-right: 20px;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
.aci-enterprise {
|
|
879
|
+
margin-right: 20px;
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
.ad-list-cell-recognition {
|
|
887
|
+
max-width: 270px;
|
|
888
|
+
margin-right: 12px;
|
|
889
|
+
font-size: 12px;
|
|
890
|
+
.alc-source-name {
|
|
891
|
+
flex: none;
|
|
892
|
+
padding: 3px;
|
|
893
|
+
margin-right: 5px;
|
|
894
|
+
margin-bottom: 5px;
|
|
895
|
+
background: @background-color-alc-source;
|
|
896
|
+
border-radius: 5px;
|
|
897
|
+
display: flex;
|
|
898
|
+
align-items: center;
|
|
899
|
+
justify-content: space-between;
|
|
900
|
+
cursor: pointer;
|
|
901
|
+
|
|
902
|
+
img {
|
|
903
|
+
vertical-align: middle;
|
|
904
|
+
// width: 16px;
|
|
905
|
+
// height: 16px;
|
|
906
|
+
margin: 0 3px 0 5px;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
.alc-title-from {
|
|
910
|
+
// margin-right: 5px;
|
|
911
|
+
max-width: 240px;
|
|
912
|
+
overflow: hidden;
|
|
913
|
+
text-overflow: ellipsis;
|
|
914
|
+
white-space: nowrap;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
.upload-source {
|
|
918
|
+
margin-right: 5px;
|
|
919
|
+
flex: none;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
i {
|
|
923
|
+
font-size: 12px;
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
.ad-loadmore {
|
|
929
|
+
width: 100%;
|
|
930
|
+
height: 40px;
|
|
931
|
+
display: flex;
|
|
932
|
+
align-items: center;
|
|
933
|
+
justify-content: center;
|
|
934
|
+
// background: #FFFFFF;
|
|
935
|
+
color: @font-primary-accent-color;
|
|
936
|
+
font-size: 14px;
|
|
937
|
+
margin-top: 8px;
|
|
938
|
+
cursor: pointer;
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
.libang_list {
|
|
943
|
+
.libang_list_cell {
|
|
944
|
+
border-top: solid 1px @border-color-r3;
|
|
945
|
+
padding: 10px 0 10px;
|
|
946
|
+
font-size: 12px;
|
|
947
|
+
.libang_title {
|
|
948
|
+
display: flex;
|
|
949
|
+
flex-wrap: wrap;
|
|
950
|
+
align-items: center;
|
|
951
|
+
justify-content: space-between;
|
|
952
|
+
line-height: 16px;
|
|
953
|
+
|
|
954
|
+
.libang_box {
|
|
955
|
+
display: flex;
|
|
956
|
+
align-items: center;
|
|
957
|
+
justify-content: space-between;
|
|
958
|
+
// font-size: 12px;
|
|
959
|
+
width: 100%;
|
|
960
|
+
|
|
961
|
+
.libang_source_left {
|
|
962
|
+
display: flex;
|
|
963
|
+
align-items: center;
|
|
964
|
+
|
|
965
|
+
.source-form {
|
|
966
|
+
width: 34px;
|
|
967
|
+
flex: none;
|
|
968
|
+
color: @font-primary-color-r4;
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
.alc-content-text {
|
|
973
|
+
width: 55px;
|
|
974
|
+
flex: none;
|
|
975
|
+
|
|
976
|
+
.aci-view {
|
|
977
|
+
color: @font-primary-accent-color;
|
|
978
|
+
cursor: pointer;
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
.libang_title_from {
|
|
983
|
+
line-height: 22px;
|
|
984
|
+
word-break: break-all !important;
|
|
985
|
+
text-align: left;
|
|
986
|
+
flex: auto;
|
|
987
|
+
display: flex;
|
|
988
|
+
justify-content: flex-start;
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
.libang_box_introduction {
|
|
993
|
+
overflow: hidden;
|
|
994
|
+
text-overflow: ellipsis;
|
|
995
|
+
display: -webkit-box;
|
|
996
|
+
-webkit-line-clamp: 3;
|
|
997
|
+
-webkit-box-orient: vertical;
|
|
998
|
+
margin-top: 10px;
|
|
999
|
+
color: @font-secondary-color;
|
|
1000
|
+
// font-size: 12px;
|
|
1001
|
+
line-height: 24px;
|
|
1002
|
+
text-align: left;
|
|
1003
|
+
|
|
1004
|
+
img {
|
|
1005
|
+
width: 50px;
|
|
1006
|
+
height: 50px;
|
|
1007
|
+
margin: 10px;
|
|
1008
|
+
cursor: pointer;
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
.libang_box_introduction_previewImage {
|
|
1013
|
+
overflow: hidden;
|
|
1014
|
+
text-overflow: ellipsis;
|
|
1015
|
+
display: -webkit-box;
|
|
1016
|
+
-webkit-line-clamp: 3;
|
|
1017
|
+
-webkit-box-orient: vertical;
|
|
1018
|
+
margin-top: 10px;
|
|
1019
|
+
color: @font-secondary-color;
|
|
1020
|
+
// font-size: 12px;
|
|
1021
|
+
line-height: 24px;
|
|
1022
|
+
text-align: left;
|
|
1023
|
+
|
|
1024
|
+
img {
|
|
1025
|
+
max-width: 300px;
|
|
1026
|
+
width: 100%;
|
|
1027
|
+
max-height: 150px;
|
|
1028
|
+
margin: 10px;
|
|
1029
|
+
cursor: pointer;
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
.libang_updateTime {
|
|
1034
|
+
display: flex;
|
|
1035
|
+
align-items: center;
|
|
1036
|
+
justify-content: space-between;
|
|
1037
|
+
font-size: 13px;
|
|
1038
|
+
width: 100%;
|
|
1039
|
+
margin-top: 10px;
|
|
1040
|
+
.libang_updataTime_left {
|
|
1041
|
+
width: calc(100% - 40px);
|
|
1042
|
+
display: flex;
|
|
1043
|
+
align-items: center;
|
|
1044
|
+
.upload-source {
|
|
1045
|
+
flex: none;
|
|
1046
|
+
height: 18px;
|
|
1047
|
+
line-height: 18px;
|
|
1048
|
+
background: #e9f9f8;
|
|
1049
|
+
border: 1px solid #aff2cd;
|
|
1050
|
+
border-radius: 2px;
|
|
1051
|
+
display: flex;
|
|
1052
|
+
align-items: center;
|
|
1053
|
+
justify-content: center;
|
|
1054
|
+
padding: 0 8px;
|
|
1055
|
+
color: @font-alc-color;
|
|
1056
|
+
}
|
|
1057
|
+
.libang_floder {
|
|
1058
|
+
width:calc(100% - 90px);
|
|
1059
|
+
// margin-left: 10px;
|
|
1060
|
+
overflow: hidden;
|
|
1061
|
+
text-overflow: ellipsis;
|
|
1062
|
+
white-space: nowrap;
|
|
1063
|
+
color: @font-primary-accent-color;
|
|
1064
|
+
cursor: pointer;
|
|
1065
|
+
text-align: left;
|
|
1066
|
+
i {
|
|
1067
|
+
margin-left: 8px;
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
.libang_content_text {
|
|
1072
|
+
color: @font-primary-accent-color;
|
|
1073
|
+
cursor: pointer;
|
|
1074
|
+
}
|
|
1075
|
+
.time {
|
|
1076
|
+
color: @font-primary-color-r1;
|
|
1077
|
+
margin-left: 10px;
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
.alc-title-icon {
|
|
1081
|
+
margin: 0 2px;
|
|
1082
|
+
width: 18px;
|
|
1083
|
+
height: 18px;
|
|
1084
|
+
flex: none;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
.alc-title-updateTime {
|
|
1088
|
+
text-align: right;
|
|
1089
|
+
color: @font-primary-color-r1;
|
|
1090
|
+
// font-size: 13px;
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
.alc-content {
|
|
1095
|
+
.alc-title-updateTime {
|
|
1096
|
+
margin-top: 6px;
|
|
1097
|
+
display: block;
|
|
1098
|
+
text-align: right;
|
|
1099
|
+
color: @font-primary-color-r1;
|
|
1100
|
+
// font-size: 13px;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
.alc-content-text {
|
|
1104
|
+
margin-bottom: 6px;
|
|
1105
|
+
width: 55px;
|
|
1106
|
+
flex: none;
|
|
1107
|
+
|
|
1108
|
+
.aci-view {
|
|
1109
|
+
display: inline-block;
|
|
1110
|
+
margin-left: 30px;
|
|
1111
|
+
color: @font-primary-accent-color;
|
|
1112
|
+
cursor: pointer;
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
.alc-content-info {
|
|
1117
|
+
display: flex;
|
|
1118
|
+
flex-wrap: wrap;
|
|
1119
|
+
justify-content: space-between;
|
|
1120
|
+
|
|
1121
|
+
.alcc-box {
|
|
1122
|
+
display: flex;
|
|
1123
|
+
flex-wrap: wrap;
|
|
1124
|
+
color: @font-primary-color-r1;
|
|
1125
|
+
|
|
1126
|
+
.aci-owner {
|
|
1127
|
+
margin-right: 20px;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
.aci-enterprise {
|
|
1131
|
+
margin-right: 20px;
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
.libang_list_cell_recognition {
|
|
1139
|
+
background: @background-color-alc-source;
|
|
1140
|
+
display: flex;
|
|
1141
|
+
align-items: center;
|
|
1142
|
+
justify-content: space-between;
|
|
1143
|
+
padding: 3px;
|
|
1144
|
+
margin-right: 5px;
|
|
1145
|
+
margin-bottom: 5px;
|
|
1146
|
+
border-radius: 5px;
|
|
1147
|
+
cursor: pointer;
|
|
1148
|
+
font-size: 12px;
|
|
1149
|
+
|
|
1150
|
+
.libang_list_cell_left {
|
|
1151
|
+
margin-right: 5px;
|
|
1152
|
+
.libang_source_name {
|
|
1153
|
+
display: flex;
|
|
1154
|
+
align-items: center;
|
|
1155
|
+
height: 20px;
|
|
1156
|
+
margin-bottom: 2px;
|
|
1157
|
+
img {
|
|
1158
|
+
vertical-align: middle;
|
|
1159
|
+
// width: 16px;
|
|
1160
|
+
// height: 16px;
|
|
1161
|
+
margin: 0 3px;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
.libang_title_from {
|
|
1165
|
+
max-width: 226px;
|
|
1166
|
+
overflow: hidden;
|
|
1167
|
+
text-overflow: ellipsis;
|
|
1168
|
+
white-space: nowrap;
|
|
1169
|
+
line-height: 20px;
|
|
1170
|
+
}
|
|
1171
|
+
.upload_source {
|
|
1172
|
+
flex: none;
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
.libang_source_floder {
|
|
1176
|
+
max-width: calc(226px - 24px);
|
|
1177
|
+
text-align: left;
|
|
1178
|
+
color: @font-primary-accent-color;
|
|
1179
|
+
overflow: hidden;
|
|
1180
|
+
text-overflow: ellipsis;
|
|
1181
|
+
white-space: nowrap;
|
|
1182
|
+
cursor: pointer;
|
|
1183
|
+
.iconfont {
|
|
1184
|
+
margin: 0 5px;
|
|
1185
|
+
font-size: 14px
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
i {
|
|
1190
|
+
font-size: 12px;
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
.ad-loadmore {
|
|
1195
|
+
width: 100%;
|
|
1196
|
+
height: 40px;
|
|
1197
|
+
display: flex;
|
|
1198
|
+
align-items: center;
|
|
1199
|
+
justify-content: center;
|
|
1200
|
+
// background: #FFFFFF;
|
|
1201
|
+
color: @font-primary-accent-color;
|
|
1202
|
+
font-size: 14px;
|
|
1203
|
+
margin-top: 8px;
|
|
1204
|
+
cursor: pointer;
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
}</style>
|