diff --git a/components/firstui/fui-date-picker/fui-date-picker.vue b/components/firstui/fui-date-picker/fui-date-picker.vue index 897b69a..56aef04 100644 --- a/components/firstui/fui-date-picker/fui-date-picker.vue +++ b/components/firstui/fui-date-picker/fui-date-picker.vue @@ -5,7 +5,7 @@ :style="maskStyl" ref="fui_dpkm_ani" @tap.stop="maskClick"> @@ -391,7 +391,7 @@ export default { type: [Number, String], default: 0 }, - top: { + panelTop: { type: [Number, String], default: undefined }, @@ -457,8 +457,8 @@ export default { return styles }, maskStyl() { - if (this.top || this.top ===0) - return `top:${Number(this.top)}rpx;background:${this.maskBackground};z-index:${Number(this.zIndex - 10)};` + if (this.panelTop || this.panelTop ===0) + return `top:${Number(this.panelTop)}rpx;background:${this.maskBackground};z-index:${Number(this.zIndex - 10)};` else return `background:${this.maskBackground};z-index:${Number(this.zIndex - 10)};` @@ -467,8 +467,8 @@ export default { }, topBottom() { - if (this.top || this.top ===0) - return `top:${Number(this.top)}rpx;z-index: ${Number(this.zIndex)}` + if (this.panelTop || this.panelTop ===0) + return `top:${Number(this.panelTop)}rpx;z-index: ${Number(this.zIndex)}` else return `z-index: ${Number(this.zIndex)}`