增加layout层的底部内边距设置
This commit is contained in:
parent
9a5ee57992
commit
9e66e6646a
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="page-layout" :style="{ backgroundColor: backgroundColor, minHeight: minHeight }">
|
<view class="page-layout" :style="{ backgroundColor: backgroundColor, minHeight: minHeight, paddingBottom: layoutPb + 'px' }">
|
||||||
<view
|
<view
|
||||||
class="page-header"
|
class="page-header"
|
||||||
:class="[textColor]"
|
:class="[textColor]"
|
||||||
|
@ -42,6 +42,7 @@ export default {
|
||||||
pt: 0,
|
pt: 0,
|
||||||
},
|
},
|
||||||
bodyPt: 0,
|
bodyPt: 0,
|
||||||
|
bodyPb: 0,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
components: {},
|
components: {},
|
||||||
|
@ -74,6 +75,10 @@ export default {
|
||||||
type: String,
|
type: String,
|
||||||
default: "dark",
|
default: "dark",
|
||||||
},
|
},
|
||||||
|
layoutPb: {
|
||||||
|
type: Number,
|
||||||
|
default: 0,
|
||||||
|
},
|
||||||
hasPaddingTop: {
|
hasPaddingTop: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: true,
|
default: true,
|
||||||
|
|
Loading…
Reference in New Issue