askbot-dragon 1.4.41 → 1.4.43

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,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "1.4.41",
3
+ "version": "1.4.43",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="answer-docknowledge">
3
- <div :class="['header',msg.content.isKnowledgeSummary ? 'bgc' : '']">
3
+ <div :class="['answer-docknowledge-header',msg.content.isKnowledgeSummary ? 'bgc' : '']">
4
4
  <div v-if="msg.content.isKnowledgeSummary" class="tips">AI为您总结生成了以下摘要</div>
5
5
  <div v-if="msg.content.type == 0" class="answer-text">
6
6
  <template v-if="msg.content.renderType == 1">
@@ -280,13 +280,9 @@ export default {
280
280
  <style scoped lang="less">
281
281
  .answer-docknowledge {
282
282
  min-width: 100px;
283
- .header{
283
+ .answer-docknowledge-header{
284
+
284
285
 
285
- &.bgc{
286
- padding: 10px;
287
- background: #EEF1FF;
288
- border-radius: 10px;
289
- }
290
286
  .tips{
291
287
  width: 154px;
292
288
  height: 22px;
@@ -298,9 +294,7 @@ export default {
298
294
  font-size: 12px;
299
295
  margin-bottom: 7px;
300
296
  }
301
- }
302
-
303
- .answer-text {
297
+ .answer-text {
304
298
  // font-size: 13px;
305
299
  text-align: left;
306
300
  line-height: 25px;
@@ -313,6 +307,16 @@ export default {
313
307
  color: #366aff;
314
308
  cursor: pointer;
315
309
  }
310
+ }
311
+ &.bgc{
312
+ padding: 10px;
313
+ background: #EEF1FF;
314
+ border-radius: 10px;
315
+ margin-bottom: 16px;
316
+ .answer-text {
317
+ padding: 0;
318
+ }
319
+ }
316
320
  }
317
321
 
318
322
  .ad-list {
@@ -165,7 +165,8 @@ export default {
165
165
  }]
166
166
  }
167
167
  },
168
- answerDocknowledge: {"content":{"knowledgeId":"64915d6e098ec248701da267","actionType":"answer_doc_knowledge","text":"跳舞不仅要有实力,还要有好的穿搭,本文针对街舞爱好者提供了穿搭指南,给你带来灵感和帮助!","list":[{"tagIds":[],"format":"html","updateTime":"2023-06-20 16:03:58","source":"WECHAT","url":"https://guoranwisdom.oss-cn-zhangjiakou.aliyuncs.com/137993c6d830416696bbd771fc61d423/1937/2023/06/20/16/03/微信同步/52720/501775e41a724d7da06e66b3b4686407.html","knowledgeId":"64915d6e098ec248701da267","from":"跳舞要有范儿,穿搭占一半!快来get你的街舞穿搭指南~"}],"renderType":0,"type":0,"isKnowledgeSummary":true},"type":"answer_doc_knowledge","sessionId":1687251699065,"keyId":"1a079f48-ace3-4064-89b4-8a292c6a8a93_________","isKnowledgeSummary":true},
168
+ answerDocknowledge:
169
+ {"content":{"knowledgeId":"64915d6e098ec248701da267","actionType":"answer_doc_knowledge","text":"跳舞不仅要有实力,还要有好的穿搭,本文针对街舞爱好者提供了穿搭指南,给你带来灵感和帮助!","list":[{"tagIds":[],"format":"html","updateTime":"2023-06-20 16:03:58","source":"WECHAT","url":"https://guoranwisdom.oss-cn-zhangjiakou.aliyuncs.com/137993c6d830416696bbd771fc61d423/1937/2023/06/20/16/03/微信同步/52720/501775e41a724d7da06e66b3b4686407.html","knowledgeId":"64915d6e098ec248701da267","from":"跳舞要有范儿,穿搭占一半!快来get你的街舞穿搭指南~"}],"renderType":0,"type":0,"isKnowledgeSummary":true},"type":"answer_doc_knowledge","sessionId":1687251699065,"keyId":"1a079f48-ace3-4064-89b4-8a292c6a8a93_________","isKnowledgeSummary":true},
169
170
 
170
171
  // {
171
172
  // "content":{
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div id="answer-radio">
3
3
  <p class="radio-description" v-html="msg.content.description" v-if="msg.content.description && !msg.content.isKnowledgeSummary"></p>
4
- <div class="bottom-link" v-if="msg.content.description"></div>
4
+ <div class="bottom-link" v-if="msg.content.description && !msg.content.isKnowledgeSummary"></div>
5
5
  <div :class="['options-list',msg.content.isKnowledgeSummary ? 'isKnowledgeSummary' : '']">
6
6
  <div v-if="msg.content.isKnowledgeSummary" class="tips">AI为您推荐了以下内容</div>
7
7
  <div