@@ -220,8 +227,9 @@ export default {
},
data() {
return {
+ showLoading: true, // 加载处理
waterfallBug: true, // 解决瀑布流不显示bug
- videoType: 1, //1竖屏2横屏
+ videoType: -1, //-1全部1竖屏2横屏
showPopup: false, // 编辑和删除显示隐藏
clickItem: -1, // 弹出层显示隐藏
showTrue: true, // 弹出层显示隐藏
@@ -249,7 +257,7 @@ export default {
// 草稿箱切换
draftChange(type) {
this.listActive = type
- this.videoType = 1
+ this.videoType = -1
this.loadVideoList(1, this.pageSize, this.videoType)
},
// 横屏竖屏列表
@@ -355,12 +363,14 @@ export default {
message: '您确定要删除该作品吗?'
})
.then(async () => {
+ this.showLoading = true
await this.deleteVideoById(id)
await this.loadVideoList(
this.currentPage,
this.pageSize,
this.videoType
)
+ this.showLoading = false
})
.catch(() => {
return
diff --git a/src/views/videoDownload/videoDownload.vue b/src/views/videoDownload/videoDownload.vue
index e8e2e37..c7edd1a 100644
--- a/src/views/videoDownload/videoDownload.vue
+++ b/src/views/videoDownload/videoDownload.vue
@@ -5,48 +5,8 @@
-
-
-
-
-
-
-
-
{{ formatTime(currentTime) }}
-
-
{{ formatTime(totalTime) }}
-
-
-
-
-
-
+
+