askbot-dragon 1.2.9 → 1.3.11

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 (83) 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 -56
  5. package/public/index.html +43 -43
  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/script.js +36 -36
  14. package/src/assets/less/common.css +6773 -6773
  15. package/src/assets/less/converSationContainer/common.less +191 -191
  16. package/src/assets/less/converSationContainer/converSatonContainer.less +493 -493
  17. package/src/assets/less/iconfont.css +37 -37
  18. package/src/assets/less/ticketMessage.less +211 -211
  19. package/src/components/ActionAlertIframe.vue +112 -112
  20. package/src/components/AiGuide.vue +467 -467
  21. package/src/components/AnswerDocknowledge.vue +362 -362
  22. package/src/components/AnswerVoice.vue +256 -0
  23. package/src/components/AskIFrame.vue +15 -15
  24. package/src/components/ConversationContainer.vue +4024 -4011
  25. package/src/components/FileType.vue +86 -86
  26. package/src/components/Message.vue +27 -27
  27. package/src/components/actionSatisfaction.vue +107 -107
  28. package/src/components/actionSendToBot.vue +62 -62
  29. package/src/components/answerDissatisfaction.vue +62 -62
  30. package/src/components/answerRadio.vue +76 -76
  31. package/src/components/ask-components/DissatisfactionOptions.vue +57 -57
  32. package/src/components/ask-components/Msgloading.vue +37 -37
  33. package/src/components/ask-components/SatisfactionV2.vue +15 -15
  34. package/src/components/askVideo.vue +138 -138
  35. package/src/components/assetDetails.vue +370 -370
  36. package/src/components/assetMessage.vue +228 -228
  37. package/src/components/associationIntention.vue +323 -323
  38. package/src/components/attachmentPreview.vue +90 -90
  39. package/src/components/botActionSatisfactor.vue +68 -68
  40. package/src/components/chatContent.vue +513 -513
  41. package/src/components/feedBack.vue +136 -136
  42. package/src/components/fielListView.vue +344 -344
  43. package/src/components/file/AliyunOssComponents.vue +108 -108
  44. package/src/components/formTemplate.vue +3363 -3363
  45. package/src/components/loadingProcess.vue +164 -164
  46. package/src/components/message/ActionAlertIframe.vue +112 -112
  47. package/src/components/message/ShopMessage.vue +164 -164
  48. package/src/components/message/TextMessage.vue +924 -924
  49. package/src/components/message/TicketMessage.vue +177 -177
  50. package/src/components/message/swiper/index.js +4 -4
  51. package/src/components/message/swiper/ticketSwiper.vue +503 -503
  52. package/src/components/message/swiper/ticketSwiperItem.vue +61 -61
  53. package/src/components/msgLoading.vue +231 -231
  54. package/src/components/myPopup.vue +70 -70
  55. package/src/components/popup.vue +227 -227
  56. package/src/components/previewDoc.vue +108 -112
  57. package/src/components/previewPdf.vue +205 -205
  58. package/src/components/receiverMessagePlatform.vue +65 -65
  59. package/src/components/recommend.vue +89 -89
  60. package/src/components/selector/hOption.vue +20 -20
  61. package/src/components/selector/hSelector.vue +199 -199
  62. package/src/components/selector/hWrapper.vue +216 -216
  63. package/src/components/senderMessagePlatform.vue +50 -50
  64. package/src/components/source/BotMessage.vue +24 -24
  65. package/src/components/source/CustomMessage.vue +24 -24
  66. package/src/components/test.vue +260 -260
  67. package/src/components/tree.vue +294 -294
  68. package/src/components/utils/AliyunIssUtil.js +72 -72
  69. package/src/components/utils/ckeditor.js +155 -155
  70. package/src/components/utils/ckeditorImageUpload/command.js +109 -109
  71. package/src/components/utils/ckeditorImageUpload/editing.js +11 -11
  72. package/src/components/utils/ckeditorImageUpload/plugin-image.js +11 -11
  73. package/src/components/utils/ckeditorImageUpload/toolbar-ui.js +40 -40
  74. package/src/components/utils/ckeditorfileUpload/common.js +111 -111
  75. package/src/components/utils/ckeditorfileUpload/editing.js +11 -11
  76. package/src/components/utils/ckeditorfileUpload/plugin_file.js +11 -11
  77. package/src/components/utils/ckeditorfileUpload/toolbar_ui.js +34 -34
  78. package/src/components/utils/format_date.js +25 -25
  79. package/src/components/utils/index.js +6 -6
  80. package/src/components/utils/math_utils.js +29 -29
  81. package/src/components/voiceComponent.vue +119 -119
  82. package/src/main.js +60 -60
  83. package/vue.config.js +55 -55
@@ -1,345 +1,345 @@
1
- <template>
2
- <div id="attachment-upload">
3
- <div v-if="attachmentList.length != 0" class="image-list">
4
- <template>
5
- <div v-for="(item, index) in attachmentList" class="attch-item" :key="index"
6
- >
7
- <span @click.stop="deleteAttch(index)"><i class="iconfont guoran-a-16-09"></i></span>
8
- <div class="attch-item-left" @click="lookAttach(item.url)">
9
- <i v-if="item.url == ''" class="el-icon-loading" style="color:#366AFF;margin: 5px;"></i>
10
- <img src="../assets/image/video.png"
11
- v-else-if="setSrc(item) == 'video'"/>
12
- <img src="../assets/image/img.png"
13
- v-else-if="setSrc(item) == 'image'" />
14
- <img src="../assets/image/txt.png"
15
- v-else-if="setSrc(item) == 'txt'" />
16
- <img src="../assets/image/doc.png"
17
- v-else-if="setSrc(item) == 'word'" />
18
- <img src="../assets/image/pdf.png"
19
- v-else-if="setSrc(item) == 'pdf'" />
20
- <img src="../assets/image/ppt.png"
21
- v-else-if="setSrc(item) == 'ppt'" />
22
- <img src="../assets/image/xls.png"
23
- v-else-if="setSrc(item) == 'excel'" />
24
- <img src="../assets/image/weizhi.png"
25
- v-else />
26
- <div class="fileName" v-if="item">
27
- <template v-if="typeof item === 'string'">
28
- <template v-if="item.indexOf('[') !== -1">
29
- {{ JSON.parse(item)[index] }}
30
- </template>
31
- </template>
32
- <template v-else>
33
- {{ item.name ? item.name : (item.url ? item.url : '') }}
34
- </template>
35
- </div>
36
- </div>
37
- </div>
38
- </template>
39
- </div>
40
- <!-- <el-dialog :visible.sync="dialogVisible" width="800px" :close-on-click-modal="false"
41
- custom-class="look-dialog">
42
- <template v-if="fieldType === 'VIDEO'">
43
- <video :src="dialogUrl" controls></video>
44
- </template>
45
- <template v-else-if="fieldType === 'IMAGE'">
46
- <img :src="dialogUrl" />
47
- </template>
48
- <div v-else-if="fieldType === 'txt' || fieldType === 'doc'" style="height: 60vh">
49
- <embed :src="dialogUrl" width="100%" height="100%" />
50
- </div>
51
- </el-dialog> -->
52
- <van-popup v-model="previewShowPopup" position="bottom" :style="{ height: '90%', background:'#FFFFFF'}">
53
- <previewDoc ref="previewDoc" :url="previewHref" @close="close" v-if="previewShowPopup"></previewDoc>
54
- </van-popup>
55
- <el-drawer
56
- title="我是标题"
57
- :visible.sync="drawer"
58
- :with-header="false"
59
- size="65%"
60
- >
61
- <previewDoc ref="previewDoc" :url="previewHref" @close="close" v-if="drawer"></previewDoc>
62
- </el-drawer>
63
- </div>
64
- </template>
65
-
66
- <script>
67
- import previewDoc from './previewDoc.vue';
68
- import { isMobile } from "../assets/js/common";
69
- export default {
70
- name: "customUpload",
71
- components: {previewDoc},
72
- data () {
73
- return {
74
- dialogVisible: false,
75
- previewHref:"",
76
- previewShowPopup:false,
77
- drawer:false
78
- }
79
- },
80
- props: ["attachmentList"],
81
- methods: {
82
- //查看视频
83
- openDialog (item) {
84
- let url = typeof item == 'object' ? item.url : item
85
- this.previewHref = url
86
- this.$refs.previewDoc.previewShowPopup = true
87
- },
88
- deleteAttch (index) {
89
- this.$emit('attachDeleteAttch', index)
90
- },
91
- //根据上传类型设置图标
92
- setSrc (item) {
93
- let file = "";
94
- let fileName = ''
95
- if (typeof item === 'object'){
96
- fileName = item.name ? item.name : (item.url ? item.url : '')
97
- } else {
98
- fileName = item
99
- }
100
- if (!fileName){
101
- return file
102
- }
103
- const fileType = fileName.substring(fileName.lastIndexOf('.'));
104
- if (fileType === '.mp4' || fileType === '.MP4' || fileType === '.mov' || fileType === '.MOV' || fileType === 'avi' || fileType === 'flv') {
105
- file = 'video'
106
- }
107
- else if (fileType === '.jpg' || fileType === '.png' || fileType === '.JPG' || fileType === '.PNG' || fileType === '.jpeg' || fileType === '.JPEG' || fileType === 'gif') {
108
- file = 'image'
109
- }
110
- else if (fileType == '.txt') {
111
- file = 'txt'
112
- }
113
- else if (fileType == '.ppt' || fileType == '.pptx') {
114
- file = 'ppt'
115
- }
116
- else if (fileType == '.doc' || fileType == '.docx') {
117
- file = 'word'
118
- }
119
- else if (fileType == '.xls' || fileType == '.xlsx') {
120
- file = 'excel'
121
- }
122
- else if (fileType == '.pdf') {
123
- file = 'pdf'
124
- }
125
- return file
126
- },
127
- lookAttach(url){
128
- if(url !== '') {
129
- this.previewHref = url;
130
- if (isMobile()){
131
- this.previewShowPopup = true
132
- } else {
133
- this.drawer = true;
134
- }
135
- // const fileType = url.substring(url.lastIndexOf('.'));
136
- // if (fileType === '.jpg' || fileType === '.png' || fileType === '.JPG' || fileType === '.PNG'){
137
- // this.previewHref = url
138
- // this.$refs.previewDoc.previewShowPopup = true
139
- // }
140
- }
141
- },
142
- close(){
143
- this.previewShowPopup = false;
144
- this.drawer = false
145
- }
146
- }
147
- };
148
- </script>
149
-
150
- <style scoped lang="less">
151
- .custom-upload-o {
152
- display: flex;
153
- align-items: center;
154
- }
155
-
156
- #attachment-upload {
157
- .image-list {
158
- display: flex;
159
- flex-wrap: wrap;
160
- padding: 0 8px;
161
- }
162
-
163
- .image-item {
164
- margin: 0 6px;
165
- position: relative;
166
-
167
- .delete {
168
- // width: 20px;
169
- // height: 22px;
170
- position: absolute;
171
- top: 0px;
172
- right: 0px;
173
- // border-radius: 30px;
174
- background: #ffffff;
175
- display: flex;
176
- align-items: center;
177
- justify-content: flex-end;
178
- }
179
-
180
- .guoran-tongyichicun-16-09-shanchu2 {
181
- color: #366aff;
182
- // position: absolute;
183
- // top: 0px;
184
- // right: 0px;
185
- // cursor: pointer;
186
- }
187
- }
188
-
189
- .guoran-tongyichicun-16-09-shanchu2 {
190
- display: none;
191
- }
192
-
193
- .image-item:hover {
194
- .delete {
195
- width: 18px;
196
- height: 20px;
197
- }
198
-
199
- .guoran-tongyichicun-16-09-shanchu2 {
200
- display: block;
201
- }
202
- }
203
-
204
- .attch-item {
205
- margin: 10px 0 0 0;
206
- color: #606266;
207
- font-size: 13px;
208
- cursor: pointer;
209
- display: flex;
210
- align-items: center;
211
- justify-content: space-between;
212
- width: 100%;
213
-
214
- .guoran-a-16-09 {
215
- color: #366aff;
216
- }
217
-
218
- .attch-item-left {
219
- display: flex;
220
- align-items: center;
221
- flex: none;
222
- width: 97%;
223
- overflow: hidden;
224
- text-overflow: ellipsis;
225
- margin-left: 6px;
226
- img {
227
- margin-right: 4px;
228
- }
229
- }
230
- }
231
-
232
- .video-item {
233
- display: flex;
234
- align-items: center;
235
- justify-content: center;
236
- background-color: #f0f4fc;
237
- width: 60px;
238
- height: 60px;
239
- border-radius: 5px;
240
- margin: 0 6px;
241
- position: relative;
242
- overflow: hidden;
243
-
244
- img {
245
- cursor: pointer;
246
- }
247
-
248
- .delete {
249
- // width: 20px;
250
- // height: 22px;
251
- position: absolute;
252
- top: 0px;
253
- right: 0px;
254
- // border-radius: 30px;
255
- background: #ffffff;
256
- display: flex;
257
- align-items: center;
258
- justify-content: flex-end;
259
-
260
- }
261
-
262
- .guoran-tongyichicun-16-09-shanchu2 {
263
- color: #366aff;
264
- cursor: pointer;
265
- }
266
- }
267
-
268
- .video-item:hover {
269
- .delete {
270
- width: 20px;
271
- height: 22px;
272
- }
273
-
274
- .guoran-tongyichicun-16-09-shanchu2 {
275
- display: block;
276
- }
277
- }
278
-
279
- /deep/.attachment-upload {
280
- .el-upload {
281
- width: 100%;
282
- }
283
-
284
- .el-upload-dragger {
285
- width: 100%;
286
- }
287
- }
288
-
289
- .fileName {
290
- max-width: 80%;
291
- flex: none;
292
- overflow: hidden;
293
- text-overflow: ellipsis;
294
- white-space: nowrap;
295
- }
296
-
297
- /deep/ .el-upload--picture-card {
298
- width: 60px;
299
- height: 60px;
300
- display: flex;
301
- align-items: center;
302
- justify-content: center;
303
- flex: none;
304
- }
305
-
306
- /deep/.el-upload-dragger {
307
- height: 60px;
308
- display: flex;
309
- align-items: center;
310
- justify-content: space-around;
311
-
312
- .el-icon-upload {
313
- margin: 5px 10px 8px;
314
- line-height: 30px;
315
- font-size: 25px;
316
- }
317
-
318
- .el-upload__text {
319
- display: flex;
320
- // flex-direction: column;
321
- flex-wrap: wrap;
322
- flex: 1;
323
- }
324
- }
325
-
326
- .el-upload-dragger>div {
327
- display: flex;
328
- align-items: center;
329
- }
330
- }
331
-
332
- .look-dialog {
333
- video {
334
- height: 500px;
335
- object-fit: contain;
336
- width: 100%;
337
- }
338
-
339
- img {
340
- height: 500px;
341
- width: 100%;
342
- object-fit: contain;
343
- }
344
- }
1
+ <template>
2
+ <div id="attachment-upload">
3
+ <div v-if="attachmentList.length != 0" class="image-list">
4
+ <template>
5
+ <div v-for="(item, index) in attachmentList" class="attch-item" :key="index"
6
+ >
7
+ <span @click.stop="deleteAttch(index)"><i class="iconfont guoran-a-16-09"></i></span>
8
+ <div class="attch-item-left" @click="lookAttach(item.url)">
9
+ <i v-if="item.url == ''" class="el-icon-loading" style="color:#366AFF;margin: 5px;"></i>
10
+ <img src="../assets/image/video.png"
11
+ v-else-if="setSrc(item) == 'video'"/>
12
+ <img src="../assets/image/img.png"
13
+ v-else-if="setSrc(item) == 'image'" />
14
+ <img src="../assets/image/txt.png"
15
+ v-else-if="setSrc(item) == 'txt'" />
16
+ <img src="../assets/image/doc.png"
17
+ v-else-if="setSrc(item) == 'word'" />
18
+ <img src="../assets/image/pdf.png"
19
+ v-else-if="setSrc(item) == 'pdf'" />
20
+ <img src="../assets/image/ppt.png"
21
+ v-else-if="setSrc(item) == 'ppt'" />
22
+ <img src="../assets/image/xls.png"
23
+ v-else-if="setSrc(item) == 'excel'" />
24
+ <img src="../assets/image/weizhi.png"
25
+ v-else />
26
+ <div class="fileName" v-if="item">
27
+ <template v-if="typeof item === 'string'">
28
+ <template v-if="item.indexOf('[') !== -1">
29
+ {{ JSON.parse(item)[index] }}
30
+ </template>
31
+ </template>
32
+ <template v-else>
33
+ {{ item.name ? item.name : (item.url ? item.url : '') }}
34
+ </template>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </template>
39
+ </div>
40
+ <!-- <el-dialog :visible.sync="dialogVisible" width="800px" :close-on-click-modal="false"
41
+ custom-class="look-dialog">
42
+ <template v-if="fieldType === 'VIDEO'">
43
+ <video :src="dialogUrl" controls></video>
44
+ </template>
45
+ <template v-else-if="fieldType === 'IMAGE'">
46
+ <img :src="dialogUrl" />
47
+ </template>
48
+ <div v-else-if="fieldType === 'txt' || fieldType === 'doc'" style="height: 60vh">
49
+ <embed :src="dialogUrl" width="100%" height="100%" />
50
+ </div>
51
+ </el-dialog> -->
52
+ <van-popup v-model="previewShowPopup" position="bottom" :style="{ height: '90%', background:'#FFFFFF'}">
53
+ <previewDoc ref="previewDoc" :url="previewHref" @close="close"></previewDoc>
54
+ </van-popup>
55
+ <el-drawer
56
+ title="我是标题"
57
+ :visible.sync="drawer"
58
+ :with-header="false"
59
+ size="65%"
60
+ >
61
+ <previewDoc ref="previewDoc" :url="previewHref" @close="close"></previewDoc>
62
+ </el-drawer>
63
+ </div>
64
+ </template>
65
+
66
+ <script>
67
+ import previewDoc from './previewDoc.vue';
68
+ import { isMobile } from "../assets/js/common";
69
+ export default {
70
+ name: "customUpload",
71
+ components: {previewDoc},
72
+ data () {
73
+ return {
74
+ dialogVisible: false,
75
+ previewHref:"",
76
+ previewShowPopup:false,
77
+ drawer:false
78
+ }
79
+ },
80
+ props: ["attachmentList"],
81
+ methods: {
82
+ //查看视频
83
+ openDialog (item) {
84
+ let url = typeof item == 'object' ? item.url : item
85
+ this.previewHref = url
86
+ this.$refs.previewDoc.previewShowPopup = true
87
+ },
88
+ deleteAttch (index) {
89
+ this.$emit('attachDeleteAttch', index)
90
+ },
91
+ //根据上传类型设置图标
92
+ setSrc (item) {
93
+ let file = "";
94
+ let fileName = ''
95
+ if (typeof item === 'object'){
96
+ fileName = item.name ? item.name : (item.url ? item.url : '')
97
+ } else {
98
+ fileName = item
99
+ }
100
+ if (!fileName){
101
+ return file
102
+ }
103
+ const fileType = fileName.substring(fileName.lastIndexOf('.'));
104
+ if (fileType === '.mp4' || fileType === '.MP4' || fileType === '.mov' || fileType === '.MOV' || fileType === 'avi' || fileType === 'flv') {
105
+ file = 'video'
106
+ }
107
+ else if (fileType === '.jpg' || fileType === '.png' || fileType === '.JPG' || fileType === '.PNG' || fileType === '.jpeg' || fileType === '.JPEG' || fileType === 'gif') {
108
+ file = 'image'
109
+ }
110
+ else if (fileType == '.txt') {
111
+ file = 'txt'
112
+ }
113
+ else if (fileType == '.ppt' || fileType == '.pptx') {
114
+ file = 'ppt'
115
+ }
116
+ else if (fileType == '.doc' || fileType == '.docx') {
117
+ file = 'word'
118
+ }
119
+ else if (fileType == '.xls' || fileType == '.xlsx') {
120
+ file = 'excel'
121
+ }
122
+ else if (fileType == '.pdf') {
123
+ file = 'pdf'
124
+ }
125
+ return file
126
+ },
127
+ lookAttach(url){
128
+ if(url !== '') {
129
+ this.previewHref = url;
130
+ if (isMobile()){
131
+ this.previewShowPopup = true
132
+ } else {
133
+ this.drawer = true;
134
+ }
135
+ // const fileType = url.substring(url.lastIndexOf('.'));
136
+ // if (fileType === '.jpg' || fileType === '.png' || fileType === '.JPG' || fileType === '.PNG'){
137
+ // this.previewHref = url
138
+ // this.$refs.previewDoc.previewShowPopup = true
139
+ // }
140
+ }
141
+ },
142
+ close(){
143
+ this.previewShowPopup = false;
144
+ this.drawer = false
145
+ }
146
+ }
147
+ };
148
+ </script>
149
+
150
+ <style scoped lang="less">
151
+ .custom-upload-o {
152
+ display: flex;
153
+ align-items: center;
154
+ }
155
+
156
+ #attachment-upload {
157
+ .image-list {
158
+ display: flex;
159
+ flex-wrap: wrap;
160
+ padding: 0 8px;
161
+ }
162
+
163
+ .image-item {
164
+ margin: 0 6px;
165
+ position: relative;
166
+
167
+ .delete {
168
+ // width: 20px;
169
+ // height: 22px;
170
+ position: absolute;
171
+ top: 0px;
172
+ right: 0px;
173
+ // border-radius: 30px;
174
+ background: #ffffff;
175
+ display: flex;
176
+ align-items: center;
177
+ justify-content: flex-end;
178
+ }
179
+
180
+ .guoran-tongyichicun-16-09-shanchu2 {
181
+ color: #366aff;
182
+ // position: absolute;
183
+ // top: 0px;
184
+ // right: 0px;
185
+ // cursor: pointer;
186
+ }
187
+ }
188
+
189
+ .guoran-tongyichicun-16-09-shanchu2 {
190
+ display: none;
191
+ }
192
+
193
+ .image-item:hover {
194
+ .delete {
195
+ width: 18px;
196
+ height: 20px;
197
+ }
198
+
199
+ .guoran-tongyichicun-16-09-shanchu2 {
200
+ display: block;
201
+ }
202
+ }
203
+
204
+ .attch-item {
205
+ margin: 10px 0 0 0;
206
+ color: #606266;
207
+ font-size: 13px;
208
+ cursor: pointer;
209
+ display: flex;
210
+ align-items: center;
211
+ justify-content: space-between;
212
+ width: 100%;
213
+
214
+ .guoran-a-16-09 {
215
+ color: #366aff;
216
+ }
217
+
218
+ .attch-item-left {
219
+ display: flex;
220
+ align-items: center;
221
+ flex: none;
222
+ width: 97%;
223
+ overflow: hidden;
224
+ text-overflow: ellipsis;
225
+ margin-left: 6px;
226
+ img {
227
+ margin-right: 4px;
228
+ }
229
+ }
230
+ }
231
+
232
+ .video-item {
233
+ display: flex;
234
+ align-items: center;
235
+ justify-content: center;
236
+ background-color: #f0f4fc;
237
+ width: 60px;
238
+ height: 60px;
239
+ border-radius: 5px;
240
+ margin: 0 6px;
241
+ position: relative;
242
+ overflow: hidden;
243
+
244
+ img {
245
+ cursor: pointer;
246
+ }
247
+
248
+ .delete {
249
+ // width: 20px;
250
+ // height: 22px;
251
+ position: absolute;
252
+ top: 0px;
253
+ right: 0px;
254
+ // border-radius: 30px;
255
+ background: #ffffff;
256
+ display: flex;
257
+ align-items: center;
258
+ justify-content: flex-end;
259
+
260
+ }
261
+
262
+ .guoran-tongyichicun-16-09-shanchu2 {
263
+ color: #366aff;
264
+ cursor: pointer;
265
+ }
266
+ }
267
+
268
+ .video-item:hover {
269
+ .delete {
270
+ width: 20px;
271
+ height: 22px;
272
+ }
273
+
274
+ .guoran-tongyichicun-16-09-shanchu2 {
275
+ display: block;
276
+ }
277
+ }
278
+
279
+ /deep/.attachment-upload {
280
+ .el-upload {
281
+ width: 100%;
282
+ }
283
+
284
+ .el-upload-dragger {
285
+ width: 100%;
286
+ }
287
+ }
288
+
289
+ .fileName {
290
+ max-width: 80%;
291
+ flex: none;
292
+ overflow: hidden;
293
+ text-overflow: ellipsis;
294
+ white-space: nowrap;
295
+ }
296
+
297
+ /deep/ .el-upload--picture-card {
298
+ width: 60px;
299
+ height: 60px;
300
+ display: flex;
301
+ align-items: center;
302
+ justify-content: center;
303
+ flex: none;
304
+ }
305
+
306
+ /deep/.el-upload-dragger {
307
+ height: 60px;
308
+ display: flex;
309
+ align-items: center;
310
+ justify-content: space-around;
311
+
312
+ .el-icon-upload {
313
+ margin: 5px 10px 8px;
314
+ line-height: 30px;
315
+ font-size: 25px;
316
+ }
317
+
318
+ .el-upload__text {
319
+ display: flex;
320
+ // flex-direction: column;
321
+ flex-wrap: wrap;
322
+ flex: 1;
323
+ }
324
+ }
325
+
326
+ .el-upload-dragger>div {
327
+ display: flex;
328
+ align-items: center;
329
+ }
330
+ }
331
+
332
+ .look-dialog {
333
+ video {
334
+ height: 500px;
335
+ object-fit: contain;
336
+ width: 100%;
337
+ }
338
+
339
+ img {
340
+ height: 500px;
341
+ width: 100%;
342
+ object-fit: contain;
343
+ }
344
+ }
345
345
  </style>