diff --git a/src/App.vue b/src/App.vue
index 2560344..47faf2a 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -122,7 +122,6 @@ export default class App extends Vue {
@Watch('leftPanelClosed')
onLeftPanelClosedChange(val: boolean, oldValue: boolean) {
- console.log(val, oldValue);
this.changeLeftPanelStatus(val);
}
}
diff --git a/src/components/Album.vue b/src/components/Album.vue
index a7b18fa..a1a2e9f 100644
--- a/src/components/Album.vue
+++ b/src/components/Album.vue
@@ -58,15 +58,9 @@ export default class Album extends Vue {
}
}
- get backgroundMaskStyle() {
- return {
- 'margin-top': `-${this.height}`
- };
- }
-
get coverStyle() {
return {
- 'background-image': `url('pictures/albums/${this.data.folderName}/${this.data.files[0]}')`,
+ 'background-image': `url('pictures/albums/${this.data.folderName}/${this.data.coverFileName}')`,
};
}
diff --git a/src/components/Photo.vue b/src/components/Photo.vue
new file mode 100644
index 0000000..61bf070
--- /dev/null
+++ b/src/components/Photo.vue
@@ -0,0 +1,99 @@
+
+