|
|
@ -127,8 +127,12 @@ watch( |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div ref="wrapperRef" :class="getClass"> |
|
|
|
<div ref="wrapperRef" :class="getClass"> |
|
|
|
<PageHeader |
|
|
|
<PageHeader |
|
|
|
v-if="getShowHeader" v-bind="omit($attrs, 'class')" ref="headerRef" :style="getHeaderStyle" |
|
|
|
v-if="getShowHeader" |
|
|
|
style="margin: 1rem; border-radius: 1rem;" :ghost="ghost" :title="title" |
|
|
|
v-bind="omit($attrs, 'class')" |
|
|
|
|
|
|
|
ref="headerRef" |
|
|
|
|
|
|
|
:style="getHeaderStyle" |
|
|
|
|
|
|
|
:ghost="ghost" |
|
|
|
|
|
|
|
:title="title" |
|
|
|
> |
|
|
|
> |
|
|
|
<template #default> |
|
|
|
<template #default> |
|
|
|
<template v-if="content"> |
|
|
|
<template v-if="content"> |
|
|
@ -164,18 +168,16 @@ watch( |
|
|
|
|
|
|
|
|
|
|
|
.@{prefix-cls}-content { |
|
|
|
.@{prefix-cls}-content { |
|
|
|
margin: 1rem; |
|
|
|
margin: 1rem; |
|
|
|
border-radius: 1rem; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.ant-page-header { |
|
|
|
.ant-page-header { |
|
|
|
&:empty { |
|
|
|
&:empty { |
|
|
|
margin: 1rem; |
|
|
|
padding: 0; |
|
|
|
border-radius: 1rem; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&-content-bg { |
|
|
|
&-content-bg { |
|
|
|
background-color: var(--component-background); |
|
|
|
background-color: @component-background; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
&--dense { |
|
|
|
&--dense { |
|
|
|