diff --git a/client/components/Reader/HistoryPage/HistoryPage.vue b/client/components/Reader/HistoryPage/HistoryPage.vue index 0fe7085d..f3732767 100644 --- a/client/components/Reader/HistoryPage/HistoryPage.vue +++ b/client/components/Reader/HistoryPage/HistoryPage.vue @@ -1,13 +1,14 @@ @@ -16,11 +17,17 @@ import Vue from 'vue'; import Component from 'vue-class-component'; +import Window from '../../share/Window.vue'; + export default @Component({ + components: { + Window, + }, }) class HistoryPage extends Vue { created() { this.commit = this.$store.commit; + this.reader = this.$store.state.reader; } } @@ -35,28 +42,6 @@ class HistoryPage extends Vue { align-items: center; } -.window { - flex: 1; - display: flex; - flex-direction: column; - min-width: 200px; - max-width: 600px; - background-color: #f5f7fa; - margin: 10px; - border: 1px solid black; - box-shadow: 3px 3px 5px black; -} - -.header { - display: flex; - align-items: center; - height: 40px; -} - -.header-text { - margin-left: 10px; -} - .list { flex: 1; background-color: #ffffff; diff --git a/client/components/share/Window.vue b/client/components/share/Window.vue new file mode 100644 index 00000000..439736ef --- /dev/null +++ b/client/components/share/Window.vue @@ -0,0 +1,47 @@ + + + + + \ No newline at end of file