Compare commits

..

3 Commits

Author SHA1 Message Date
朱浩 415a4c17c1 Merge pull request 'zhuhao_dev' (#61) from zhuhao_dev into main
Reviewed-on: #61
2024-07-25 09:20:57 +08:00
朱浩 88e306e8a2 Merge branch 'main' into zhuhao_dev 2024-07-25 09:19:56 +08:00
朱浩 e5c55cefda 二期:文件上传图标修复 2024-07-25 09:19:43 +08:00
1 changed files with 5 additions and 3 deletions

View File

@ -24,7 +24,8 @@
<div class="prepare-body-main-item">
<div class="prepare-uploader-progress" :style="{ width: item.percentage + '%' }"></div>
<div class="prepare-body-main-item-icon">
<svg
<FileImage :size="50" :file-name="item.raw.name" />
<!-- <svg
class="icon"
aria-hidden="true"
font-size="50px"
@ -32,7 +33,7 @@
style="margin: auto"
>
<use xlink:href="#icon-ppt"></use>
</svg>
</svg>-->
</div>
<div class="prepare-body-main-item-info">
<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 SparkMD5 from 'spark-md5'
import { DeleteFilled } from '@element-plus/icons-vue'
import FileImage from '@/components/file-image/index.vue'
const { ipcRenderer } = window.electron || {}
export default {
name: 'Uploader',
components: { DeleteFilled },
components: { DeleteFilled, FileImage },
data() {
return {
timer: null,