二期:文件上传图标修复
This commit is contained in:
parent
eff5688e42
commit
e5c55cefda
|
@ -24,7 +24,8 @@
|
||||||
<div class="prepare-body-main-item">
|
<div class="prepare-body-main-item">
|
||||||
<div class="prepare-uploader-progress" :style="{ width: item.percentage + '%' }"></div>
|
<div class="prepare-uploader-progress" :style="{ width: item.percentage + '%' }"></div>
|
||||||
<div class="prepare-body-main-item-icon">
|
<div class="prepare-body-main-item-icon">
|
||||||
<svg
|
<FileImage :size="50" :file-name="item.raw.name" />
|
||||||
|
<!-- <svg
|
||||||
class="icon"
|
class="icon"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
font-size="50px"
|
font-size="50px"
|
||||||
|
@ -32,7 +33,7 @@
|
||||||
style="margin: auto"
|
style="margin: auto"
|
||||||
>
|
>
|
||||||
<use xlink:href="#icon-ppt"></use>
|
<use xlink:href="#icon-ppt"></use>
|
||||||
</svg>
|
</svg>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="prepare-body-main-item-info">
|
<div class="prepare-body-main-item-info">
|
||||||
<div class="prepare-item-info-title">{{ item.raw.name }}</div>
|
<div class="prepare-item-info-title">{{ item.raw.name }}</div>
|
||||||
|
@ -62,10 +63,11 @@ import { getToken } from '@/utils/auth'
|
||||||
// import CryptoJS from 'crypto-js/md5'
|
// import CryptoJS from 'crypto-js/md5'
|
||||||
import SparkMD5 from 'spark-md5'
|
import SparkMD5 from 'spark-md5'
|
||||||
import { DeleteFilled } from '@element-plus/icons-vue'
|
import { DeleteFilled } from '@element-plus/icons-vue'
|
||||||
|
import FileImage from '@/components/file-image/index.vue'
|
||||||
const { ipcRenderer } = window.electron || {}
|
const { ipcRenderer } = window.electron || {}
|
||||||
export default {
|
export default {
|
||||||
name: 'Uploader',
|
name: 'Uploader',
|
||||||
components: { DeleteFilled },
|
components: { DeleteFilled, FileImage },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
timer: null,
|
timer: null,
|
||||||
|
|
Loading…
Reference in New Issue