askbot-dragon 1.4.86 → 1.4.88

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 (85) 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 +59 -59
  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 +89 -89
  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 +192 -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 +211 -211
  20. package/src/components/ActionAlertIframe.vue +112 -112
  21. package/src/components/AiGuide.vue +467 -467
  22. package/src/components/AnswerDocknowledge.vue +490 -489
  23. package/src/components/AnswerVoice.vue +285 -285
  24. package/src/components/AskIFrame.vue +15 -15
  25. package/src/components/ConversationContainer.vue +4303 -4303
  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 +347 -347
  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 +349 -349
  44. package/src/components/file/AliyunOssComponents.vue +108 -108
  45. package/src/components/formTemplate.vue +3543 -3541
  46. package/src/components/loadingProcess.vue +164 -164
  47. package/src/components/message/ActionAlertIframe.vue +112 -112
  48. package/src/components/message/ShopMessage.vue +164 -164
  49. package/src/components/message/TextMessage.vue +924 -924
  50. package/src/components/message/TicketMessage.vue +177 -177
  51. package/src/components/message/swiper/index.js +4 -4
  52. package/src/components/message/swiper/ticketSwiper.vue +503 -503
  53. package/src/components/message/swiper/ticketSwiperItem.vue +61 -61
  54. package/src/components/msgLoading.vue +231 -231
  55. package/src/components/myPopup.vue +70 -70
  56. package/src/components/pdfPosition.vue +1106 -1106
  57. package/src/components/popup.vue +227 -227
  58. package/src/components/previewDoc.vue +228 -228
  59. package/src/components/previewPdf.vue +289 -289
  60. package/src/components/receiverMessagePlatform.vue +65 -65
  61. package/src/components/recommend.vue +89 -89
  62. package/src/components/selector/hOption.vue +20 -20
  63. package/src/components/selector/hSelector.vue +199 -199
  64. package/src/components/selector/hWrapper.vue +216 -216
  65. package/src/components/senderMessagePlatform.vue +50 -50
  66. package/src/components/source/BotMessage.vue +24 -24
  67. package/src/components/source/CustomMessage.vue +24 -24
  68. package/src/components/test.vue +260 -260
  69. package/src/components/tree.vue +294 -294
  70. package/src/components/utils/AliyunIssUtil.js +81 -81
  71. package/src/components/utils/ckeditor.js +174 -174
  72. package/src/components/utils/ckeditorImageUpload/command.js +109 -109
  73. package/src/components/utils/ckeditorImageUpload/editing.js +11 -11
  74. package/src/components/utils/ckeditorImageUpload/plugin-image.js +11 -11
  75. package/src/components/utils/ckeditorImageUpload/toolbar-ui.js +40 -40
  76. package/src/components/utils/ckeditorfileUpload/common.js +180 -180
  77. package/src/components/utils/ckeditorfileUpload/editing.js +11 -11
  78. package/src/components/utils/ckeditorfileUpload/plugin_file.js +11 -11
  79. package/src/components/utils/ckeditorfileUpload/toolbar_ui.js +34 -34
  80. package/src/components/utils/format_date.js +25 -25
  81. package/src/components/utils/index.js +6 -6
  82. package/src/components/utils/math_utils.js +29 -29
  83. package/src/components/voiceComponent.vue +119 -119
  84. package/src/main.js +60 -60
  85. package/vue.config.js +55 -55
@@ -1,290 +1,290 @@
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
- :direction="previewShowPopup ? 'btt' : 'rtl'"
43
- :size="previewShowPopup ? '90%' : '65%'"
44
- custom-class="pdf-preview-drawer"
45
- v-if="drawer"
46
- >
47
- <!-- v-else-if="drawer" -->
48
- <div class="drawer-footer">
49
- <span>查看详情</span>
50
- <section @click="close">
51
- <i class="iconfont guoran-shanchu"></i>
52
- </section>
53
- </div>
54
- <div id="drawer_content_pre">
55
- <template v-if="tagIds && tagIds.length != 0 && drawer">
56
- <pdfPosition :tagIds="tagIds" :isMessageRecord="isMessageRecord"></pdfPosition>
57
- </template>
58
- <template v-else>
59
- <div v-if="fileType == 'VIDEO'" style="width: 100%;">
60
- <video :src="url" controls width="100%;" height="98%"></video>
61
- </div>
62
- <div v-else-if="fileType == 'HTML'" style="width: 100%;">
63
- <div class="preview_iframe_html" style="text-algin:left" v-html="fileText"></div>
64
- </div>
65
- <template v-else-if="url.includes('https://www') || url.includes('http://www')">
66
- <iframe class="preview_iframe"
67
- :src="url"
68
- width="100%"
69
- height="100%"
70
- scrolling="100%"
71
- frameborder="no"
72
- border="0"></iframe>
73
- </template>
74
- <template v-else>
75
- <iframe class="preview_iframe" :src="previewUrl" style="border:none;"></iframe>
76
- </template>
77
- </template>
78
- </div>
79
- <div class="loading_img" v-show="loading">
80
- <img src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif" alt="">
81
- </div>
82
- </el-drawer>
83
- </template>
84
-
85
- <script>
86
- import pdfPosition from './pdfPosition.vue'
87
- import { zoomElement } from '../assets/js/hammer'
88
- export default {
89
- data () {
90
- return {
91
- previewShowPopup: false,
92
- fileText:'',
93
- fileType:"",
94
- isPc:true,
95
- drawer:false,
96
- tagIds: [],
97
- // '6454aa1a70573a6ead6f0f7d', '6454aa1a70573a6ead6f0f81',
98
- loading:true,
99
- }
100
- },
101
- mounted() {
102
- },
103
- props:{
104
- url:{
105
- type: String,
106
- required: true,
107
- },
108
- officePreviewType:{
109
- type: String,
110
- default: ''
111
- },
112
- isMessageRecord:{
113
- type: Boolean,
114
- default:false,
115
- }
116
- },
117
- components:{
118
- pdfPosition
119
- },
120
- watch:{
121
- drawer(value) {
122
- if(value) {
123
- this.$nextTick(() =>{
124
- zoomElement(document.getElementById('drawer_content_pre'))
125
- })
126
- }
127
- }
128
- },
129
- computed:{
130
- previewUrl() {
131
- console.debug('VUE_APP_ENV',process.env.VUE_APP_ENV)
132
- let url = process.env.VUE_APP_ENV === 'production' ? 'https://kkfileview.askbot.cn/onlinePreview?url=' : 'https://test.open.askbot.cn/kkfileview/onlinePreview?url='
133
- // if(this.url != '') {
134
- // if(/[\u4E00-\u9FA5]+/g.test(this.url)) {
135
- // url += btoa(encodeURIComponent(this.url))
136
- // } else {
137
- // url += btoa(this.url)
138
- // }
139
- // }
140
- url = url + this.url
141
- // if(this.officePreviewType !== '') {
142
- // url += '&officePreviewType=pdf'
143
- // }
144
- return url
145
- },
146
- // fileType() {
147
- // const fileType = this.url.substring(this.url.lastIndexOf('.'));
148
- // if (fileType === '.mp4' || fileType === '.MP4' || fileType === '.MOV' || fileType === '.mov') {
149
- // return 'VIDEO'
150
- // } else {
151
- // return 'OTHER'
152
- // }
153
-
154
- // }
155
- },
156
- methods :{
157
- close() {
158
- setTimeout(() =>{
159
- this.previewShowPopup = false;
160
- this.fileType = ''
161
- }, 300)
162
- this.drawer = false;
163
- },
164
- loadIframe() {
165
-
166
- if(this.fileType == 'VIDEO' || this.fileType == 'WECHAT' || (this.tagIds && this.tagIds.length != 0)) {
167
- this.loading = false
168
- } else {
169
- let time = setInterval(() =>{
170
- let iframe = document.getElementsByClassName('preview_iframe')[0]
171
- if(iframe) {
172
- this.loading = false
173
- clearInterval(time)
174
- }
175
- }, 500)
176
- }
177
- },
178
- getBolb() {
179
- this.$http.post('/knowledge-api/knowledge/htmlTextDeal?onlyText=false',{
180
- fileInOssPath: this.url,
181
- templateId: ''
182
- }).then(res =>{
183
- if (res.data.code == 0) {
184
- this.fileText = res.data.data
185
- this.loading = false
186
- }
187
- })
188
- },
189
- }
190
- }
191
- </script>
192
-
193
- <style lang="less" scoped>
194
- .preview_iframe {
195
- width: 100%;
196
- height: calc(100% - 60px);
197
- box-sizing: border-box;
198
- }
199
- .preview_iframe_html{
200
- width: 100%;
201
- height: 100%;
202
- overflow-y: scroll;
203
- text-align: left;
204
- box-sizing: border-box;
205
- padding: 16px;
206
- /deep/.lake-content{
207
- margin-left: 10px;
208
- }
209
- /deep/a:link {
210
- color: #0000ee!important;
211
- }
212
- /deep/a:visited {
213
- color: #0000ee!important;
214
- }
215
- /deep/a:hover {
216
- color: #0000ee!important;
217
- }
218
- /deep/a:active {
219
- color: #0000ee!important;
220
- }
221
- /deep/li:not(.rich-text-li), ol:not(.list-paddingleft-2), ul:not(.list-paddingleft-2){
222
- list-style-type: auto!important;
223
- }
224
- /deep/img{
225
- width: 100%;
226
- }
227
- /deep/.ne-table{
228
- width: 100% !important;
229
- }
230
- }
231
- .footer {
232
- width: calc(100% - 40px);
233
- height: 50px;
234
- display: flex;
235
- align-items: center;
236
- justify-content: space-between;
237
- cursor: pointer;
238
- padding: 0 20px;
239
- border-bottom: 1px solid #cccccc;
240
- }
241
- .loading_img {
242
- display: flex;
243
- align-items: center;
244
- justify-content: center;
245
- width: 100%;
246
- height: 100%;
247
- position: absolute;
248
- top: 0;
249
- left: 0;
250
- background: #FFF;
251
- img {
252
- width: 50px;
253
- height: 50px;
254
- }
255
- }
256
-
257
- .drawer-footer{
258
- width:100%;
259
- height: 50px;
260
- display: flex;
261
- align-items: center;
262
- justify-content: space-between;
263
- cursor: pointer;
264
- padding: 0 20px;
265
- border-bottom: 1px solid #cccccc;
266
- }
267
- @media screen and (max-width: 767px) {
268
- /* 这里是针对移动设备的css样式设置 */
269
- /deep/.el-drawer__body{
270
- height: 100%;
271
- }
272
- #drawer_content_pre {
273
- overflow: auto;
274
- height: 100%;
275
- background: #FFF;
276
- }
277
- }
278
- @media screen and (min-width: 768px) {
279
- /* 这里是针对移动设备的css样式设置 */
280
- /deep/.el-drawer__body{
281
- height: 100%;
282
- }
283
- #drawer_content_pre {
284
- overflow: auto;
285
- height: calc(100% - 50px);
286
- background: #FFF;
287
- }
288
- }
289
-
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
+ :direction="previewShowPopup ? 'btt' : 'rtl'"
43
+ :size="previewShowPopup ? '90%' : '65%'"
44
+ custom-class="pdf-preview-drawer"
45
+ v-if="drawer"
46
+ >
47
+ <!-- v-else-if="drawer" -->
48
+ <div class="drawer-footer">
49
+ <span>查看详情</span>
50
+ <section @click="close">
51
+ <i class="iconfont guoran-shanchu"></i>
52
+ </section>
53
+ </div>
54
+ <div id="drawer_content_pre">
55
+ <template v-if="tagIds && tagIds.length != 0 && drawer">
56
+ <pdfPosition :tagIds="tagIds" :isMessageRecord="isMessageRecord"></pdfPosition>
57
+ </template>
58
+ <template v-else>
59
+ <div v-if="fileType == 'VIDEO'" style="width: 100%;">
60
+ <video :src="url" controls width="100%;" height="98%"></video>
61
+ </div>
62
+ <div v-else-if="fileType == 'HTML'" style="width: 100%;">
63
+ <div class="preview_iframe_html" style="text-algin:left" v-html="fileText"></div>
64
+ </div>
65
+ <template v-else-if="url.includes('https://www') || url.includes('http://www')">
66
+ <iframe class="preview_iframe"
67
+ :src="url"
68
+ width="100%"
69
+ height="100%"
70
+ scrolling="100%"
71
+ frameborder="no"
72
+ border="0"></iframe>
73
+ </template>
74
+ <template v-else>
75
+ <iframe class="preview_iframe" :src="previewUrl" style="border:none;"></iframe>
76
+ </template>
77
+ </template>
78
+ </div>
79
+ <div class="loading_img" v-show="loading">
80
+ <img src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif" alt="">
81
+ </div>
82
+ </el-drawer>
83
+ </template>
84
+
85
+ <script>
86
+ import pdfPosition from './pdfPosition.vue'
87
+ import { zoomElement } from '../assets/js/hammer'
88
+ export default {
89
+ data () {
90
+ return {
91
+ previewShowPopup: false,
92
+ fileText:'',
93
+ fileType:"",
94
+ isPc:true,
95
+ drawer:false,
96
+ tagIds: [],
97
+ // '6454aa1a70573a6ead6f0f7d', '6454aa1a70573a6ead6f0f81',
98
+ loading:true,
99
+ }
100
+ },
101
+ mounted() {
102
+ },
103
+ props:{
104
+ url:{
105
+ type: String,
106
+ required: true,
107
+ },
108
+ officePreviewType:{
109
+ type: String,
110
+ default: ''
111
+ },
112
+ isMessageRecord:{
113
+ type: Boolean,
114
+ default:false,
115
+ }
116
+ },
117
+ components:{
118
+ pdfPosition
119
+ },
120
+ watch:{
121
+ drawer(value) {
122
+ if(value) {
123
+ this.$nextTick(() =>{
124
+ zoomElement(document.getElementById('drawer_content_pre'))
125
+ })
126
+ }
127
+ }
128
+ },
129
+ computed:{
130
+ previewUrl() {
131
+ console.debug('VUE_APP_ENV',process.env.VUE_APP_ENV)
132
+ let url = process.env.VUE_APP_ENV === 'production' ? 'https://kkfileview.askbot.cn/onlinePreview?url=' : 'https://test.open.askbot.cn/kkfileview/onlinePreview?url='
133
+ // if(this.url != '') {
134
+ // if(/[\u4E00-\u9FA5]+/g.test(this.url)) {
135
+ // url += btoa(encodeURIComponent(this.url))
136
+ // } else {
137
+ // url += btoa(this.url)
138
+ // }
139
+ // }
140
+ url = url + this.url
141
+ // if(this.officePreviewType !== '') {
142
+ // url += '&officePreviewType=pdf'
143
+ // }
144
+ return url
145
+ },
146
+ // fileType() {
147
+ // const fileType = this.url.substring(this.url.lastIndexOf('.'));
148
+ // if (fileType === '.mp4' || fileType === '.MP4' || fileType === '.MOV' || fileType === '.mov') {
149
+ // return 'VIDEO'
150
+ // } else {
151
+ // return 'OTHER'
152
+ // }
153
+
154
+ // }
155
+ },
156
+ methods :{
157
+ close() {
158
+ setTimeout(() =>{
159
+ this.previewShowPopup = false;
160
+ this.fileType = ''
161
+ }, 300)
162
+ this.drawer = false;
163
+ },
164
+ loadIframe() {
165
+
166
+ if(this.fileType == 'VIDEO' || this.fileType == 'WECHAT' || (this.tagIds && this.tagIds.length != 0)) {
167
+ this.loading = false
168
+ } else {
169
+ let time = setInterval(() =>{
170
+ let iframe = document.getElementsByClassName('preview_iframe')[0]
171
+ if(iframe) {
172
+ this.loading = false
173
+ clearInterval(time)
174
+ }
175
+ }, 500)
176
+ }
177
+ },
178
+ getBolb() {
179
+ this.$http.post('/knowledge-api/knowledge/htmlTextDeal?onlyText=false',{
180
+ fileInOssPath: this.url,
181
+ templateId: ''
182
+ }).then(res =>{
183
+ if (res.data.code == 0) {
184
+ this.fileText = res.data.data
185
+ this.loading = false
186
+ }
187
+ })
188
+ },
189
+ }
190
+ }
191
+ </script>
192
+
193
+ <style lang="less" scoped>
194
+ .preview_iframe {
195
+ width: 100%;
196
+ height: calc(100% - 60px);
197
+ box-sizing: border-box;
198
+ }
199
+ .preview_iframe_html{
200
+ width: 100%;
201
+ height: 100%;
202
+ overflow-y: scroll;
203
+ text-align: left;
204
+ box-sizing: border-box;
205
+ padding: 16px;
206
+ /deep/.lake-content{
207
+ margin-left: 10px;
208
+ }
209
+ /deep/a:link {
210
+ color: #0000ee!important;
211
+ }
212
+ /deep/a:visited {
213
+ color: #0000ee!important;
214
+ }
215
+ /deep/a:hover {
216
+ color: #0000ee!important;
217
+ }
218
+ /deep/a:active {
219
+ color: #0000ee!important;
220
+ }
221
+ /deep/li:not(.rich-text-li), ol:not(.list-paddingleft-2), ul:not(.list-paddingleft-2){
222
+ list-style-type: auto!important;
223
+ }
224
+ /deep/img{
225
+ width: 100%;
226
+ }
227
+ /deep/.ne-table{
228
+ width: 100% !important;
229
+ }
230
+ }
231
+ .footer {
232
+ width: calc(100% - 40px);
233
+ height: 50px;
234
+ display: flex;
235
+ align-items: center;
236
+ justify-content: space-between;
237
+ cursor: pointer;
238
+ padding: 0 20px;
239
+ border-bottom: 1px solid #cccccc;
240
+ }
241
+ .loading_img {
242
+ display: flex;
243
+ align-items: center;
244
+ justify-content: center;
245
+ width: 100%;
246
+ height: 100%;
247
+ position: absolute;
248
+ top: 0;
249
+ left: 0;
250
+ background: #FFF;
251
+ img {
252
+ width: 50px;
253
+ height: 50px;
254
+ }
255
+ }
256
+
257
+ .drawer-footer{
258
+ width:100%;
259
+ height: 50px;
260
+ display: flex;
261
+ align-items: center;
262
+ justify-content: space-between;
263
+ cursor: pointer;
264
+ padding: 0 20px;
265
+ border-bottom: 1px solid #cccccc;
266
+ }
267
+ @media screen and (max-width: 767px) {
268
+ /* 这里是针对移动设备的css样式设置 */
269
+ /deep/.el-drawer__body{
270
+ height: 100%;
271
+ }
272
+ #drawer_content_pre {
273
+ overflow: auto;
274
+ height: 100%;
275
+ background: #FFF;
276
+ }
277
+ }
278
+ @media screen and (min-width: 768px) {
279
+ /* 这里是针对移动设备的css样式设置 */
280
+ /deep/.el-drawer__body{
281
+ height: 100%;
282
+ }
283
+ #drawer_content_pre {
284
+ overflow: auto;
285
+ height: calc(100% - 50px);
286
+ background: #FFF;
287
+ }
288
+ }
289
+
290
290
  </style>