上线缩略图预览(点击名字进行切换以及放大)。(同步更新)

This commit is contained in:
chuzhongzai
2022-12-07 11:18:24 +08:00
parent a37b14433e
commit 502cb16635
3 changed files with 30 additions and 14 deletions
+5
View File
@@ -440,12 +440,17 @@ const mutations = {
},
_closeHistoryPanel(state){
state.isShowHistory = false
},
_changeThumbnailGallery(state, gallery){
state.thumbnailGallery = gallery
state.thumbnailGallery.url = GalleryManageUrl + "thumbnail/" + encodeURIComponent(gallery.name) + ".webp?AuthCode="+state.AuthCode
}
}
const state = {
totalGalleryTask:[], //存放本子数据的数组
chosenGallery:false, //准备下载的本子
thumbnailGallery:{}, //预览本子
totalVideoTask:[], //存放视频数据的数组
chosenVideo:false, //准备下载的视频