diff --git a/components/firstui/fui-date-picker/fui-date-picker.vue b/components/firstui/fui-date-picker/fui-date-picker.vue index d23abaa..897b69a 100644 --- a/components/firstui/fui-date-picker/fui-date-picker.vue +++ b/components/firstui/fui-date-picker/fui-date-picker.vue @@ -457,7 +457,14 @@ 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)};` + else return `background:${this.maskBackground};z-index:${Number(this.zIndex - 10)};` + + + + }, topBottom() { if (this.top || this.top ===0)