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

This commit is contained in:
Hefeng
2023-08-31 10:43:40 +08:00
parent 590e7cd83e
commit e1212bac5c

View File

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