许成详 6 yıl önce
ebeveyn
işleme
5df413e887

+ 1
- 1
app.json Dosyayı Görüntüle

@@ -17,7 +17,7 @@
17 17
   "window":{
18 18
     "backgroundTextStyle":"light",
19 19
     "navigationBarBackgroundColor": "#bb9c79",
20
-    "navigationBarTitleText": "银城地产 - 江北公司",
20
+    "navigationBarTitleText": "",
21 21
     "navigationBarTextStyle":"white"
22 22
   }
23 23
 }

+ 1
- 1
pages/UserCenter/UserInfo/index.js Dosyayı Görüntüle

@@ -3,7 +3,7 @@
3 3
 const app = getApp()
4 4
 
5 5
 Page({
6
-  onShow() {
6
+  onReady() {
7 7
     wx.setNavigationBarTitle({
8 8
       title: '个人资料'
9 9
     })

+ 5
- 1
pages/components/SubIndex/index.js Dosyayı Görüntüle

@@ -38,7 +38,11 @@ Component({
38 38
     }]
39 39
   },
40 40
   lifetimes: {},
41
-  ready: function() {},
41
+  ready: function() {
42
+    wx.setNavigationBarTitle({
43
+      title: '银城地产·江北公司'
44
+    })
45
+  },
42 46
   pageLifetimes: {
43 47
     show: function() {},
44 48
   },

+ 2
- 2
pages/index/index.js Dosyayı Görüntüle

@@ -27,11 +27,11 @@ Page({
27 27
   DealNavCut(index) {
28 28
     if (index === 0) {
29 29
       wx.setNavigationBarTitle({
30
-        title: '银城地产 - 江北公司'
30
+        title: '银城地产·江北公司'
31 31
       })
32 32
     } else if (index === 1) {
33 33
       wx.setNavigationBarTitle({
34
-        title: '银城地产 - 江北公司'
34
+        title: '银城地产·江北公司'
35 35
       })
36 36
     } else if (index === 2) {
37 37
       wx.setNavigationBarTitle({