This commit is contained in:
syuilo 2018-02-24 03:03:26 +09:00
parent df8a2aea35
commit cf1f2562d7
4 changed files with 34 additions and 13 deletions

View file

@ -33,7 +33,7 @@ export default Vue.extend({
&.naked
background transparent !important
border none !important
box-shadow none !important
> header
> .title

View file

@ -1,6 +1,6 @@
<template>
<div class="mkw-activity">
<mk-widget-container>
<mk-widget-container :show-header="!props.compact">
<template slot="header">%fa:chart-bar%アクティビティ</template>
<div :class="$style.body">
<mk-activity :user="os.i"/>
@ -14,6 +14,15 @@ import define from '../../../../common/define-widget';
export default define({
name: 'activity',
props: () => ({
compact: false
})
}).extend({
methods: {
func() {
this.props.compact = !this.props.compact;
}
}
});
</script>