trashposs/packages/client/src/pages/emojis.vue
syuilo 14148f6c4a refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00

37 lines
624 B
Vue

<template>
<div :class="$style.root">
<XCategory v-if="tab === 'category'"/>
</div>
</template>
<script lang="ts">
import { defineComponent, computed } from 'vue';
import * as os from '@/os';
import * as symbols from '@/symbols';
import XCategory from './emojis.category.vue';
export default defineComponent({
components: {
XCategory,
},
data() {
return {
[symbols.PAGE_INFO]: computed(() => ({
title: this.$ts.customEmojis,
icon: 'fas fa-laugh',
bg: 'var(--bg)',
})),
tab: 'category',
}
},
});
</script>
<style lang="scss" module>
.root {
max-width: 1000px;
margin: 0 auto;
}
</style>