From b0ceecaa861a5748182824cf937fb103c9bbdc8a Mon Sep 17 00:00:00 2001
From: liuyg <liuyg@qq.com>
Date: Fri, 18 Mar 2022 09:07:49 +0800
Subject: [PATCH] +压窗屏
---
pages.json | 50 +++++++++++++++++++++++++++++---------------------
1 files changed, 29 insertions(+), 21 deletions(-)
diff --git a/pages.json b/pages.json
index 6ccb911..c5f2ab5 100644
--- a/pages.json
+++ b/pages.json
@@ -656,28 +656,36 @@
"enablePullDownRefresh": false
}
+ }, {
+ "path": "pages/grabOrders/taskCount/taskCount",
+ "style": {
+ "navigationBarTitleText": "查任务",
+ "navigationBarBackgroundColor": "#103289",
+ "navigationBarTextStyle": "white"
+ }
+
+ }, {
+ "path": "pages/grabOrders/personnelCount/personnelCount",
+ "style": {
+ "navigationBarTitleText": "人员统计",
+ "navigationBarBackgroundColor": "#103289",
+ "navigationBarTextStyle": "white"
+ }
+
+ },
+ {//压窗屏--就是一个普通的页面,去掉头尾和去掉左滑返回的透明页面
+ "path": "uview-ui/components/u-full-screen/u-full-screen",
+ "style": {
+ "navigationStyle": "custom", // 取消本页面的导航栏
+ "app-plus": {
+ "animationType": "fade-in", // 设置fade-in淡入动画,为最合理的动画类型
+ "background": "transparent", // 背景透明
+ "backgroundColor": "rgba(0,0,0,0)", // 背景透明
+ "popGesture": "none" // 关闭IOS屏幕左边滑动关闭当前页面的功能
+ }
+ }
}
- ,{
- "path" : "pages/grabOrders/taskCount/taskCount",
- "style" :
- {
- "navigationBarTitleText": "查任务",
- "navigationBarBackgroundColor": "#103289",
- "navigationBarTextStyle": "white"
- }
-
- }
- ,{
- "path" : "pages/grabOrders/personnelCount/personnelCount",
- "style" :
- {
- "navigationBarTitleText": "人员统计",
- "navigationBarBackgroundColor": "#103289",
- "navigationBarTextStyle": "white"
- }
-
- }
- ],
+ ],
"globalStyle": { //将组件安装在项目的components目录下,并符合components/组件名称/组件名称.vue目录结构。可以不用引用、注册,直接在页面中使用。
"autoscan": true
},
--
Gitblit v1.9.3