lyc-dev #64

Merged
lyc merged 3 commits from lyc-dev into main 2024-07-26 09:44:12 +08:00
1 changed files with 5 additions and 3 deletions
Showing only changes of commit e221bedb81 - Show all commits

View File

@ -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,