cf3fc97202
* wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
40 lines
652 B
Vue
40 lines
652 B
Vue
<template>
|
|
<mk-container :naked="props.transparent" :show-header="false">
|
|
<div class="vubelbmv">
|
|
<mk-analog-clock class="clock"/>
|
|
</div>
|
|
</mk-container>
|
|
</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: () => ({
|
|
transparent: {
|
|
type: 'boolean',
|
|
default: false,
|
|
},
|
|
})
|
|
}).extend({
|
|
components: {
|
|
MkContainer,
|
|
MkAnalogClock
|
|
},
|
|
});
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.vubelbmv {
|
|
padding: 8px;
|
|
|
|
> .clock {
|
|
height: 150px;
|
|
margin: auto;
|
|
}
|
|
}
|
|
</style>
|