Browse Source

1、统一格式化

2、删除未使用的依赖
pull/54/head
zyronon 1 year ago
parent
commit
130b633651
  1. 4
      package.json
  2. 2254
      pnpm-lock.yaml
  3. 10
      src/assets/data/posts6.json
  4. 2
      src/components/slide/BVideo.vue
  5. 2
      src/pages/home/slide/SlideList.vue

4
package.json

@ -44,8 +44,6 @@ @@ -44,8 +44,6 @@
"rollup-plugin-visualizer": "^5.9.2",
"unplugin-vue-define-options": "^1.4.1",
"vite": "4.5.3",
"vite-plugin-cdn-import": "0.3.5",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-imagemin": "^0.6.1"
"vite-plugin-cdn-import": "0.3.5"
}
}

2254
pnpm-lock.yaml

File diff suppressed because it is too large Load Diff

10
src/assets/data/posts6.json

@ -58,7 +58,7 @@ @@ -58,7 +58,7 @@
"width": 720,
"height": 720
},
"poster":"a1.jpg",
"poster": "a1.jpg",
"height": 3840,
"width": 2160,
"ratio": "1080p",
@ -343,7 +343,7 @@ @@ -343,7 +343,7 @@
"width": 720,
"height": 720
},
"poster":"a2.jpg",
"poster": "a2.jpg",
"height": 1920,
"width": 1080,
"ratio": "1080p",
@ -916,7 +916,7 @@ @@ -916,7 +916,7 @@
"width": 720,
"height": 720
},
"poster":"a3.jpg",
"poster": "a3.jpg",
"height": 1920,
"width": 1080,
"ratio": "720p",
@ -1166,7 +1166,7 @@ @@ -1166,7 +1166,7 @@
"width": 720,
"height": 720
},
"poster":"a4.jpg",
"poster": "a4.jpg",
"height": 1080,
"width": 1920,
"ratio": "1080p",
@ -1428,7 +1428,7 @@ @@ -1428,7 +1428,7 @@
"width": 720,
"height": 720
},
"poster":"a5.jpg",
"poster": "a5.jpg",
"height": 1920,
"width": 1080,
"ratio": "1080p",

2
src/components/slide/BVideo.vue

@ -308,7 +308,7 @@ export default { @@ -308,7 +308,7 @@ export default {
query: { id: this.item.id }
})
}
}else {
} else {
if (this.status === SlideItemPlayStatus.Play) {
this.pause()
} else {

2
src/pages/home/slide/SlideList.vue

@ -133,4 +133,4 @@ onUnmounted(() => { @@ -133,4 +133,4 @@ onUnmounted(() => {
bus.off(EVENT_KEY.SINGLE_CLICK, click)
bus.on(EVENT_KEY.UPDATE_ITEM, updateItem)
})
</script>
</script>

Loading…
Cancel
Save