askbot-dragon 1.3.85 → 1.3.87

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 +71 -71
  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 +191 -191
  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 +428 -428
  23. package/src/components/AnswerVoice.vue +280 -280
  24. package/src/components/AskIFrame.vue +15 -15
  25. package/src/components/ConversationContainer.vue +4106 -4106
  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 +76 -76
  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 +331 -331
  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 +3362 -3363
  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 +783 -783
  57. package/src/components/popup.vue +227 -227
  58. package/src/components/previewDoc.vue +228 -228
  59. package/src/components/previewPdf.vue +260 -260
  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 +72 -72
  71. package/src/components/utils/ckeditor.js +155 -155
  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 +133 -111
  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,350 +1,350 @@
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" v-if="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
- v-if="drawer"
61
- >
62
- <previewDoc ref="previewDoc" :url="previewHref" @close="close" v-if="drawer"></previewDoc>
63
- </el-drawer>
64
- </div>
65
- </template>
66
-
67
- <script>
68
- import previewDoc from './previewDoc.vue';
69
- import { isMobile } from "../assets/js/common";
70
- export default {
71
- name: "customUpload",
72
- components: {previewDoc},
73
- data () {
74
- return {
75
- dialogVisible: false,
76
- previewHref:"",
77
- previewShowPopup:false,
78
- drawer:false
79
- }
80
- },
81
- props: ["attachmentList"],
82
- methods: {
83
- //查看视频
84
- openDialog (item) {
85
- let url = typeof item == 'object' ? item.url : item
86
- this.previewHref = url
87
- this.$refs.previewDoc.previewShowPopup = true
88
- this.$refs.previewDoc.title = typeof item == 'object' ? item.name : item
89
- },
90
- deleteAttch (index) {
91
- this.$emit('attachDeleteAttch', index)
92
- },
93
- //根据上传类型设置图标
94
- setSrc (item) {
95
- let file = "";
96
- let fileName = ''
97
- if (typeof item === 'object'){
98
- fileName = item.name ? item.name : (item.url ? item.url : '')
99
- } else {
100
- fileName = item
101
- }
102
- if (!fileName){
103
- return file
104
- }
105
- const fileType = fileName.substring(fileName.lastIndexOf('.'));
106
- if (fileType === '.mp4' || fileType === '.MP4' || fileType === '.mov' || fileType === '.MOV' || fileType === 'avi' || fileType === 'flv') {
107
- file = 'video'
108
- }
109
- else if (fileType === '.jpg' || fileType === '.png' || fileType === '.JPG' || fileType === '.PNG' || fileType === '.jpeg' || fileType === '.JPEG' || fileType === 'gif') {
110
- file = 'image'
111
- }
112
- else if (fileType == '.txt') {
113
- file = 'txt'
114
- }
115
- else if (fileType == '.ppt' || fileType == '.pptx') {
116
- file = 'ppt'
117
- }
118
- else if (fileType == '.doc' || fileType == '.docx') {
119
- file = 'word'
120
- }
121
- else if (fileType == '.xls' || fileType == '.xlsx') {
122
- file = 'excel'
123
- }
124
- else if (fileType == '.pdf') {
125
- file = 'pdf'
126
- }
127
- return file
128
- },
129
- lookAttach(url){
130
- if(url !== '') {
131
- this.previewHref = url;
132
- if (isMobile()){
133
- this.previewShowPopup = true
134
- } else {
135
- this.drawer = true;
136
- }
137
- // const fileType = url.substring(url.lastIndexOf('.'));
138
- // if (fileType === '.jpg' || fileType === '.png' || fileType === '.JPG' || fileType === '.PNG'){
139
- // this.previewHref = url
140
- // this.$refs.previewDoc.previewShowPopup = true
141
- // }
142
- }
143
- },
144
- close(){
145
- this.previewShowPopup = false;
146
- this.drawer = false
147
- }
148
- }
149
- };
150
- </script>
151
-
152
- <style scoped lang="less">
153
- .custom-upload-o {
154
- display: flex;
155
- align-items: center;
156
- }
157
-
158
- #attachment-upload {
159
- .image-list {
160
- display: flex;
161
- flex-wrap: wrap;
162
- padding: 0 8px;
163
- }
164
-
165
- .image-item {
166
- margin: 0 6px;
167
- position: relative;
168
-
169
- .delete {
170
- // width: 20px;
171
- // height: 22px;
172
- position: absolute;
173
- top: 0px;
174
- right: 0px;
175
- // border-radius: 30px;
176
- background: #ffffff;
177
- display: flex;
178
- align-items: center;
179
- justify-content: flex-end;
180
- }
181
-
182
- .guoran-tongyichicun-16-09-shanchu2 {
183
- color: #366aff;
184
- // position: absolute;
185
- // top: 0px;
186
- // right: 0px;
187
- // cursor: pointer;
188
- }
189
- }
190
-
191
- .guoran-tongyichicun-16-09-shanchu2 {
192
- display: none;
193
- }
194
-
195
- .image-item:hover {
196
- .delete {
197
- width: 18px;
198
- height: 20px;
199
- }
200
-
201
- .guoran-tongyichicun-16-09-shanchu2 {
202
- display: block;
203
- }
204
- }
205
-
206
- .attch-item {
207
- margin: 10px 0 0 0;
208
- color: #606266;
209
- font-size: 13px;
210
- cursor: pointer;
211
- display: flex;
212
- align-items: center;
213
- justify-content: space-between;
214
- width: 100%;
215
-
216
- .guoran-a-16-09 {
217
- color: #366aff;
218
- }
219
-
220
- .attch-item-left {
221
- display: flex;
222
- align-items: center;
223
- flex: none;
224
- width: 97%;
225
- overflow: hidden;
226
- text-overflow: ellipsis;
227
- margin-left: 6px;
228
- img {
229
- margin-right: 4px;
230
- }
231
- }
232
- }
233
-
234
- .video-item {
235
- display: flex;
236
- align-items: center;
237
- justify-content: center;
238
- background-color: #f0f4fc;
239
- width: 60px;
240
- height: 60px;
241
- border-radius: 5px;
242
- margin: 0 6px;
243
- position: relative;
244
- overflow: hidden;
245
-
246
- img {
247
- cursor: pointer;
248
- }
249
-
250
- .delete {
251
- // width: 20px;
252
- // height: 22px;
253
- position: absolute;
254
- top: 0px;
255
- right: 0px;
256
- // border-radius: 30px;
257
- background: #ffffff;
258
- display: flex;
259
- align-items: center;
260
- justify-content: flex-end;
261
-
262
- }
263
-
264
- .guoran-tongyichicun-16-09-shanchu2 {
265
- color: #366aff;
266
- cursor: pointer;
267
- }
268
- }
269
-
270
- .video-item:hover {
271
- .delete {
272
- width: 20px;
273
- height: 22px;
274
- }
275
-
276
- .guoran-tongyichicun-16-09-shanchu2 {
277
- display: block;
278
- }
279
- }
280
-
281
- /deep/.attachment-upload {
282
- .el-upload {
283
- width: 100%;
284
- }
285
-
286
- .el-upload-dragger {
287
- width: 100%;
288
- }
289
- }
290
-
291
- .fileName {
292
- max-width: 80%;
293
- flex: none;
294
- overflow: hidden;
295
- text-overflow: ellipsis;
296
- white-space: nowrap;
297
- }
298
-
299
- /deep/ .el-upload--picture-card {
300
- width: 60px;
301
- height: 60px;
302
- display: flex;
303
- align-items: center;
304
- justify-content: center;
305
- flex: none;
306
- }
307
-
308
- /deep/.el-upload-dragger {
309
- height: 60px;
310
- display: flex;
311
- align-items: center;
312
- justify-content: space-around;
313
-
314
- .el-icon-upload {
315
- margin: 5px 10px 8px;
316
- line-height: 30px;
317
- font-size: 25px;
318
- }
319
-
320
- .el-upload__text {
321
- display: flex;
322
- // flex-direction: column;
323
- flex-wrap: wrap;
324
- flex: 1;
325
- }
326
- }
327
-
328
- .el-upload-dragger>div {
329
- display: flex;
330
- align-items: center;
331
- }
332
- }
333
-
334
- .look-dialog {
335
- video {
336
- height: 500px;
337
- object-fit: contain;
338
- width: 100%;
339
- }
340
-
341
- img {
342
- height: 500px;
343
- width: 100%;
344
- object-fit: contain;
345
- }
346
- }
347
- /deep/.el-drawer__body{
348
- height: 100%;
349
- }
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" v-if="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
+ v-if="drawer"
61
+ >
62
+ <previewDoc ref="previewDoc" :url="previewHref" @close="close" v-if="drawer"></previewDoc>
63
+ </el-drawer>
64
+ </div>
65
+ </template>
66
+
67
+ <script>
68
+ import previewDoc from './previewDoc.vue';
69
+ import { isMobile } from "../assets/js/common";
70
+ export default {
71
+ name: "customUpload",
72
+ components: {previewDoc},
73
+ data () {
74
+ return {
75
+ dialogVisible: false,
76
+ previewHref:"",
77
+ previewShowPopup:false,
78
+ drawer:false
79
+ }
80
+ },
81
+ props: ["attachmentList"],
82
+ methods: {
83
+ //查看视频
84
+ openDialog (item) {
85
+ let url = typeof item == 'object' ? item.url : item
86
+ this.previewHref = url
87
+ this.$refs.previewDoc.previewShowPopup = true
88
+ this.$refs.previewDoc.title = typeof item == 'object' ? item.name : item
89
+ },
90
+ deleteAttch (index) {
91
+ this.$emit('attachDeleteAttch', index)
92
+ },
93
+ //根据上传类型设置图标
94
+ setSrc (item) {
95
+ let file = "";
96
+ let fileName = ''
97
+ if (typeof item === 'object'){
98
+ fileName = item.name ? item.name : (item.url ? item.url : '')
99
+ } else {
100
+ fileName = item
101
+ }
102
+ if (!fileName){
103
+ return file
104
+ }
105
+ const fileType = fileName.substring(fileName.lastIndexOf('.'));
106
+ if (fileType === '.mp4' || fileType === '.MP4' || fileType === '.mov' || fileType === '.MOV' || fileType === 'avi' || fileType === 'flv') {
107
+ file = 'video'
108
+ }
109
+ else if (fileType === '.jpg' || fileType === '.png' || fileType === '.JPG' || fileType === '.PNG' || fileType === '.jpeg' || fileType === '.JPEG' || fileType === 'gif') {
110
+ file = 'image'
111
+ }
112
+ else if (fileType == '.txt') {
113
+ file = 'txt'
114
+ }
115
+ else if (fileType == '.ppt' || fileType == '.pptx') {
116
+ file = 'ppt'
117
+ }
118
+ else if (fileType == '.doc' || fileType == '.docx') {
119
+ file = 'word'
120
+ }
121
+ else if (fileType == '.xls' || fileType == '.xlsx') {
122
+ file = 'excel'
123
+ }
124
+ else if (fileType == '.pdf') {
125
+ file = 'pdf'
126
+ }
127
+ return file
128
+ },
129
+ lookAttach(url){
130
+ if(url !== '') {
131
+ this.previewHref = url;
132
+ if (isMobile()){
133
+ this.previewShowPopup = true
134
+ } else {
135
+ this.drawer = true;
136
+ }
137
+ // const fileType = url.substring(url.lastIndexOf('.'));
138
+ // if (fileType === '.jpg' || fileType === '.png' || fileType === '.JPG' || fileType === '.PNG'){
139
+ // this.previewHref = url
140
+ // this.$refs.previewDoc.previewShowPopup = true
141
+ // }
142
+ }
143
+ },
144
+ close(){
145
+ this.previewShowPopup = false;
146
+ this.drawer = false
147
+ }
148
+ }
149
+ };
150
+ </script>
151
+
152
+ <style scoped lang="less">
153
+ .custom-upload-o {
154
+ display: flex;
155
+ align-items: center;
156
+ }
157
+
158
+ #attachment-upload {
159
+ .image-list {
160
+ display: flex;
161
+ flex-wrap: wrap;
162
+ padding: 0 8px;
163
+ }
164
+
165
+ .image-item {
166
+ margin: 0 6px;
167
+ position: relative;
168
+
169
+ .delete {
170
+ // width: 20px;
171
+ // height: 22px;
172
+ position: absolute;
173
+ top: 0px;
174
+ right: 0px;
175
+ // border-radius: 30px;
176
+ background: #ffffff;
177
+ display: flex;
178
+ align-items: center;
179
+ justify-content: flex-end;
180
+ }
181
+
182
+ .guoran-tongyichicun-16-09-shanchu2 {
183
+ color: #366aff;
184
+ // position: absolute;
185
+ // top: 0px;
186
+ // right: 0px;
187
+ // cursor: pointer;
188
+ }
189
+ }
190
+
191
+ .guoran-tongyichicun-16-09-shanchu2 {
192
+ display: none;
193
+ }
194
+
195
+ .image-item:hover {
196
+ .delete {
197
+ width: 18px;
198
+ height: 20px;
199
+ }
200
+
201
+ .guoran-tongyichicun-16-09-shanchu2 {
202
+ display: block;
203
+ }
204
+ }
205
+
206
+ .attch-item {
207
+ margin: 10px 0 0 0;
208
+ color: #606266;
209
+ font-size: 13px;
210
+ cursor: pointer;
211
+ display: flex;
212
+ align-items: center;
213
+ justify-content: space-between;
214
+ width: 100%;
215
+
216
+ .guoran-a-16-09 {
217
+ color: #366aff;
218
+ }
219
+
220
+ .attch-item-left {
221
+ display: flex;
222
+ align-items: center;
223
+ flex: none;
224
+ width: 97%;
225
+ overflow: hidden;
226
+ text-overflow: ellipsis;
227
+ margin-left: 6px;
228
+ img {
229
+ margin-right: 4px;
230
+ }
231
+ }
232
+ }
233
+
234
+ .video-item {
235
+ display: flex;
236
+ align-items: center;
237
+ justify-content: center;
238
+ background-color: #f0f4fc;
239
+ width: 60px;
240
+ height: 60px;
241
+ border-radius: 5px;
242
+ margin: 0 6px;
243
+ position: relative;
244
+ overflow: hidden;
245
+
246
+ img {
247
+ cursor: pointer;
248
+ }
249
+
250
+ .delete {
251
+ // width: 20px;
252
+ // height: 22px;
253
+ position: absolute;
254
+ top: 0px;
255
+ right: 0px;
256
+ // border-radius: 30px;
257
+ background: #ffffff;
258
+ display: flex;
259
+ align-items: center;
260
+ justify-content: flex-end;
261
+
262
+ }
263
+
264
+ .guoran-tongyichicun-16-09-shanchu2 {
265
+ color: #366aff;
266
+ cursor: pointer;
267
+ }
268
+ }
269
+
270
+ .video-item:hover {
271
+ .delete {
272
+ width: 20px;
273
+ height: 22px;
274
+ }
275
+
276
+ .guoran-tongyichicun-16-09-shanchu2 {
277
+ display: block;
278
+ }
279
+ }
280
+
281
+ /deep/.attachment-upload {
282
+ .el-upload {
283
+ width: 100%;
284
+ }
285
+
286
+ .el-upload-dragger {
287
+ width: 100%;
288
+ }
289
+ }
290
+
291
+ .fileName {
292
+ max-width: 80%;
293
+ flex: none;
294
+ overflow: hidden;
295
+ text-overflow: ellipsis;
296
+ white-space: nowrap;
297
+ }
298
+
299
+ /deep/ .el-upload--picture-card {
300
+ width: 60px;
301
+ height: 60px;
302
+ display: flex;
303
+ align-items: center;
304
+ justify-content: center;
305
+ flex: none;
306
+ }
307
+
308
+ /deep/.el-upload-dragger {
309
+ height: 60px;
310
+ display: flex;
311
+ align-items: center;
312
+ justify-content: space-around;
313
+
314
+ .el-icon-upload {
315
+ margin: 5px 10px 8px;
316
+ line-height: 30px;
317
+ font-size: 25px;
318
+ }
319
+
320
+ .el-upload__text {
321
+ display: flex;
322
+ // flex-direction: column;
323
+ flex-wrap: wrap;
324
+ flex: 1;
325
+ }
326
+ }
327
+
328
+ .el-upload-dragger>div {
329
+ display: flex;
330
+ align-items: center;
331
+ }
332
+ }
333
+
334
+ .look-dialog {
335
+ video {
336
+ height: 500px;
337
+ object-fit: contain;
338
+ width: 100%;
339
+ }
340
+
341
+ img {
342
+ height: 500px;
343
+ width: 100%;
344
+ object-fit: contain;
345
+ }
346
+ }
347
+ /deep/.el-drawer__body{
348
+ height: 100%;
349
+ }
350
350
  </style>