askbot-dragon 1.5.49 → 1.5.50

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.
Files changed (82) hide show
  1. package/README.md +27 -27
  2. package/babel.config.js +6 -6
  3. package/dragon.iml +7 -7
  4. package/package.json +56 -55
  5. package/public/index.html +73 -72
  6. package/src/App.vue +31 -31
  7. package/src/api/index.js +1 -1
  8. package/src/api/mock.http +2 -2
  9. package/src/api/requestUrl.js +185 -185
  10. package/src/assets/js/AliyunlssUtil.js +92 -92
  11. package/src/assets/js/Base64Util.js +22 -22
  12. package/src/assets/js/common.js +75 -75
  13. package/src/assets/js/hammer.js +89 -89
  14. package/src/assets/js/obsBrowser.js +63 -0
  15. package/src/assets/js/script.js +36 -36
  16. package/src/assets/less/common.css +6773 -6773
  17. package/src/assets/less/converSationContainer/common.less +192 -192
  18. package/src/assets/less/converSationContainer/converSatonContainer.less +493 -493
  19. package/src/assets/less/iconfont.css +37 -37
  20. package/src/assets/less/ticketMessage.less +294 -294
  21. package/src/components/ActionAlertIframe.vue +154 -154
  22. package/src/components/AiGuide.vue +468 -468
  23. package/src/components/AnswerDocknowledge.vue +581 -556
  24. package/src/components/AnswerVoice.vue +285 -285
  25. package/src/components/AskIFrame.vue +15 -15
  26. package/src/components/ConversationContainer.vue +4969 -5038
  27. package/src/components/FileType.vue +86 -86
  28. package/src/components/Message.vue +27 -27
  29. package/src/components/MyEditor.vue +348 -346
  30. package/src/components/actionSatisfaction.vue +107 -107
  31. package/src/components/actionSendToBot.vue +62 -62
  32. package/src/components/answerDissatisfaction.vue +62 -62
  33. package/src/components/answerRadio.vue +132 -186
  34. package/src/components/ask-components/DissatisfactionOptions.vue +57 -57
  35. package/src/components/ask-components/Msgloading.vue +37 -37
  36. package/src/components/ask-components/SatisfactionV2.vue +15 -15
  37. package/src/components/askVideo.vue +142 -139
  38. package/src/components/assetDetails.vue +370 -370
  39. package/src/components/assetMessage.vue +228 -228
  40. package/src/components/associationIntention.vue +349 -349
  41. package/src/components/attachmentPreview.vue +90 -90
  42. package/src/components/botActionSatisfactor.vue +68 -68
  43. package/src/components/chatContent.vue +513 -513
  44. package/src/components/feedBack.vue +136 -136
  45. package/src/components/fielListView.vue +351 -351
  46. package/src/components/file/AliyunOssComponents.vue +108 -108
  47. package/src/components/formTemplate.vue +3577 -3572
  48. package/src/components/kkview.vue +1138 -1138
  49. package/src/components/loadingProcess.vue +164 -164
  50. package/src/components/message/ActionAlertIframe.vue +112 -112
  51. package/src/components/message/ShopMessage.vue +164 -164
  52. package/src/components/message/TextMessage.vue +924 -924
  53. package/src/components/message/TicketMessage.vue +201 -201
  54. package/src/components/message/swiper/index.js +4 -4
  55. package/src/components/message/swiper/ticketSwiper.vue +503 -503
  56. package/src/components/message/swiper/ticketSwiperItem.vue +61 -61
  57. package/src/components/msgLoading.vue +231 -231
  58. package/src/components/myPopup.vue +70 -70
  59. package/src/components/pdfPosition.vue +1328 -1322
  60. package/src/components/popup.vue +227 -227
  61. package/src/components/previewDoc.vue +242 -242
  62. package/src/components/previewPdf.vue +353 -306
  63. package/src/components/receiverMessagePlatform.vue +65 -65
  64. package/src/components/recommend.vue +80 -80
  65. package/src/components/selector/hOption.vue +20 -20
  66. package/src/components/selector/hSelector.vue +199 -199
  67. package/src/components/selector/hWrapper.vue +216 -216
  68. package/src/components/senderMessagePlatform.vue +50 -50
  69. package/src/components/source/BotMessage.vue +24 -24
  70. package/src/components/source/CustomMessage.vue +24 -24
  71. package/src/components/test.vue +260 -260
  72. package/src/components/tree.vue +294 -294
  73. package/src/components/utils/AliyunIssUtil.js +81 -81
  74. package/src/components/utils/ckeditor.js +177 -174
  75. package/src/components/utils/format_date.js +25 -25
  76. package/src/components/utils/index.js +6 -6
  77. package/src/components/utils/math_utils.js +29 -29
  78. package/src/components/voiceComponent.vue +119 -119
  79. package/src/components/welcomeKnowledgeFile.vue +307 -270
  80. package/src/components/welcomeLlmCard.vue +134 -134
  81. package/src/main.js +57 -57
  82. package/vue.config.js +54 -54
@@ -1,307 +1,354 @@
1
- <template>
2
- <!-- <van-popup v-model="previewShowPopup" position="bottom" :style="{ height: '90%', background:'#FFFFFF'}" v-if="previewShowPopup">
3
- <div class="footer">
4
- <span>查看详情</span>
5
- <section @click="close">
6
- <i class="iconfont guoran-shanchu"></i>
7
- </section>
8
- </div>
9
- <template v-if="tagIds && tagIds.length != 0 && previewShowPopup">
10
- <pdfPosition :tagIds="tagIds" ></pdfPosition>
11
- </template>
12
- <template v-else>
13
- <div v-if="fileType == 'VIDEO'" style="width: 100%;height: calc(100% - 60px)">
14
- <video :src="url" controls width="100%;" height="98%"></video>
15
- </div>
16
- <div v-else-if="fileType == 'HTML'" style="width: 100%;height: calc(100% - 60px)">
17
- <div class="preview_iframe_html" style="text-algin:left" v-html="fileText"></div>
18
- </div>
19
- <template v-else-if="url.includes('https://www') || url.includes('http://www')">
20
- <iframe class="preview_iframe"
21
- :src="url"
22
- width="100%"
23
- height="100%"
24
- scrolling="100%"
25
- frameborder="no"
26
- border="0"></iframe>
27
- </template>
28
- <template v-else>
29
- <iframe class="preview_iframe" :src="previewUrl" style="border:none;"></iframe>
30
- </template>
31
- </template>
32
- <div class="loading_img" v-show="loading">
33
- <img src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif" alt="">
34
- </div>
35
- </van-popup> -->
36
- <el-drawer
37
- title="我是标题"
38
- :visible.sync="drawer"
39
- :with-header="false"
40
- :append-to-body="true"
41
- :destroy-on-close="true"
42
- :model="false"
43
- :direction="previewShowPopup ? 'btt' : 'rtl'"
44
- :size="previewShowPopup ? '90%' : '65%'"
45
- custom-class="pdf-preview-drawer"
46
- v-if="drawer"
47
- >
48
- <!-- v-else-if="drawer" -->
49
- <div class="drawer-footer">
50
- <span>查看详情</span>
51
- <section @click="close">
52
- <i class="iconfont guoran-shanchu"></i>
53
- </section>
54
- </div>
55
- <div id="drawer_content_pre">
56
- <template v-if="tagIds && tagIds.length != 0 && drawer">
57
- <pdfPosition :tagIds="tagIds" :isMessageRecord="isMessageRecord"></pdfPosition>
58
- </template>
59
- <template v-else>
60
- <div v-if="fileType == 'VIDEO'" style="width: 100%;">
61
- <video :src="url" controls width="100%;" height="98%"></video>
62
- </div>
63
- <div v-else-if="fileType == 'HTML'" style="width: 100%;">
64
- <div class="preview_iframe_html" style="text-algin:left" v-html="fileText"></div>
65
- </div>
66
- <template v-else-if="url.includes('https://www') || url.includes('http://www')">
67
- <iframe class="preview_iframe"
68
- :src="url"
69
- width="100%"
70
- height="100%"
71
- scrolling="100%"
72
- frameborder="no"
73
- border="0"></iframe>
74
- </template>
75
- <template v-else>
76
- <iframe class="preview_iframe_kk" :src="previewUrl" style="border:none;"></iframe>
77
- </template>
78
- </template>
79
- </div>
80
- <div class="loading_img" v-show="loading">
81
- <img src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif" alt="">
82
- </div>
83
- </el-drawer>
84
- </template>
85
-
86
- <script>
87
- import pdfPosition from './pdfPosition.vue'
88
- import { zoomElement } from '../assets/js/hammer'
89
- export default {
90
- data () {
91
- return {
92
- previewShowPopup: false,
93
- fileText:'',
94
- fileType:"",
95
- isPc:true,
96
- drawer:false,
97
- tagIds: [],
98
- // '6454aa1a70573a6ead6f0f7d', '6454aa1a70573a6ead6f0f81',
99
- loading:true,
100
- }
101
- },
102
- mounted() {
103
- },
104
- props:{
105
- url:{
106
- type: String,
107
- required: true,
108
- },
109
- officePreviewType:{
110
- type: String,
111
- default: ''
112
- },
113
- isMessageRecord:{
114
- type: Boolean,
115
- default:false,
116
- },
117
- sourceFileType:{
118
- type: String,
119
- default: '',
120
- }
121
- },
122
- components:{
123
- pdfPosition
124
- },
125
- watch:{
126
- drawer(value) {
127
- if(value) {
128
- this.$nextTick(() =>{
129
- zoomElement(document.getElementById('drawer_content_pre'))
130
- })
131
- }
132
- }
133
- },
134
- computed:{
135
- previewUrl() {
136
- console.debug('VUE_APP_ENV',process.env.VUE_APP_ENV)
137
- let url = process.env.VUE_APP_ENV === 'production' ? 'https://kkfileview.askbot.cn/onlinePreview?url=' : 'https://test.open.askbot.cn/kkfileview/onlinePreview?url='
138
- // if(this.url != '') {
139
- // if(/[\u4E00-\u9FA5]+/g.test(this.url)) {
140
- // url += btoa(encodeURIComponent(this.url))
141
- // } else {
142
- // url += btoa(this.url)
143
- // }
144
- // }
145
- url = url + this.url
146
- if(this.sourceFileType == '.ppt' || this.sourceFileType == '.pptx') {
147
- url += '&officePreviewType=pdf'
148
- }
149
- return url
150
- },
151
- // fileType() {
152
- // const fileType = this.url.substring(this.url.lastIndexOf('.'));
153
- // if (fileType === '.mp4' || fileType === '.MP4' || fileType === '.MOV' || fileType === '.mov') {
154
- // return 'VIDEO'
155
- // } else {
156
- // return 'OTHER'
157
- // }
158
-
159
- // }
160
- },
161
- methods :{
162
- close() {
163
- setTimeout(() =>{
164
- this.previewShowPopup = false;
165
- this.fileType = ''
166
- }, 300)
167
- this.drawer = false;
168
- },
169
- loadIframe() {
170
-
171
- if(this.fileType == 'VIDEO' || this.fileType == 'WECHAT' || (this.tagIds && this.tagIds.length != 0)) {
172
- this.loading = false
173
- } else {
174
- let time = setInterval(() =>{
175
- let iframe = document.getElementsByClassName('preview_iframe')[0] || document.getElementsByClassName('preview_iframe_kk')[0];
176
- if(iframe) {
177
- this.loading = false
178
- clearInterval(time)
179
- }
180
- }, 500)
181
- }
182
- },
183
- getBolb() {
184
- this.$http.post('/knowledge-api/knowledge/htmlTextDeal?onlyText=false',{
185
- fileInOssPath: this.url,
186
- templateId: ''
187
- }).then(res =>{
188
- if (res.data.code == 0) {
189
- this.fileText = res.data.data
190
- this.loading = false
191
- }
192
- })
193
- },
194
- }
195
- }
196
- </script>
197
-
198
- <style lang="less" scoped>
199
- .preview_iframe {
200
- width: 100%;
201
- height: 100%;
202
- box-sizing: border-box;
203
- background-image: url('https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif');
204
- background-position: center;
205
- background-size: 50px;
206
- background-repeat: no-repeat;
207
- }
208
- .preview_iframe_kk{
209
- width: 100%;
210
- height: 100%;
211
- }
212
- .preview_iframe_html{
213
- width: 100%;
214
- height: 100%;
215
- overflow-y: scroll;
216
- text-align: left;
217
- box-sizing: border-box;
218
- padding: 16px;
219
- /deep/.lake-content{
220
- margin-left: 10px;
221
- }
222
- /deep/a:link {
223
- color: #0000ee!important;
224
- }
225
- /deep/a:visited {
226
- color: #0000ee!important;
227
- }
228
- /deep/a:hover {
229
- color: #0000ee!important;
230
- }
231
- /deep/a:active {
232
- color: #0000ee!important;
233
- }
234
- /deep/li:not(.rich-text-li), ol:not(.list-paddingleft-2), ul:not(.list-paddingleft-2){
235
- list-style-type: auto!important;
236
- }
237
- /deep/img{
238
- width: 100%;
239
- }
240
- /deep/.ne-table{
241
- width: 100% !important;
242
- }
243
- }
244
- .footer {
245
- width: calc(100% - 40px);
246
- height: 50px;
247
- display: flex;
248
- align-items: center;
249
- justify-content: space-between;
250
- cursor: pointer;
251
- padding: 0 20px;
252
- border-bottom: 1px solid #cccccc;
253
- }
254
- .loading_img {
255
- display: flex;
256
- align-items: center;
257
- justify-content: center;
258
- width: 100%;
259
- height: 100%;
260
- position: absolute;
261
- top: 0;
262
- left: 0;
263
- background: #FFF;
264
- img {
265
- width: 50px;
266
- height: 50px;
267
- }
268
- }
269
-
270
- .drawer-footer{
271
- width:100%;
272
- height: 50px;
273
- display: flex;
274
- align-items: center;
275
- justify-content: space-between;
276
- cursor: pointer;
277
- padding: 0 20px;
278
- border-bottom: 1px solid #cccccc;
279
- }
280
- @media screen and (max-width: 767px) {
281
- /* 这里是针对移动设备的css样式设置 */
282
- /deep/.el-drawer__body{
283
- height: 100%;
284
- }
285
- #drawer_content_pre {
286
- overflow: auto;
287
- height: calc(100% - 50px);
288
- background: #FFF;
289
- background-image: url('https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif');
290
- background-position: center;
291
- background-size: 50px;
292
- background-repeat: no-repeat;
293
- }
294
- }
295
- @media screen and (min-width: 768px) {
296
- /* 这里是针对pc设备的css样式设置 */
297
- /deep/.el-drawer__body{
298
- height: 100%;
299
- }
300
- #drawer_content_pre {
301
- overflow: auto;
302
- height: calc(100% - 50px);
303
- background: #FFF;
304
- }
305
- }
306
-
1
+ <template>
2
+ <!-- <van-popup v-model="previewShowPopup" position="bottom" :style="{ height: '90%', background:'#FFFFFF'}" v-if="previewShowPopup">
3
+ <div class="footer">
4
+ <span>查看详情</span>
5
+ <section @click="close">
6
+ <i class="iconfont guoran-shanchu"></i>
7
+ </section>
8
+ </div>
9
+ <template v-if="tagIds && tagIds.length != 0 && previewShowPopup">
10
+ <pdfPosition :tagIds="tagIds" ></pdfPosition>
11
+ </template>
12
+ <template v-else>
13
+ <div v-if="fileType == 'VIDEO'" style="width: 100%;height: calc(100% - 60px)">
14
+ <video :src="url" controls width="100%;" height="98%"></video>
15
+ </div>
16
+ <div v-else-if="fileType == 'HTML'" style="width: 100%;height: calc(100% - 60px)">
17
+ <div class="preview_iframe_html" style="text-algin:left" v-html="fileText"></div>
18
+ </div>
19
+ <template v-else-if="url.includes('https://www') || url.includes('http://www')">
20
+ <iframe class="preview_iframe"
21
+ :src="url"
22
+ width="100%"
23
+ height="100%"
24
+ scrolling="100%"
25
+ frameborder="no"
26
+ border="0"></iframe>
27
+ </template>
28
+ <template v-else>
29
+ <iframe class="preview_iframe" :src="previewUrl" style="border:none;"></iframe>
30
+ </template>
31
+ </template>
32
+ <div class="loading_img" v-show="loading">
33
+ <img src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif" alt="">
34
+ </div>
35
+ </van-popup> -->
36
+ <el-drawer
37
+ title="我是标题"
38
+ :visible.sync="drawer"
39
+ :with-header="false"
40
+ :append-to-body="true"
41
+ :destroy-on-close="true"
42
+ :model="false"
43
+ :direction="previewShowPopup ? 'btt' : 'rtl'"
44
+ :size="previewShowPopup ? '90%' : '65%'"
45
+ custom-class="pdf-preview-drawer"
46
+ v-if="drawer"
47
+ >
48
+ <!-- v-else-if="drawer" -->
49
+ <div class="drawer-footer">
50
+ <span>查看详情</span>
51
+ <div class="header-right">
52
+ <template v-if="isHasChat">
53
+ <div class="chat" @click="previewToDialog(true)" v-if="!previewKnowledgeId">
54
+ <i class="iconfont guoran-wendapingjia"></i>
55
+ 聊一聊
56
+ </div>
57
+ <div class="chat chat_active" @click="previewToDialog(false)" v-else>
58
+ <i class="iconfont guoran-wendapingjia"></i>
59
+ 聊一聊
60
+ </div>
61
+ </template>
62
+ <section @click="close">
63
+ <i class="iconfont guoran-shanchu"></i>
64
+ </section>
65
+ </div>
66
+ </div>
67
+ <div id="drawer_content_pre">
68
+ <template v-if="tagIds && tagIds.length != 0 && drawer">
69
+ <pdfPosition :tagIds="tagIds" :isMessageRecord="isMessageRecord"></pdfPosition>
70
+ </template>
71
+ <template v-else>
72
+ <div v-if="fileType == 'VIDEO'" style="width: 100%;">
73
+ <video :src="url" controls width="100%;" height="98%"></video>
74
+ </div>
75
+ <div v-else-if="fileType == 'HTML'" style="width: 100%;">
76
+ <div class="preview_iframe_html" style="text-algin:left" v-html="fileText"></div>
77
+ </div>
78
+ <template v-else-if="url.includes('https://www') || url.includes('http://www')">
79
+ <iframe class="preview_iframe"
80
+ :src="url"
81
+ width="100%"
82
+ height="100%"
83
+ scrolling="100%"
84
+ frameborder="no"
85
+ border="0"></iframe>
86
+ </template>
87
+ <template v-else>
88
+ <iframe class="preview_iframe_kk" :src="previewUrl" style="border:none;"></iframe>
89
+ </template>
90
+ </template>
91
+ </div>
92
+ <div class="loading_img" v-show="loading">
93
+ <img src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif" alt="">
94
+ </div>
95
+ </el-drawer>
96
+ </template>
97
+
98
+ <script>
99
+ import pdfPosition from './pdfPosition.vue'
100
+ import { zoomElement } from '../assets/js/hammer'
101
+ export default {
102
+ data () {
103
+ return {
104
+ previewShowPopup: false,
105
+ fileText:'',
106
+ fileType:"",
107
+ isPc:true,
108
+ drawer:false,
109
+ tagIds: [],
110
+ // '6454aa1a70573a6ead6f0f7d', '6454aa1a70573a6ead6f0f81',
111
+ loading:true,
112
+ previewKnowledgeId:""
113
+ }
114
+ },
115
+ mounted() {
116
+ },
117
+ props:{
118
+ url:{
119
+ type: String,
120
+ required: true,
121
+ },
122
+ officePreviewType:{
123
+ type: String,
124
+ default: ''
125
+ },
126
+ isMessageRecord:{
127
+ type: Boolean,
128
+ default:false,
129
+ },
130
+ sourceFileType:{
131
+ type: String,
132
+ default: '',
133
+ },
134
+ isHasChat:{
135
+ type:Boolean,
136
+ default:false
137
+ }
138
+ },
139
+ components:{
140
+ pdfPosition
141
+ },
142
+ watch:{
143
+ drawer(value) {
144
+ if(value) {
145
+ this.$nextTick(() =>{
146
+ zoomElement(document.getElementById('drawer_content_pre'))
147
+ })
148
+ }
149
+ }
150
+ },
151
+ computed:{
152
+ previewUrl() {
153
+ console.debug('VUE_APP_ENV',process.env.VUE_APP_ENV)
154
+ let url = process.env.VUE_APP_ENV === 'production' ? 'https://kkfileview.askbot.cn/onlinePreview?url=' : 'https://open-uat.nipponpaint.com.cn/kkfileview/onlinePreview?url='
155
+ // if(this.url != '') {
156
+ // if(/[\u4E00-\u9FA5]+/g.test(this.url)) {
157
+ // url += btoa(encodeURIComponent(this.url))
158
+ // } else {
159
+ // url += btoa(this.url)
160
+ // }
161
+ // }
162
+ url = url + this.url
163
+ if(this.sourceFileType == '.ppt' || this.sourceFileType == '.pptx') {
164
+ url += '&officePreviewType=pdf'
165
+ }
166
+ return url
167
+ },
168
+ // fileType() {
169
+ // const fileType = this.url.substring(this.url.lastIndexOf('.'));
170
+ // if (fileType === '.mp4' || fileType === '.MP4' || fileType === '.MOV' || fileType === '.mov') {
171
+ // return 'VIDEO'
172
+ // } else {
173
+ // return 'OTHER'
174
+ // }
175
+
176
+ // }
177
+ },
178
+ methods :{
179
+ close() {
180
+ setTimeout(() =>{
181
+ this.previewShowPopup = false;
182
+ this.fileType = ''
183
+ }, 300)
184
+ this.drawer = false;
185
+ },
186
+ loadIframe() {
187
+
188
+ if(this.fileType == 'VIDEO' || this.fileType == 'WECHAT' || (this.tagIds && this.tagIds.length != 0)) {
189
+ this.loading = false
190
+ } else {
191
+ let time = setInterval(() =>{
192
+ let iframe = document.getElementsByClassName('preview_iframe')[0] || document.getElementsByClassName('preview_iframe_kk')[0];
193
+ if(iframe) {
194
+ this.loading = false
195
+ clearInterval(time)
196
+ }
197
+ }, 500)
198
+ }
199
+ },
200
+ getBolb() {
201
+ this.$http.post('/knowledge-api/knowledge/htmlTextDeal?onlyText=false',{
202
+ fileInOssPath: this.url,
203
+ templateId: ''
204
+ }).then(res =>{
205
+ if (res.data.code == 0) {
206
+ this.fileText = res.data.data
207
+ this.loading = false
208
+ }
209
+ })
210
+ },
211
+ previewToDialog(flag){
212
+ this.$emit('previewToDialog',flag)
213
+ }
214
+ }
215
+ }
216
+ </script>
217
+
218
+ <style lang="less" scoped>
219
+ .preview_iframe {
220
+ width: 100%;
221
+ height: 100%;
222
+ box-sizing: border-box;
223
+ background-image: url('https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif');
224
+ background-position: center;
225
+ background-size: 50px;
226
+ background-repeat: no-repeat;
227
+ }
228
+ .preview_iframe_kk{
229
+ width: 100%;
230
+ height: 100%;
231
+ }
232
+ .preview_iframe_html{
233
+ width: 100%;
234
+ height: 100%;
235
+ overflow-y: scroll;
236
+ text-align: left;
237
+ box-sizing: border-box;
238
+ padding: 16px;
239
+ /deep/.lake-content{
240
+ margin-left: 10px;
241
+ }
242
+ /deep/a:link {
243
+ color: #0000ee!important;
244
+ }
245
+ /deep/a:visited {
246
+ color: #0000ee!important;
247
+ }
248
+ /deep/a:hover {
249
+ color: #0000ee!important;
250
+ }
251
+ /deep/a:active {
252
+ color: #0000ee!important;
253
+ }
254
+ /deep/li:not(.rich-text-li), ol:not(.list-paddingleft-2), ul:not(.list-paddingleft-2){
255
+ list-style-type: auto!important;
256
+ }
257
+ /deep/img{
258
+ width: 100%;
259
+ }
260
+ /deep/.ne-table{
261
+ width: 100% !important;
262
+ }
263
+ }
264
+ .footer {
265
+ width: calc(100% - 40px);
266
+ height: 50px;
267
+ display: flex;
268
+ align-items: center;
269
+ justify-content: space-between;
270
+ cursor: pointer;
271
+ padding: 0 20px;
272
+ border-bottom: 1px solid #cccccc;
273
+ }
274
+ .loading_img {
275
+ display: flex;
276
+ align-items: center;
277
+ justify-content: center;
278
+ width: 100%;
279
+ height: 100%;
280
+ position: absolute;
281
+ top: 0;
282
+ left: 0;
283
+ background: #FFF;
284
+ img {
285
+ width: 50px;
286
+ height: 50px;
287
+ }
288
+ }
289
+
290
+ .drawer-footer{
291
+ width:100%;
292
+ height: 50px;
293
+ display: flex;
294
+ align-items: center;
295
+ justify-content: space-between;
296
+ cursor: pointer;
297
+ padding: 0 20px;
298
+ border-bottom: 1px solid #cccccc;
299
+ .header-right{
300
+ display: flex;
301
+ align-items: center;
302
+ .chat {
303
+ width: 95px;
304
+ height: 26px;
305
+ background: #ffffff;
306
+ display: flex;
307
+ align-items: center;
308
+ justify-content: center;
309
+ box-sizing: border-box;
310
+ border: 1px solid #a1b9ff;
311
+ border-radius: 15px 0px 15px 15px;
312
+ cursor: pointer;
313
+ color: #366aff;
314
+ margin-right: 10px;
315
+ font-size: 14px;
316
+ i {
317
+ font-size: 16px;
318
+ margin: 0 5px;
319
+ }
320
+ }
321
+ .chat_active {
322
+ background: #366aff !important;
323
+ color: #FFFFFF !important;
324
+ }
325
+ }
326
+ }
327
+ @media screen and (max-width: 767px) {
328
+ /* 这里是针对移动设备的css样式设置 */
329
+ /deep/.el-drawer__body{
330
+ height: 100%;
331
+ }
332
+ #drawer_content_pre {
333
+ overflow: auto;
334
+ height: calc(100% - 50px);
335
+ background: #FFF;
336
+ background-image: url('https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif');
337
+ background-position: center;
338
+ background-size: 50px;
339
+ background-repeat: no-repeat;
340
+ }
341
+ }
342
+ @media screen and (min-width: 768px) {
343
+ /* 这里是针对pc设备的css样式设置 */
344
+ /deep/.el-drawer__body{
345
+ height: 100%;
346
+ }
347
+ #drawer_content_pre {
348
+ overflow: auto;
349
+ height: calc(100% - 50px);
350
+ background: #FFF;
351
+ }
352
+ }
353
+
307
354
  </style>