File tree Expand file tree Collapse file tree 2 files changed +343
-66
lines changed
packages/bootstrap-vue-3/src/components/BCard Expand file tree Collapse file tree 2 files changed +343
-66
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<component :is =" tag" class =" card" :class =" classes" >
3
- <!-- Img if on top -->
4
3
<b-card-img v-if =" imgSrc && !imgBottomBoolean" v-bind =" imgAttr" />
5
- <!-- Header -->
6
4
<b-card-header
7
5
v-if =" header || $slots.header || headerHtml"
8
6
v-bind =" headerAttrs"
12
10
{{ header }}
13
11
</slot >
14
12
</b-card-header >
15
- <!-- Body -->
16
13
<b-card-body v-if =" !noBodyBoolean" v-bind =" bodyAttrs" :class =" bodyClass" >
17
14
<slot >
18
15
{{ bodyText }}
21
18
<slot v-else >
22
19
{{ bodyText }}
23
20
</slot >
24
- <!-- Footer -->
25
21
<b-card-footer
26
22
v-if =" footer || $slots.footer || footerHtml"
27
23
v-bind =" footerAttrs"
31
27
{{ footer }}
32
28
</slot >
33
29
</b-card-footer >
34
- <!-- Img if on bottom -->
35
30
<b-card-img v-if =" imgSrc && imgBottomBoolean" v-bind =" imgAttr" />
36
31
</component >
37
32
</template >
@@ -149,7 +144,7 @@ const bodyAttrs = computed(() => ({
149
144
150
145
const footerAttrs = computed (() => ({
151
146
bgVariant: props .footerBgVariant ,
152
- borderVariant: props .borderVariant ,
147
+ borderVariant: props .footerBorderVariant ,
153
148
html: props .footerHtml ,
154
149
tag: props .footerTag ,
155
150
textVariant: props .footerTextVariant ,
You can’t perform that action at this time.
0 commit comments