Browse Source

隐藏首页与抽奖页

DELL 3 years ago
parent
commit
8db36efa36
2 changed files with 20 additions and 20 deletions
  1. 13 12
      src/components/custom-tab-bar/custom-tab-bar.vue
  2. 7 8
      src/pages.json

+ 13 - 12
src/components/custom-tab-bar/custom-tab-bar.vue

@@ -49,24 +49,25 @@
 				}
 			},
 			tabList() {
-				this.list = [{
-						name: "index",
-						iconPath: "../../static/tabbar/index.png",
-						selectedIconPath: "../../static/tabbar/index_select.png",
-						text: "首页"
-					},
+				this.list = [
+					// {
+				// 		name: "index",
+				// 		iconPath: "../../static/tabbar/index.png",
+				// 		selectedIconPath: "../../static/tabbar/index_select.png",
+				// 		text: "首页"
+				// 	},
 					{
 						name: "core",
 						iconPath: "../../static/tabbar/core.png",
 						selectedIconPath: "../../static/tabbar/core_select.png",
 						text: "商城"
 					},
-					{
-						name: "activity",
-						iconPath: "../../static/tabbar/activity.png",
-						selectedIconPath: "../../static/tabbar/activity_select.png",
-						text: "抽奖"
-					},
+					// {
+					// 	name: "activity",
+					// 	iconPath: "../../static/tabbar/activity.png",
+					// 	selectedIconPath: "../../static/tabbar/activity_select.png",
+					// 	text: "抽奖"
+					// },
 					{
 						name: "user",
 						iconPath: "../../static/tabbar/user.png",

+ 7 - 8
src/pages.json

@@ -3,17 +3,17 @@
 		"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
 	},
 	"pages": [{
-			"path": "pages/index/index",
+			"path": "pages/core/index",
 			"style": {
-				"navigationBarTextStyle": "white"
+				"titlePenetrate": "YES"
 			}
+
 		},
 		{
-			"path": "pages/core/index",
+			"path": "pages/index/index",
 			"style": {
-				"titlePenetrate":"YES"
+				"navigationBarTextStyle": "white"
 			}
-			
 		},
 		{
 			"path": "pages/user/index",
@@ -42,8 +42,7 @@
 	],
 	"subPackages": [{
 			"root": "packageGoods",
-			"pages": [
-				{
+			"pages": [{
 					"path": "coupon/index"
 				},
 				{
@@ -79,7 +78,7 @@
 				{
 					"path": "recovery/detail"
 				}
-            ]
+			]
 		},
 		{
 			"root": "packagePrize",