xianniu-ui 0.8.36 → 0.8.38

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xianniu-ui",
3
- "version": "0.8.36",
3
+ "version": "0.8.38",
4
4
  "private": false,
5
5
  "main": "lib/xianniu-ui.umd.min.js",
6
6
  "scripts": {
@@ -52,7 +52,13 @@
52
52
  <a
53
53
  class="el-upload-list__item-name"
54
54
  @click="handleAVPreview(file)"
55
- v-if="$utils.isAV(file)"
55
+ v-else-if="$utils.isAV(file)"
56
+ ><i class="el-icon-document"></i>{{ file.name }}
57
+ </a>
58
+ <a
59
+ class="el-upload-list__item-name"
60
+ @click="handleDownload(file)"
61
+ v-else
56
62
  ><i class="el-icon-document"></i>{{ file.name }}
57
63
  </a>
58
64
  <a class="el-upload-list__item-name" v-if="file.status === 'uploading'"
@@ -133,7 +139,7 @@
133
139
  </span>
134
140
  <span
135
141
  v-if="$utils.isAV(file)"
136
- class="el-upload-list__item-preview"
142
+ class="el-upload-list__item-preview ml-5"
137
143
  @click="handleAVPreview(file)"
138
144
  >
139
145
  <i class="fz-16 el-icon-video-play" />