✌️
This commit is contained in:
parent
df8a2aea35
commit
cf1f2562d7
4 changed files with 34 additions and 13 deletions
|
|
@ -33,7 +33,7 @@ export default Vue.extend({
|
|||
|
||||
&.naked
|
||||
background transparent !important
|
||||
border none !important
|
||||
box-shadow none !important
|
||||
|
||||
> header
|
||||
> .title
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue