等待上传
-
+
已上传
-
+
@@ -62,6 +62,7 @@
})
this.$electron.ipcRenderer.on('uploadFiles', (event) => {
this.files = this.$db.read().get('uploaded').slice().reverse().slice(0, 5).value()
+ console.log(this.files)
this.uploadFlag = false
})
this.$electron.ipcRenderer.on('updateFiles', (event) => {
@@ -146,11 +147,11 @@ body::-webkit-scrollbar
top 0px
width 100%
.img-list
- padding 16px 8px
+ padding 8px 8px
display flex
justify-content space-between
align-items center
- height 45px
+ // height 45px
cursor pointer
transition all .2s ease-in-out
&:hover
@@ -158,8 +159,8 @@ body::-webkit-scrollbar
.upload-img__index
color #fff
.upload-img
- height 100%
width 100%
+ object-fit scale-down
margin 0 auto
&__container
width 100%