chore: fui-date-picker 增加top配置

This commit is contained in:
Hefeng
2023-08-31 14:36:22 +08:00
parent b2a4bc4ca4
commit 66e52fbc6c

View File

@ -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)