chore: fui-date-picker 增加top配置
This commit is contained in:
@ -457,7 +457,14 @@ export default {
|
|||||||
return styles
|
return styles
|
||||||
},
|
},
|
||||||
maskStyl() {
|
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)};`
|
return `background:${this.maskBackground};z-index:${Number(this.zIndex - 10)};`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
topBottom() {
|
topBottom() {
|
||||||
if (this.top || this.top ===0)
|
if (this.top || this.top ===0)
|
||||||
|
Reference in New Issue
Block a user