diff --git a/App.vue b/App.vue
index 3d97b1b..f6ef8a2 100644
--- a/App.vue
+++ b/App.vue
@@ -3,7 +3,7 @@
onLaunch: function() {
// #ifdef APP-PLUS
plus.screen.lockOrientation('portrait-primary');
- plus.navigator.setFullscreen(true);
+ // plus.navigator.setFullscreen(true);
// #endif
},
onHide: function() {
diff --git a/common/style/layout.css b/common/style/layout.css
index 33a0ab7..234f4fb 100644
--- a/common/style/layout.css
+++ b/common/style/layout.css
@@ -1,10 +1,9 @@
page {
- background-color: #f6f6f6 !important;
+ background-color: #f6f6f6!important;
min-height: 100% !important;
height: 100% !important;
}
uni-page-body {
- background-color: #f6f6f6 !important;
min-height: 100% !important;
height: 100% !important;
}
@@ -109,7 +108,7 @@ uni-button:after {
.zd_content {
width: 100%;
height: auto;
- padding: 92rpx 14rpx 82rpx 14rpx;
+ padding: calc(var(--status-bar-height) + 92rpx) 14rpx 82rpx 14rpx;
}
.zd_wrapper {
width: 100%;
@@ -279,7 +278,7 @@ uni-button:after {
margin: 0 40rpx 10rpx 0;
border-radius: 30rpx;
}
-.btn-disabled, .submit-button:disabled {
+.btn-disabled, .submit-button[disabled] {
background-color: #c9c9c9;
border: 1px solid #c9c9c9;
color: #fff;
diff --git a/components/NavBar.vue b/components/NavBar.vue
index a03af93..1d2a635 100644
--- a/components/NavBar.vue
+++ b/components/NavBar.vue
@@ -53,7 +53,7 @@
.header
_fj()
position fixed
- _wh(100%, 72rpx)
+ _wh(100%, calc(var(--status-bar-height) + 72rpx))
background-color $red
z-index 200
padding 0 20rpx
diff --git a/pages.json b/pages.json
index 1ebae9a..886ee14 100644
--- a/pages.json
+++ b/pages.json
@@ -253,14 +253,14 @@
{
"navigationStyle": "custom"
}
- }
+ }
],
"globalStyle": {
- // "pageOrientation": "landscape",
- "navigationBarTextStyle": "white",
- "navigationBarTitleText": "uni-app",
- "navigationBarBackgroundColor": "#d7592f",
- "backgroundColor": "#ffffff"
+ "navigationBarTextStyle": "black",//导航栏标题颜色及状态栏前景颜色,仅支持 black/white
+ "navigationBarTitleText": "印尼海亮铜箔",//导航栏标题文字内容
+ "navigationBarBackgroundColor": "#ff6a00",//导航栏背景颜色(同状态栏背景色)
+ "backgroundColor": "#ffffff",//下拉显示出来的窗口的背景色
+ "onReachBottomDistance": 50//页面上拉触底事件触发时距页面底部距离,单位只支持px
},
"uniIdRouter": {}
}
diff --git a/pages/WarehouseManage/InStoreConfirm.vue b/pages/WarehouseManage/InStoreConfirm.vue
index 6608a68..a5eff09 100644
--- a/pages/WarehouseManage/InStoreConfirm.vue
+++ b/pages/WarehouseManage/InStoreConfirm.vue
@@ -9,7 +9,7 @@
-
+
diff --git a/pages/home/home.vue b/pages/home/home.vue
index 27c97a6..a51ffb6 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -1,21 +1,23 @@
-
-
-
-
- {{$store.getters.userName}}
- {{$t('home.message')}}
+
+
+
+
+
+ {{userName}}
+ {{$t('home.message')}}
+
+
+
+ {{$t('home.exit')}}
+
-
-
- {{$t('home.exit')}}
-
-
-
-