124 lines
3.5 KiB
PHP
124 lines
3.5 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>One</title>
|
|
<link rel="stylesheet" href="../../libs/vendor/css/google-fonts.css">
|
|
<link rel="stylesheet" href="../../libs/vendor/css/vuetify.min.css">
|
|
<link rel="stylesheet" href="../../libs/my-icon.css">
|
|
</head>
|
|
|
|
<body>
|
|
<div v-cloak id="app">
|
|
<v-app id="smartApp" >
|
|
<one-navbar></one-navbar>
|
|
<v-content class="blue lighten-5" >
|
|
<v-container fluid pt-2 pb-2 pl-1 pr-1 fill-height>
|
|
<v-layout column fill-height>
|
|
<v-flex class="fixed-search">
|
|
<one-search-box></one-search-box>
|
|
</v-flex>
|
|
<v-flex fill-height class="mt-6">
|
|
<v-layout fill-height>
|
|
<v-flex xs3 pr-1>
|
|
<one-px-list></one-px-list>
|
|
</v-flex>
|
|
<v-flex xs9 pl-1 fill-height>
|
|
<one-result-list></one-result-list>
|
|
</v-flex>
|
|
</v-layout>
|
|
<v-flex>
|
|
</v-layout>
|
|
<v-snackbar v-model="snackbar" :multi-line="true" class="box-info black--text" :timeout="3000" >
|
|
<span v-html="snackbar_info"></span>
|
|
</v-snackbar>
|
|
</v-container>
|
|
</v-content>
|
|
<one-footer> </one-footer>
|
|
</v-app>
|
|
</div>
|
|
|
|
<!-- Vendor -->
|
|
<script src="../../libs/vendor/axios.min.js"></script>
|
|
<script src="../../libs/vendor/moment.min.js"></script>
|
|
<script src="../../libs/vendor/moment-locale-id.js"></script>
|
|
<script src="../../libs/vendor/lodash.js"></script>
|
|
<script src="../../libs/vendor/vue.js"></script>
|
|
<script src="../../libs/vendor/vuex.js"></script>
|
|
<script src="../../libs/vendor/vuetify.js"></script>
|
|
<script src="../../libs/vendor/httpVueLoader.js"></script>
|
|
<script src="../../libs/one_global.js"></script>
|
|
<!-- App Script -->
|
|
<?php
|
|
$ts = "?ts=" . Date("ymdhis");
|
|
?>
|
|
|
|
<style scoped>
|
|
.flex-0 {
|
|
flex: 0 !important;
|
|
}
|
|
|
|
.flex-1 {
|
|
flex: 1 !important;
|
|
overflow: auto;
|
|
display: flex;
|
|
}
|
|
|
|
.fixed-search {
|
|
position: fixed;
|
|
top: 68px;
|
|
left: 4px;
|
|
right: 4px;
|
|
z-index: 7;
|
|
}
|
|
|
|
.fixed-search .v-card {
|
|
|
|
}
|
|
|
|
.mt-6 {
|
|
margin-top: 66px;
|
|
}
|
|
</style>
|
|
|
|
<script type="module">
|
|
import { store } from './store.js<?php echo $ts ?>';
|
|
window.store = store;
|
|
new Vue({
|
|
store,
|
|
el: '#app',
|
|
components: {
|
|
'one-navbar': httpVueLoader('../../apps/components/oneNavbarComponent.vue'),
|
|
'one-footer': httpVueLoader('../../apps/components/oneFooter.vue'),
|
|
'one-search-box': httpVueLoader('./components/oneSearchBox.vue'),
|
|
'one-px-list': httpVueLoader('./components/onePxList.vue'),
|
|
'one-result-list': httpVueLoader('./components/oneResultList.vue'),
|
|
},
|
|
computed : {
|
|
snackbar : {
|
|
get() {return this.$store.state.list_order.snackbar},
|
|
set(v){ this.$store.commit("list_order/update_snackbar",v) }
|
|
},
|
|
snackbar_info() {
|
|
return this.$store.state.list_order.snackbar_info
|
|
},
|
|
},
|
|
mounted () {
|
|
}
|
|
})
|
|
</script>
|
|
<style>
|
|
[v-cloak] {
|
|
display: none
|
|
}
|
|
.box-info .v-snack__content {
|
|
background-color : rgb(255, 230, 255);
|
|
}
|
|
</style>
|
|
</body>
|
|
|
|
</html>
|