souvenir/src/App.vue

36 lines
758 B
Vue
Raw Normal View History

<template lang="html">
2019-03-09 02:04:31 +00:00
<div class="layout">
2019-03-12 16:41:30 +00:00
<welcome-screen v-if="!welcomed && !downloading.status"></welcome-screen>
<capture-screen v-if="welcomed && !downloading.status"></capture-screen>
<download-screen v-if="downloading.status"></download-screen>
2019-03-08 22:17:59 +00:00
</div>
</template>
<script>
import welcomeScreen from '/views/screens/welcome'
import captureScreen from '/views/screens/capture'
import downloadScreen from '/views/screens/download'
2019-03-09 21:54:07 +00:00
import { mapState } from 'vuex'
2019-03-08 22:17:59 +00:00
export default {
2019-03-09 02:04:31 +00:00
name: 'souvenir',
components: {
2019-03-09 21:54:07 +00:00
welcomeScreen,
2019-03-09 23:55:37 +00:00
captureScreen,
downloadScreen
2019-03-09 21:54:07 +00:00
},
computed: {
...mapState([
2019-03-12 16:41:30 +00:00
'welcomed',
2019-03-09 23:55:37 +00:00
'downloading'
2019-03-09 21:54:07 +00:00
])
2019-03-09 02:04:31 +00:00
}
2019-03-08 22:17:59 +00:00
}
</script>
<style lang="css">
@import '/assets/css/style.css';
</style>