2020-10-23 21:50:02 +00:00
|
|
|
<template>
|
2020-11-02 07:50:24 +00:00
|
|
|
<div >
|
|
|
|
<!-- <div class="uk-overlay-default uk-position-cover">
|
|
|
|
<div class="uk-position-center">
|
|
|
|
<h1>Loading... Please wait...</h1>
|
|
|
|
</div>
|
|
|
|
</div> -->
|
2020-10-24 00:34:41 +00:00
|
|
|
<navbar/>
|
2020-11-02 07:50:24 +00:00
|
|
|
<div class="uk-container ">
|
|
|
|
<selections/>
|
|
|
|
<div class="uk-container uk-container-small">
|
|
|
|
|
2020-10-24 00:34:41 +00:00
|
|
|
<options/>
|
2020-11-02 07:50:24 +00:00
|
|
|
</div>
|
2020-10-24 00:34:41 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-11-02 07:50:24 +00:00
|
|
|
|
2020-10-23 21:50:02 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2020-10-24 00:34:41 +00:00
|
|
|
// import _ from 'lodash';
|
|
|
|
|
2020-10-23 22:21:35 +00:00
|
|
|
import UIkit from 'uikit';
|
|
|
|
import Icons from 'uikit/dist/js/uikit-icons';
|
2020-10-23 21:50:02 +00:00
|
|
|
|
2020-10-24 00:34:41 +00:00
|
|
|
import navbar from './components/NavBar.vue';
|
|
|
|
import options from './components/Options.vue';
|
2020-11-02 07:50:24 +00:00
|
|
|
import Selections from './components/Selection.vue'
|
2020-10-24 00:34:41 +00:00
|
|
|
|
2020-10-23 22:21:35 +00:00
|
|
|
UIkit.use(Icons);
|
|
|
|
|
2020-10-23 21:50:02 +00:00
|
|
|
export default {
|
|
|
|
name: 'App',
|
|
|
|
components: {
|
2020-10-24 00:34:41 +00:00
|
|
|
navbar,
|
2020-11-02 07:50:24 +00:00
|
|
|
options,
|
|
|
|
Selections,
|
2020-10-24 00:34:41 +00:00
|
|
|
},
|
2020-10-27 20:39:08 +00:00
|
|
|
created(){
|
|
|
|
|
2020-11-02 07:50:24 +00:00
|
|
|
this.$store.dispatch('initialise')
|
|
|
|
// console.log(JSON.parse(JSON.stringify(this.$store.state)));
|
2020-10-27 20:39:08 +00:00
|
|
|
}
|
2020-10-23 21:50:02 +00:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2020-10-23 22:21:35 +00:00
|
|
|
<style lang="less">
|
|
|
|
@import "../node_modules/uikit/src/less/uikit.less";
|
2020-10-23 21:50:02 +00:00
|
|
|
#app {
|
|
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2020-10-24 00:34:41 +00:00
|
|
|
// text-align: center;
|
2020-10-23 21:50:02 +00:00
|
|
|
color: #2c3e50;
|
2020-10-26 18:59:12 +00:00
|
|
|
// margin-top: 60px;
|
2020-10-23 21:50:02 +00:00
|
|
|
}
|
2020-10-26 21:09:28 +00:00
|
|
|
.disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
color: gray
|
|
|
|
}
|
|
|
|
.disabled:hover {
|
|
|
|
color:gray
|
|
|
|
}
|
2020-10-23 21:50:02 +00:00
|
|
|
</style>
|