修改
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
## 1.0.6(2022-04-14)
|
||||
增加距顶部任意位置弹出
|
||||
## 1.0.5(2022-04-13)
|
||||
优化关闭 、优化样式
|
||||
## 1.0.4(2022-04-12)
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
'content--visible_bottom':radius&&mode==='bottom'
|
||||
}]"
|
||||
:style="{
|
||||
top:(top>0||top)?top:false ,
|
||||
width:(mode==='left'||mode==='right')?getWidth:'100%',
|
||||
height:(mode==='top'||mode==='bottom')?height:'100%',
|
||||
}">
|
||||
@@ -74,7 +75,10 @@ export default {
|
||||
type:String,
|
||||
default:'我是标题'
|
||||
},
|
||||
|
||||
top:{
|
||||
type:[Number,String],
|
||||
default:0
|
||||
},
|
||||
visible: Boolean,
|
||||
width:{
|
||||
type:[Number,String],
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"id": "zb-drawer",
|
||||
"displayName": "zb-drawer",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"description": "抽屉组件,功能有、支持设置宽度百分比、高度百分比、左边弹出、右边弹出、顶部弹出、底部弹出",
|
||||
"keywords": [
|
||||
"drawer",
|
||||
"自定义宽度、宽度百分比、高度百分比、左边弹出、右边弹出、顶部弹出、底部弹出",
|
||||
"抽屉"
|
||||
],
|
||||
"repository": "https://github.com/zouzhibin/zb-table.git",
|
||||
"repository": "https://github.com/zouzhibin/zb-ui",
|
||||
"engines": {
|
||||
"HBuilderX": "^3.1.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user