no message
Former-commit-id: 5a497d156a66299830a672ff1b8d22165c19a8cb Former-commit-id: 6429c53c4c9592bf05987029d8ae7a62ee383df9 Former-commit-id: 6d3b1470b390e23f2f5fe6c58ddb762bedb96e98
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<slot></slot>
|
||||
</div>
|
||||
<!-- [container-full] 撑满 -->
|
||||
<container-full v-if="type === 'card-full'" :right="10" :bottom="0">
|
||||
<container-full v-if="type === 'full'" :right="10" :bottom="0">
|
||||
<slot v-if="$slots.header" name="header" slot="header"></slot>
|
||||
<slot></slot>
|
||||
<slot v-if="$slots.footer" name="footer" slot="footer"></slot>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<div class="dd-card-full" :style="cardStyle">
|
||||
<div v-if="$slots.header" class="dd-card-full__header" ref="header">
|
||||
<div class="dd-container-full" :style="cardStyle">
|
||||
<div v-if="$slots.header" class="dd-container-full__header" ref="header">
|
||||
<slot name="header"></slot>
|
||||
</div>
|
||||
<div class="dd-card-full__body" :style="bodyStyle">
|
||||
<div class="dd-container-full__body" :style="bodyStyle">
|
||||
<slot></slot>
|
||||
</div>
|
||||
<div v-if="$slots.footer" class="dd-card-full__footer" ref="footer">
|
||||
<div v-if="$slots.footer" class="dd-container-full__footer" ref="footer">
|
||||
<slot name="footer"></slot>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -28,7 +28,7 @@ export default {
|
||||
return {
|
||||
menus: [
|
||||
{
|
||||
path: '/demo/components/container/card-full',
|
||||
path: '/demo/components/container/container-full',
|
||||
title: 'menu-a',
|
||||
icon: 'plus'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user