This commit is contained in:
syuilo 2018-02-15 17:50:19 +09:00
parent 9fd00d1179
commit 43d9d81b53
5 changed files with 72 additions and 72 deletions

View file

@ -1,6 +1,8 @@
<template>
<div class="mk-ui">
<mk-ui-header/>
<mk-ui-header :func="func" :func-icon="funcIcon">
<slot name="header"></slot>
</mk-ui-header>
<mk-ui-nav :is-open="isDrawerOpening"/>
<div class="content">
<slot></slot>
@ -12,6 +14,7 @@
<script lang="ts">
import Vue from 'vue';
export default Vue.extend({
props: ['title', 'func', 'funcIcon'],
data() {
return {
isDrawerOpening: false,