askbot-dragon 1.3.93 → 1.3.94

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.3.93",
3
+ "version": "1.3.94",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -17,7 +17,7 @@
17
17
  :formList="formList2"
18
18
  @submitClick="submitClick"
19
19
  ></form-template> -->
20
- <answer-docknowledge :isAskLightning="2" :msg="answerDocknowledge"></answer-docknowledge>
20
+ <!-- <answer-docknowledge :isAskLightning="2" :msg="answerDocknowledge"></answer-docknowledge> -->
21
21
  <!-- <voice-component @closeVoice="closeVoice">
22
22
  <div slot="voiceTip">
23
23
  松开发送
@@ -48,9 +48,9 @@
48
48
  <!-- <FileType :urls="urls" :color="black"></FileType>-->
49
49
  <!-- <FileType :urls="urls" :color="black"></FileType>
50
50
  <chat-content :messageList="messageList"></chat-content> -->
51
- <!-- <div v-for="(item,index) in processAction" :key="index">
51
+ <div v-for="(item,index) in processAction" :key="index">
52
52
  <association-intention :msg="item" :msgType="item.type" :isOpen="isOpen"></association-intention>
53
- </div> -->
53
+ </div>
54
54
  </div>
55
55
  </template>
56
56
  <script>
@@ -63,7 +63,7 @@ import TextMessage from "@/components/message/TextMessage";*/
63
63
  // import AnswerRadio from './answerRadio'
64
64
  // import TicketMessage from './message/TicketMessage'
65
65
  /*import VoiceComponent from "./voiceComponent";*/
66
- // import AssociationIntention from './associationIntention'
66
+ import AssociationIntention from './associationIntention'
67
67
  // import ActionSatisfaction from './actionSatisfaction'
68
68
  // import MsgLoading from './msgLoading'
69
69
  // import LoadingProcess from './loadingProcess'
@@ -85,7 +85,7 @@ import FeedBack from "@/components/feedBack";*/
85
85
  // import ChatContent from "./chatContent";
86
86
  // import FeedBack from '@/components/feedBack'
87
87
  // 知识类型
88
- import AnswerDocknowledge from "./AnswerDocknowledge.vue";
88
+ // import AnswerDocknowledge from "./AnswerDocknowledge.vue";
89
89
  export default {
90
90
  name: 'ConversationContainer',
91
91
  components: {
@@ -95,7 +95,7 @@ export default {
95
95
  // LoadingProcess,
96
96
  // MsgLoading,
97
97
  // ActionSatisfaction,
98
- // AssociationIntention,
98
+ AssociationIntention,
99
99
  /* VoiceComponent,*/
100
100
  // TicketMessage,
101
101
  // AsserDeatils,
@@ -110,7 +110,7 @@ export default {
110
110
  // FormTemplate,
111
111
  // FileType,
112
112
  // ChatContent,
113
- AnswerDocknowledge,
113
+ // AnswerDocknowledge,
114
114
  },
115
115
  props: {
116
116
  messages: Array
@@ -23,8 +23,10 @@
23
23
  )
24
24
  "
25
25
  >
26
- {{ option.text
27
- }}<i class="arsenal_icon arsenalangle-right-solid"></i>
26
+ <el-tooltip class="item" effect="dark" :content="option.text" placement="bottom-start">
27
+ <span class="options-item-text">{{ option.text}}</span>
28
+ </el-tooltip>
29
+ <i class="arsenal_icon arsenalangle-right-solid"></i>
28
30
  </p>
29
31
  </div>
30
32
  </div>
@@ -62,7 +64,6 @@ export default {
62
64
  padding-top: 4px;
63
65
  min-width: 120px;
64
66
  .options-item{
65
-
66
67
  height: 25px;
67
68
  line-height: 25px;
68
69
  background-color: #ffffff;
@@ -74,6 +75,16 @@ export default {
74
75
  i{
75
76
  padding-left: 10px;
76
77
  }
78
+ .options-item-text{
79
+ text-overflow: ellipsis;
80
+ display: -webkit-box; //使用了flex,需要加
81
+ overflow: hidden; //超出隐藏
82
+ word-break: break-all; //纯英文、数字、中文
83
+ text-overflow: ellipsis; //省略号
84
+ -webkit-box-orient: vertical; //垂直
85
+ -webkit-line-clamp: 1; //显示一行
86
+ white-space:pre-line; //
87
+ }
77
88
  }
78
89
  .recommend-item{
79
90
  padding: 8px 0;