Commit 98727182 authored by tangfh's avatar tangfh

+

parent de7fad7c
## 1.0.7(2024-06-17)
1.0.7
## 1.0.6(2024-06-07) ## 1.0.6(2024-06-07)
1.0.6 1.0.6
## 1.0.5(2024-06-07) ## 1.0.5(2024-06-07)
......
...@@ -17,11 +17,15 @@ ...@@ -17,11 +17,15 @@
backgroundColor: { backgroundColor: {
type: String, type: String,
default: "white" default: "white"
} },
isNeedSafeBottomPadding: {
type: Boolean,
default: true,
},
}, },
created() { created() {
this.width = ui.appUI.screenWidth + "px" this.width = ui.appUI.screenWidth + "px"
this.padding = `5px 0 ${ui.appUI.saftBottom+'px'} 0` this.padding = this.isNeedSafeBottomPadding ? (`5px 0 ${ui.appUI.saftBottom+'px'} 0`) : "";
} }
} }
</script> </script>
...@@ -37,4 +41,4 @@ ...@@ -37,4 +41,4 @@
flex-direction: row; flex-direction: row;
background-color: white; background-color: white;
} }
</style> </style>
\ No newline at end of file
{ {
"id": "f-view-bottom-fixed", "id": "f-view-bottom-fixed",
"displayName": "f-view-bottom-fixed", "displayName": "f-view-bottom-fixed",
"version": "1.0.6", "version": "1.0.7",
"description": "底部按钮父view", "description": "底部按钮父view",
"keywords": [ "keywords": [
"f-view-bottom-fixed" "f-view-bottom-fixed"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment