ccjgmwz 4 年之前
父节点
当前提交
b226bdb3e3
共有 2 个文件被更改,包括 9 次插入1 次删除
  1. 8 1
      unimall-app/pages.json
  2. 1 0
      unimall-app/pages/home/home.vue

+ 8 - 1
unimall-app/pages.json

@@ -28,7 +28,14 @@
 					"iconPath":"static/img/liangxin.png",
 					"selectedIconPath":"static/img/liangxin.png",
 					"text": "粮信",
-					"midButton":true
+					"midButton":true,
+					"app-plus":{
+	                    "titleNView":{
+	                       "backButton": { //自定义 backButton
+								"background": "#00FF00"
+							}
+	                    }
+	                }
 				},
 				{
 					"pagePath": "pages/tran/tran",

+ 1 - 0
unimall-app/pages/home/home.vue

@@ -215,6 +215,7 @@ export default {
 			...mapState(['hasLogin', 'userInfo'])
 	},
 	onShow() {
+		uni.hideTabBar()
 		this.userInfo =  uni.getStorageSync("userInfo")
 		console.log(this.userData.user.realname,this.userInfo.nickname)
 		// if(this.userData.user.realname == this.userInfo.nickname){