mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-16 23:58:14 +09:00
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
42 lines
788 B
Vue
42 lines
788 B
Vue
<template>
|
|
<mk-container :style="`height: ${props.height}px;`" :show-header="props.showHeader" :scrollable="true">
|
|
<template #header><fa :icon="faBell"/>{{ $t('notifications') }}</template>
|
|
|
|
<div>
|
|
<x-notifications/>
|
|
</div>
|
|
</mk-container>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { faBell } from '@fortawesome/free-solid-svg-icons';
|
|
import MkContainer from '../components/ui/container.vue';
|
|
import XNotifications from '../components/notifications.vue';
|
|
import define from './define';
|
|
|
|
export default define({
|
|
name: 'notifications',
|
|
props: () => ({
|
|
showHeader: {
|
|
type: 'boolean',
|
|
default: true,
|
|
},
|
|
height: {
|
|
type: 'number',
|
|
default: 300,
|
|
},
|
|
})
|
|
}).extend({
|
|
components: {
|
|
MkContainer,
|
|
XNotifications,
|
|
},
|
|
|
|
data() {
|
|
return {
|
|
faBell
|
|
};
|
|
},
|
|
});
|
|
</script>
|