chore: fui-date-picker 增加top配置
This commit is contained in:
@ -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)}`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user