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