askbot-dragon 0.6.25 → 0.6.26

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": "0.6.25",
3
+ "version": "0.6.26",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -1197,6 +1197,7 @@ export default {
1197
1197
  <style scoped lang="less">
1198
1198
  @import "../assets/less/converSationContainer/converSatonContainer";
1199
1199
  #conversation{
1200
+ background-color:#F5F7FB ;
1200
1201
  }
1201
1202
  .img_div{
1202
1203
  position: relative;
@@ -18,7 +18,7 @@
18
18
  满意<i class="arsenal_icon arsenalangle-right-solid"></i>
19
19
  </p>
20
20
  <p
21
- class="statisfaction-item end"
21
+ class="statisfaction-item"
22
22
  @click="
23
23
  sendSatisfaction(
24
24
  'USER_ACTION_TO_SATISFACTION_V2',
@@ -2,14 +2,11 @@
2
2
  <div
3
3
  class="action-send-to-bot"
4
4
  >
5
- <p class="other" v-html="msg.content.description"></p>
5
+ <p class="bot-des" v-html="msg.content.description"></p>
6
6
  <div class="options-list">
7
7
  <p
8
8
  v-for="(option, index) in msg.content.options"
9
- v-bind:class="[
10
- index == msg.content.options.length - 1 ? 'end' : '',
11
- 'options-item',
12
- ]"
9
+ class="options-item"
13
10
  :key="msg.nodeId + '_' + index"
14
11
  @click="$emit('onRadioClick2', option.content, option.name, msg.apiKey)"
15
12
  >
@@ -29,7 +26,7 @@
29
26
 
30
27
  <style scoped lang="less">
31
28
  .action-send-to-bot{
32
- .other {
29
+ .bot-des {
33
30
  word-wrap: break-word;
34
31
  word-break: break-all;
35
32
  overflow: hidden;
@@ -51,10 +48,6 @@
51
48
  align-items: center;
52
49
  justify-content: space-between;
53
50
  }
54
- .end{
55
- border-bottom-left-radius: 25px !important;
56
- border-bottom-right-radius: 25px !important;
57
- }
58
51
  }
59
52
  }
60
53
  </style>
@@ -3,7 +3,7 @@
3
3
  <p class="satisfaction-reply-text" v-html="msg.content.replyText"></p>
4
4
  <p
5
5
  v-for="(option, index) in msg.content.replyOptions"
6
- v-bind:class="[ index == msg.content.replyOptions.length - 1 ? 'end' : '','statisfaction-item']"
6
+ class="statisfaction-item"
7
7
  :key="index"
8
8
  @click="sendDissatisfaction(option,msg.apiKey)">
9
9
  {{ option.name }}<i class="arsenal_icon arsenalangle-right-solid"></i>
@@ -1,13 +1,10 @@
1
1
  <template>
2
2
  <div id="answer-radio">
3
- <p class="other" v-html="msg.content.description"></p>
3
+ <p class="radio-description" v-html="msg.content.description"></p>
4
4
  <div class="options-list">
5
5
  <div
6
6
  v-for="(option, index) in msg.content.options"
7
- v-bind:class="[
8
- index == msg.content.options.length - 1 ? 'end' : '',
9
- 'options-item',
10
- ]"
7
+ class="options-item"
11
8
  :key="msg.nodeId + '_' + index"
12
9
  @click="
13
10
  $emit(
@@ -33,7 +30,7 @@ export default {
33
30
 
34
31
  <style scoped lang="less">
35
32
  #answer-radio{
36
- .other {
33
+ .radio-description {
37
34
  word-wrap: break-word;
38
35
  word-break: break-all;
39
36
  overflow: hidden;
@@ -4,14 +4,14 @@
4
4
  <p v-html="msg.content.replace(/\#[\u4E00-\u9FA5]{1,3}\;/gi, emotion)"></p>
5
5
  </div>
6
6
  <div v-if=" (msgType === 'answer_welcofmetext' || msgType === 'answer_text') && (msg.recommend&& msg.recommend.status)">
7
- <p class="media-body-ps-text-box" v-html="msg.content.replace(/\#[\u4E00-\u9FA5]{1,3}\;/gi, emotion)"></p>
7
+ <p v-html="msg.content.replace(/\#[\u4E00-\u9FA5]{1,3}\;/gi, emotion)"></p>
8
8
  <recommend :msg="msg"></recommend>
9
9
  </div>
10
10
  <div v-if="msg.type === 'answer_rich_text' && !(msg.content.recommend != undefined && msg.content.recommend.status)">
11
11
  <p v-html="$options.filters.imageStyle(msg.content.html)"></p>
12
12
  </div>
13
13
  <div v-else-if="msg.type == 'answer_rich_text' && (msg.content.recommend != undefined && msg.content.recommend.status)">
14
- <p style="padding: 12px 0" v-html="$options.filters.imageStyle(msg.content.html)"></p>
14
+ <p v-html="$options.filters.imageStyle(msg.content.html)"></p>
15
15
  <recommend :msg="msg.content"></recommend>
16
16
  </div>
17
17
  <div v-else-if="msgType === 'answer_image'" >
@@ -28,8 +28,7 @@
28
28
  </div>
29
29
  <recommend :msg="msg"></recommend>
30
30
  </div>
31
- <div v-else-if="msgType === 'answer_video' || msgType === 'user_video' || msgType === 'VIDEO'"
32
- class="media-body-ps1">
31
+ <div v-else-if="msgType === 'answer_video' || msgType === 'user_video' || msgType === 'VIDEO'">
33
32
  <div class="association-img">
34
33
  <ask-video :msg="msg" :url="msg.content.url" :local-url="msg.content.localUrl"
35
34
  :progress="msg.content.progress"></ask-video>
@@ -9,10 +9,7 @@
9
9
  <p
10
10
 
11
11
  v-for="(option, index) in msg.content.reply_options"
12
- v-bind:class="[
13
- index == msg.content.reply_options.length - 1 ? 'end' : '',
14
- 'statisfaction-item',
15
- ]"
12
+ class="statisfaction-item"
16
13
  :key="index"
17
14
  @click="
18
15
  onSatisfactionClick(
@@ -1,13 +1,10 @@
1
1
  <template>
2
2
  <div class="text-recommed-intent">
3
- <p class="other" v-if="msg.recommend&&msg.recommend.description" v-html="msg.recommend.description"></p>
3
+ <p class="intent-des" v-if="msg.recommend&&msg.recommend.description" v-html="msg.recommend.description"></p>
4
4
  <div v-if="msg.recommend.list" class="options-list">
5
5
  <p
6
6
  v-for="(option, index) in msg.recommend.list"
7
- v-bind:class="[
8
- index == msg.recommend.list.length - 1 ? 'end' : '',
9
- 'options-item',
10
- ]"
7
+ class="options-item"
11
8
  :key="msg.nodeId + '_' + index"
12
9
  @click="
13
10
  $emit(
@@ -43,7 +40,8 @@ export default {
43
40
  <style scoped lang="less">
44
41
  .text-recommed-intent{
45
42
  /* max-width: 300px;*/
46
- .other{
43
+ background-color: white;
44
+ .intent-des{
47
45
  word-wrap: break-word;
48
46
  word-break: break-all;
49
47
  overflow: hidden;
@@ -52,6 +50,7 @@ export default {
52
50
  border-bottom: 1px solid #EEEEEE;
53
51
  color: #A9B3C6;
54
52
  font-size: 13px;
53
+ background-color: white;
55
54
  }
56
55
  .options-list{
57
56
  padding-top: 8px;