This commit is contained in:
zouzhibing
2022-04-14 15:22:22 +08:00
parent 22f647f215
commit aa8f55a2c0
8 changed files with 52 additions and 17 deletions

View File

@@ -1,3 +1,5 @@
## 1.0.62022-04-14
增加距顶部任意位置弹出
## 1.0.52022-04-13
优化关闭 、优化样式
## 1.0.42022-04-12

View File

@@ -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],

View File

@@ -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"
},