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

This commit is contained in:
Hefeng
2023-08-31 10:53:59 +08:00
parent e1212bac5c
commit b526a2b81a

View File

@ -460,8 +460,8 @@ export default {
return `background:${this.maskBackground};z-index:${Number(this.zIndex - 10)};` return `background:${this.maskBackground};z-index:${Number(this.zIndex - 10)};`
}, },
topBottom() { topBottom() {
if (this.top || Number(this.top) ===0) if (this.top || this.top ===0)
return `top:${this.top}rpx;z-index: ${Number(this.zIndex)}` return `top:${Number(this.top)}rpx;z-index: ${Number(this.zIndex)}`
else else
return `z-index: ${Number(this.zIndex)}` return `z-index: ${Number(this.zIndex)}`