2020-02-14 15:31:24 +01:00
|
|
|
<template>
|
2020-07-11 03:13:11 +02:00
|
|
|
<mk-container :naked="props.transparent" :show-header="false">
|
|
|
|
<div class="vubelbmv">
|
|
|
|
<mk-analog-clock class="clock"/>
|
|
|
|
</div>
|
|
|
|
</mk-container>
|
2020-02-14 15:31:24 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import define from './define';
|
|
|
|
import MkContainer from '../components/ui/container.vue';
|
|
|
|
import MkAnalogClock from '../components/analog-clock.vue';
|
|
|
|
|
|
|
|
export default define({
|
|
|
|
name: 'clock',
|
|
|
|
props: () => ({
|
2020-07-11 03:13:11 +02:00
|
|
|
transparent: {
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
|
|
|
},
|
2020-02-14 15:31:24 +01:00
|
|
|
})
|
|
|
|
}).extend({
|
|
|
|
components: {
|
|
|
|
MkContainer,
|
|
|
|
MkAnalogClock
|
|
|
|
},
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2020-02-14 15:55:13 +01:00
|
|
|
.vubelbmv {
|
|
|
|
padding: 8px;
|
|
|
|
|
|
|
|
> .clock {
|
|
|
|
height: 150px;
|
|
|
|
margin: auto;
|
2020-02-14 15:31:24 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|