From 66e52fbc6ca6994fcdc0f3063da3dc32a992844b Mon Sep 17 00:00:00 2001 From: Hefeng <1057605508@qq.com> Date: Thu, 31 Aug 2023 14:36:22 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20fui-date-picker=20=E5=A2=9E=E5=8A=A0to?= =?UTF-8?q?p=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/firstui/fui-date-picker/fui-date-picker.vue | 7 +++++++ 1 file changed, 7 insertions(+) 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)