askbot-dragon 1.5.44-beta → 1.5.47-beta

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 (87) 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 +58 -58
  5. package/public/index.html +74 -74
  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 +11 -11
  13. package/src/assets/js/hammer.js +100 -100
  14. package/src/assets/js/script.js +36 -36
  15. package/src/assets/less/common.css +6773 -6773
  16. package/src/assets/less/converSationContainer/common.less +199 -192
  17. package/src/assets/less/converSationContainer/converSatonContainer.less +493 -493
  18. package/src/assets/less/iconfont.css +37 -37
  19. package/src/assets/less/ticketMessage.less +294 -294
  20. package/src/components/ActionAlertIframe.vue +112 -112
  21. package/src/components/AiGuide.vue +467 -467
  22. package/src/components/AnswerDocknowledge.vue +504 -499
  23. package/src/components/AnswerVoice.vue +285 -285
  24. package/src/components/AskIFrame.vue +15 -15
  25. package/src/components/ConversationContainer.vue +5120 -5120
  26. package/src/components/FileType.vue +86 -86
  27. package/src/components/Message.vue +27 -27
  28. package/src/components/actionSatisfaction.vue +107 -107
  29. package/src/components/actionSendToBot.vue +62 -62
  30. package/src/components/answerDissatisfaction.vue +62 -62
  31. package/src/components/answerRadio.vue +131 -131
  32. package/src/components/ask-components/DissatisfactionOptions.vue +57 -57
  33. package/src/components/ask-components/Msgloading.vue +37 -37
  34. package/src/components/ask-components/SatisfactionV2.vue +15 -15
  35. package/src/components/askVideo.vue +138 -138
  36. package/src/components/assetDetails.vue +370 -370
  37. package/src/components/assetMessage.vue +228 -228
  38. package/src/components/associationIntention.vue +349 -349
  39. package/src/components/attachmentPreview.vue +90 -90
  40. package/src/components/botActionSatisfactor.vue +68 -68
  41. package/src/components/chatContent.vue +513 -513
  42. package/src/components/feedBack.vue +136 -136
  43. package/src/components/fielListView.vue +351 -351
  44. package/src/components/file/AliyunOssComponents.vue +108 -108
  45. package/src/components/formTemplate.vue +3557 -3557
  46. package/src/components/kkview.vue +1138 -1138
  47. package/src/components/loadingProcess.vue +164 -164
  48. package/src/components/message/ActionAlertIframe.vue +112 -112
  49. package/src/components/message/ShopMessage.vue +164 -164
  50. package/src/components/message/TextMessage.vue +924 -924
  51. package/src/components/message/TicketMessage.vue +201 -201
  52. package/src/components/message/swiper/index.js +4 -4
  53. package/src/components/message/swiper/ticketSwiper.vue +503 -503
  54. package/src/components/message/swiper/ticketSwiperItem.vue +61 -61
  55. package/src/components/msgLoading.vue +231 -231
  56. package/src/components/myPopup.vue +70 -70
  57. package/src/components/newPdfPosition.vue +877 -877
  58. package/src/components/pdfPosition.vue +1362 -1360
  59. package/src/components/popup.vue +227 -227
  60. package/src/components/previewDoc.vue +242 -242
  61. package/src/components/previewPdf.vue +310 -313
  62. package/src/components/receiverMessagePlatform.vue +65 -65
  63. package/src/components/recommend.vue +89 -89
  64. package/src/components/selector/hOption.vue +20 -20
  65. package/src/components/selector/hSelector.vue +199 -199
  66. package/src/components/selector/hWrapper.vue +216 -216
  67. package/src/components/senderMessagePlatform.vue +50 -50
  68. package/src/components/source/BotMessage.vue +24 -24
  69. package/src/components/source/CustomMessage.vue +24 -24
  70. package/src/components/test.vue +260 -260
  71. package/src/components/tree.vue +294 -294
  72. package/src/components/utils/AliyunIssUtil.js +81 -81
  73. package/src/components/utils/ckeditor.js +174 -174
  74. package/src/components/utils/ckeditorImageUpload/command.js +109 -109
  75. package/src/components/utils/ckeditorImageUpload/editing.js +11 -11
  76. package/src/components/utils/ckeditorImageUpload/plugin-image.js +11 -11
  77. package/src/components/utils/ckeditorImageUpload/toolbar-ui.js +40 -40
  78. package/src/components/utils/ckeditorfileUpload/common.js +180 -180
  79. package/src/components/utils/ckeditorfileUpload/editing.js +11 -11
  80. package/src/components/utils/ckeditorfileUpload/plugin_file.js +11 -11
  81. package/src/components/utils/ckeditorfileUpload/toolbar_ui.js +34 -34
  82. package/src/components/utils/format_date.js +25 -25
  83. package/src/components/utils/index.js +6 -6
  84. package/src/components/utils/math_utils.js +29 -29
  85. package/src/components/voiceComponent.vue +119 -119
  86. package/src/main.js +60 -60
  87. package/vue.config.js +55 -55
@@ -1,314 +1,311 @@
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" :fileName="fileName" ref="pdfPosition"></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" :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
- fileName:''
101
- }
102
- },
103
- mounted() {
104
- },
105
- props:{
106
- url:{
107
- type: String,
108
- required: true,
109
- },
110
- officePreviewType:{
111
- type: String,
112
- default: ''
113
- },
114
- isMessageRecord:{
115
- type: Boolean,
116
- default:false,
117
- },
118
- sourceFileType:{
119
- type: String,
120
- default: '',
121
- }
122
- },
123
- components:{
124
- pdfPosition
125
- },
126
- watch:{
127
- drawer(value) {
128
- if(value) {
129
- this.$nextTick(() =>{
130
- setTimeout(() => {
131
- if (this.tagIds && this.tagIds.length != 0){
132
- let transScale = this.$refs.pdfPosition.transformSalce
133
- zoomElement(document.getElementById('contentView'),transScale)
134
- }
135
- },1000)
136
- })
137
- }
138
- setTimeout(() => {
139
- let previewIframe = document.getElementsByClassName('preview_iframe')
140
- Array.from(previewIframe).forEach(item =>{
141
- item.onload = () =>{
142
- console.debug('previewIframe 106',previewIframe,this.drawer)
143
- item.style.backgroundImage = 'none'
144
- }
145
- })
146
- })
147
- }
148
- },
149
- computed:{
150
- previewUrl() {
151
- console.debug('VUE_APP_ENV',process.env.VUE_APP_ENV)
152
- let url = process.env.VUE_APP_ENV === 'production' ? 'https://kkfileview.askbot.cn/onlinePreview?url=' : 'https://test.open.askbot.cn/kkfileview/onlinePreview?url='
153
- // if(this.url != '') {
154
- // if(/[\u4E00-\u9FA5]+/g.test(this.url)) {
155
- // url += btoa(encodeURIComponent(this.url))
156
- // } else {
157
- // url += btoa(this.url)
158
- // }
159
- // }
160
- url = url + this.url
161
- if(this.sourceFileType == '.ppt' || this.sourceFileType == '.pptx') {
162
- url += '&officePreviewType=pdf'
163
- }
164
- return url
165
- },
166
- // fileType() {
167
- // const fileType = this.url.substring(this.url.lastIndexOf('.'));
168
- // if (fileType === '.mp4' || fileType === '.MP4' || fileType === '.MOV' || fileType === '.mov') {
169
- // return 'VIDEO'
170
- // } else {
171
- // return 'OTHER'
172
- // }
173
-
174
- // }
175
- },
176
- methods :{
177
- close() {
178
- setTimeout(() =>{
179
- this.previewShowPopup = false;
180
- this.fileType = ''
181
- }, 300)
182
- this.drawer = false;
183
- },
184
- loadIframe() {
185
-
186
- if(this.fileType == 'VIDEO' || this.fileType == 'WECHAT' || (this.tagIds && this.tagIds.length != 0)) {
187
- this.loading = false
188
- } else {
189
- let time = setInterval(() =>{
190
- let iframe = document.getElementsByClassName('preview_iframe')[0]
191
- if(iframe) {
192
- this.loading = false
193
- clearInterval(time)
194
- }
195
- }, 500)
196
- }
197
- },
198
- getBolb() {
199
- this.$http.post('/knowledge-api/knowledge/htmlTextDeal?onlyText=false',{
200
- fileInOssPath: this.url,
201
- templateId: ''
202
- }).then(res =>{
203
- if (res.data.code == 0) {
204
- this.fileText = res.data.data
205
- this.loading = false
206
- }
207
- })
208
- },
209
- }
210
- }
211
- </script>
212
-
213
- <style lang="less" scoped>
214
- .preview_iframe {
215
- width: 100%;
216
- height: calc(100% - 60px);
217
- box-sizing: border-box;
218
- background-image: url('https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif');
219
- background-position: center;
220
- background-size: 50px;
221
- background-repeat: no-repeat;
222
- }
223
- .preview_iframe_html{
224
- width: 100%;
225
- height: 100%;
226
- overflow-y: scroll;
227
- text-align: left;
228
- box-sizing: border-box;
229
- padding: 16px;
230
- /deep/.lake-content{
231
- margin-left: 10px;
232
- }
233
- /deep/a:link {
234
- color: #0000ee!important;
235
- }
236
- /deep/a:visited {
237
- color: #0000ee!important;
238
- }
239
- /deep/a:hover {
240
- color: #0000ee!important;
241
- }
242
- /deep/a:active {
243
- color: #0000ee!important;
244
- }
245
- /deep/li:not(.rich-text-li), ol:not(.list-paddingleft-2), ul:not(.list-paddingleft-2){
246
- list-style-type: auto!important;
247
- }
248
- /deep/img{
249
- width: 100%;
250
- }
251
- /deep/.ne-table{
252
- width: 100% !important;
253
- }
254
- }
255
- .footer {
256
- width: calc(100% - 40px);
257
- height: 50px;
258
- display: flex;
259
- align-items: center;
260
- justify-content: space-between;
261
- cursor: pointer;
262
- padding: 0 20px;
263
- border-bottom: 1px solid #cccccc;
264
- }
265
- .loading_img {
266
- display: flex;
267
- align-items: center;
268
- justify-content: center;
269
- width: 100%;
270
- height: 100%;
271
- position: absolute;
272
- top: 0;
273
- left: 0;
274
- background: #FFF;
275
- img {
276
- width: 50px;
277
- height: 50px;
278
- }
279
- }
280
-
281
- .drawer-footer{
282
- width:100%;
283
- height: 50px;
284
- display: flex;
285
- align-items: center;
286
- justify-content: space-between;
287
- cursor: pointer;
288
- padding: 0 20px;
289
- border-bottom: 1px solid #cccccc;
290
- }
291
- @media screen and (max-width: 767px) {
292
- /* 这里是针对移动设备的css样式设置 */
293
- /deep/.el-drawer__body{
294
- height: 100%;
295
- }
296
- #drawer_content_pre {
297
- overflow: auto;
298
- height: calc(100% - 50px);
299
- background: #FFF;
300
- }
301
- }
302
- @media screen and (min-width: 768px) {
303
- /* 这里是针对pc设备的css样式设置 */
304
- /deep/.el-drawer__body{
305
- height: 100%;
306
- }
307
- #drawer_content_pre {
308
- overflow: auto;
309
- height: calc(100% - 50px);
310
- background: #FFF;
311
- }
312
- }
313
-
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" :fileName="fileName" ref="pdfPosition"></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" :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
+ fileName:''
101
+ }
102
+ },
103
+ mounted() {
104
+ },
105
+ props:{
106
+ url:{
107
+ type: String,
108
+ required: true,
109
+ },
110
+ officePreviewType:{
111
+ type: String,
112
+ default: ''
113
+ },
114
+ isMessageRecord:{
115
+ type: Boolean,
116
+ default:false,
117
+ },
118
+ sourceFileType:{
119
+ type: String,
120
+ default: '',
121
+ }
122
+ },
123
+ components:{
124
+ pdfPosition
125
+ },
126
+ watch:{
127
+ drawer(value) {
128
+ if(value) {
129
+ this.$nextTick(() =>{
130
+ if (this.tagIds && this.tagIds.length != 0){
131
+ zoomElement(document.getElementById('pdf_container_view'))
132
+ }
133
+ })
134
+ }
135
+ setTimeout(() => {
136
+ let previewIframe = document.getElementsByClassName('preview_iframe')
137
+ Array.from(previewIframe).forEach(item =>{
138
+ item.onload = () =>{
139
+ console.debug('previewIframe 106',previewIframe,this.drawer)
140
+ item.style.backgroundImage = 'none'
141
+ }
142
+ })
143
+ })
144
+ }
145
+ },
146
+ computed:{
147
+ previewUrl() {
148
+ console.debug('VUE_APP_ENV',process.env.VUE_APP_ENV)
149
+ let url = process.env.VUE_APP_ENV === 'production' ? 'https://kkfileview.askbot.cn/onlinePreview?url=' : 'https://test.open.askbot.cn/kkfileview/onlinePreview?url='
150
+ // if(this.url != '') {
151
+ // if(/[\u4E00-\u9FA5]+/g.test(this.url)) {
152
+ // url += btoa(encodeURIComponent(this.url))
153
+ // } else {
154
+ // url += btoa(this.url)
155
+ // }
156
+ // }
157
+ url = url + this.url
158
+ if(this.sourceFileType == '.ppt' || this.sourceFileType == '.pptx') {
159
+ url += '&officePreviewType=pdf'
160
+ }
161
+ return url
162
+ },
163
+ // fileType() {
164
+ // const fileType = this.url.substring(this.url.lastIndexOf('.'));
165
+ // if (fileType === '.mp4' || fileType === '.MP4' || fileType === '.MOV' || fileType === '.mov') {
166
+ // return 'VIDEO'
167
+ // } else {
168
+ // return 'OTHER'
169
+ // }
170
+
171
+ // }
172
+ },
173
+ methods :{
174
+ close() {
175
+ setTimeout(() =>{
176
+ this.previewShowPopup = false;
177
+ this.fileType = ''
178
+ }, 300)
179
+ this.drawer = false;
180
+ },
181
+ loadIframe() {
182
+
183
+ if(this.fileType == 'VIDEO' || this.fileType == 'WECHAT' || (this.tagIds && this.tagIds.length != 0)) {
184
+ this.loading = false
185
+ } else {
186
+ let time = setInterval(() =>{
187
+ let iframe = document.getElementsByClassName('preview_iframe')[0]
188
+ if(iframe) {
189
+ this.loading = false
190
+ clearInterval(time)
191
+ }
192
+ }, 500)
193
+ }
194
+ },
195
+ getBolb() {
196
+ this.$http.post('/knowledge-api/knowledge/htmlTextDeal?onlyText=false',{
197
+ fileInOssPath: this.url,
198
+ templateId: ''
199
+ }).then(res =>{
200
+ if (res.data.code == 0) {
201
+ this.fileText = res.data.data
202
+ this.loading = false
203
+ }
204
+ })
205
+ },
206
+ }
207
+ }
208
+ </script>
209
+
210
+ <style lang="less" scoped>
211
+ .preview_iframe {
212
+ width: 100%;
213
+ height: calc(100% - 60px);
214
+ box-sizing: border-box;
215
+ background-image: url('https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif');
216
+ background-position: center;
217
+ background-size: 50px;
218
+ background-repeat: no-repeat;
219
+ }
220
+ .preview_iframe_html{
221
+ width: 100%;
222
+ height: 100%;
223
+ overflow-y: scroll;
224
+ text-align: left;
225
+ box-sizing: border-box;
226
+ padding: 16px;
227
+ /deep/.lake-content{
228
+ margin-left: 10px;
229
+ }
230
+ /deep/a:link {
231
+ color: #0000ee!important;
232
+ }
233
+ /deep/a:visited {
234
+ color: #0000ee!important;
235
+ }
236
+ /deep/a:hover {
237
+ color: #0000ee!important;
238
+ }
239
+ /deep/a:active {
240
+ color: #0000ee!important;
241
+ }
242
+ /deep/li:not(.rich-text-li), ol:not(.list-paddingleft-2), ul:not(.list-paddingleft-2){
243
+ list-style-type: auto!important;
244
+ }
245
+ /deep/img{
246
+ width: 100%;
247
+ }
248
+ /deep/.ne-table{
249
+ width: 100% !important;
250
+ }
251
+ }
252
+ .footer {
253
+ width: calc(100% - 40px);
254
+ height: 50px;
255
+ display: flex;
256
+ align-items: center;
257
+ justify-content: space-between;
258
+ cursor: pointer;
259
+ padding: 0 20px;
260
+ border-bottom: 1px solid #cccccc;
261
+ }
262
+ .loading_img {
263
+ display: flex;
264
+ align-items: center;
265
+ justify-content: center;
266
+ width: 100%;
267
+ height: 100%;
268
+ position: absolute;
269
+ top: 0;
270
+ left: 0;
271
+ background: #FFF;
272
+ img {
273
+ width: 50px;
274
+ height: 50px;
275
+ }
276
+ }
277
+
278
+ .drawer-footer{
279
+ width:100%;
280
+ height: 50px;
281
+ display: flex;
282
+ align-items: center;
283
+ justify-content: space-between;
284
+ cursor: pointer;
285
+ padding: 0 20px;
286
+ border-bottom: 1px solid #cccccc;
287
+ }
288
+ @media screen and (max-width: 767px) {
289
+ /* 这里是针对移动设备的css样式设置 */
290
+ /deep/.el-drawer__body{
291
+ height: 100%;
292
+ }
293
+ #drawer_content_pre {
294
+ overflow: auto;
295
+ height: calc(100% - 50px);
296
+ background: #FFF;
297
+ }
298
+ }
299
+ @media screen and (min-width: 768px) {
300
+ /* 这里是针对pc设备的css样式设置 */
301
+ /deep/.el-drawer__body{
302
+ height: 100%;
303
+ }
304
+ #drawer_content_pre {
305
+ overflow: auto;
306
+ height: calc(100% - 50px);
307
+ background: #FFF;
308
+ }
309
+ }
310
+
314
311
  </style>