常志远 2 years ago
parent
commit
b54d8aeb20
3 changed files with 19 additions and 5 deletions
  1. 6 0
      App.vue
  2. 12 4
      pages.json
  3. 1 1
      pages/index/index.vue

+ 6 - 0
App.vue

@@ -18,6 +18,7 @@
 	}
 </script>
 
+
 <style>
 	/*每个页面公共css */
 	html,body{
@@ -25,4 +26,9 @@
 		padding: 0;
 		font-family: 'PingFang Regular';
 	}
+	/* 导航栏返回文字 */
+	/deep/.u-back-text{
+		font-size: 36rpx !important;
+		margin-left: 16rpx;
+	}
 </style>

+ 12 - 4
pages.json

@@ -45,12 +45,20 @@
             }
             
         }
+        ,{
+            "path" : "pages/shareEmployment/shareEmployment",
+            "style" :                                                                                    
+            {
+				"navigationBarTitleText": "",
+              "enablePullDownRefresh": false
+            }
+            
+        }
     ],
 	"globalStyle": {
-		"navigationBarTextStyle": "black",
-		"navigationBarTitleText": "uni-app",
-		"navigationBarBackgroundColor": "#F8F8F8",
-		"backgroundColor": "#F8F8F8"
+		"navigationStyle": "custom", // 隐藏系统导航栏
+		"navigationBarTitleText": "荆开零工驿站",
+		"enablePullDownRefresh": false
 	},
 	"uniIdRouter": {}
 }

+ 1 - 1
pages/index/index.vue

@@ -1,6 +1,6 @@
 <template>
 	<view>
-		<u-navbar back-text="荆开零工驿站" :background="background" :back-text-style="backColor"></u-navbar>
+		<u-navbar back-text="荆开零工驿站"  :background="background" :back-text-style="backColor"></u-navbar>