升级uni-ui到最新版本1.5.7

This commit is contained in:
RuoYi
2025-03-25 16:58:54 +08:00
parent dae8945a43
commit 315832d151
127 changed files with 7327 additions and 5066 deletions

View File

@@ -1,3 +1,9 @@
## 1.3.142024-10-15
- 修复 微信小程序中的getSystemInfo警告
## 1.3.132024-10-12
- 修复 微信小程序中的getSystemInfo警告
## 1.3.122024-10-12
- 修复 微信小程序中的getSystemInfo警告
## 1.3.112023-03-29
- 修复 自定义状态栏高度闪动BUG
## 1.3.102023-03-29

View File

@@ -318,7 +318,7 @@
.uni-navbar--fixed {
position: fixed;
z-index: 998;
z-index: 99;
/* #ifdef H5 */
left: var(--window-left);
right: var(--window-right);

View File

@@ -8,8 +8,14 @@
export default {
name: 'UniStatusBar',
data() {
return {
statusBarHeight: uni.getSystemInfoSync().statusBarHeight + 'px'
return {
// #ifdef MP-WEIXIN
statusBarHeight: uni.getWindowInfo().statusBarHeight + 'px',
// #endif
// #ifndef MP-WEIXIN
statusBarHeight: uni.getSystemInfoSync().statusBarHeight + 'px',
// #endif
}
}
}

View File

@@ -1,7 +1,7 @@
{
"id": "uni-nav-bar",
"displayName": "uni-nav-bar 自定义导航栏",
"version": "1.3.11",
"version": "1.3.14",
"description": "自定义导航栏组件,主要用于头部导航。",
"keywords": [
"uni-ui",
@@ -45,7 +45,8 @@
"platforms": {
"cloud": {
"tcb": "y",
"aliyun": "y"
"aliyun": "y",
"alipay": "n"
},
"client": {
"App": {
@@ -83,4 +84,4 @@
}
}
}
}
}