liujd 6 лет назад
Родитель
Сommit
6f08cccfe7

+ 9 - 9
mobile-code/src/pages.json

@@ -7,37 +7,37 @@
 			}
 		},
 		{
-			"path": "pages/category/index",
+			"path": "pages/home/category",
 			"style": {
 				"navigationBarTitleText": "分类"
 			}
 		},
 		{
-			"path": "pages/shop/index",
+			"path": "pages/home/shop",
 			"style": {
 				"navigationBarTitleText": "门店"
 			}
 		},
 		{
-			"path": "pages/user/index",
+			"path": "pages/home/user",
 			"style": {
 				"navigationBarTitleText": "我的"
 			}
 		},
 		{
-			"path": "pages/page/redirect",
+			"path": "pages/home/redirect",
 			"style": {
 				"navigationBarTitleText": "加载中..."
 			}
 		},
 		{
-			"path": "pages/page/login/index",
+			"path": "pages/home/login/index",
 			"style": {
 				"navigationBarTitleText": "登录"
 			}
 		},
 		{
-			"path": "pages/page/webview/index",
+			"path": "pages/home/webview/index",
 			"style": {
 				"navigationBarBackgroundColor": "#ffffff",
 				"navigationBarTextStyle": "black"
@@ -169,19 +169,19 @@
 				"text": "首页"
 			},
 			{
-				"pagePath": "pages/category/index",
+				"pagePath": "pages/home/category",
 				"iconPath": "static/images/common/category-no.png",
 				"selectedIconPath": "static/images/common/category-is.png",
 				"text": "分类"
 			},
 			{
-				"pagePath": "pages/shop/index",
+				"pagePath": "pages/home/shop",
 				"iconPath": "static/images/common/shop-no.png",
 				"selectedIconPath": "static/images/common/shop-is.png",
 				"text": "门店"
 			},
 			{
-				"pagePath": "pages/user/index",
+				"pagePath": "pages/home/user",
 				"iconPath": "static/images/common/user-no.png",
 				"selectedIconPath": "static/images/common/user-is.png",
 				"text": "我的"

+ 0 - 0
mobile-code/src/pages/category/index.vue → mobile-code/src/pages/home/category.vue


+ 0 - 1
mobile-code/src/pages/home/index.vue

@@ -3,7 +3,6 @@
 		<button @click="toPay">去支付页</button>
 		<button @click="$util.pageTo('/pages/callback/index')">支付回调</button>
 		<button @click="$util.pageTo('/pages/user/register')">注册</button>
-		<button @click="$util.pageTo('/pages/user/password')">修改密码</button>
 		<!-- <app-footer /> -->
 		<app-activily-coupon :show="false" />
 	</div>

+ 0 - 0
mobile-code/src/pages/page/login/index.vue → mobile-code/src/pages/home/login/index.vue


+ 0 - 0
mobile-code/src/pages/page/redirect.vue → mobile-code/src/pages/home/redirect.vue


+ 0 - 0
mobile-code/src/pages/shop/index.vue → mobile-code/src/pages/home/shop.vue


+ 0 - 0
mobile-code/src/pages/user/index.vue → mobile-code/src/pages/home/user.vue


+ 0 - 0
mobile-code/src/pages/page/webview/index.vue → mobile-code/src/pages/home/webview/index.vue


+ 176 - 0
mobile-code/src/pages111.json

@@ -0,0 +1,176 @@
+{
+	"pages": [
+		{
+			"path": "pages/page/redirect",
+			"style": {
+				"navigationBarTitleText": "加载中..."
+			}
+		},
+		{
+			"path": "pages/page/login/index",
+			"style": {
+				"navigationBarTitleText": "登录"
+			}
+		},
+		{
+			"path": "pages/page/webview/index",
+			"style": {
+				"navigationBarBackgroundColor": "#ffffff",
+				"navigationBarTextStyle": "black"
+			}
+		}
+	],
+	"subPackages": [
+		{
+			"root": "pages/home",
+			"pages": [
+				{
+					"path": "index",
+					"style": {
+						"navigationBarTitleText": "首页"
+					}
+				}
+			]
+		},
+		{
+			"root": "pages/shop",
+			"pages": [
+				{
+					"path": "index",
+					"style": {
+						"navigationBarTitleText": "首页"
+					}
+				}
+			]
+		},
+		{
+			"root": "pages/category",
+			"pages": [
+				{
+					"path": "index",
+					"style": {
+						"navigationBarTitleText": "首页"
+					}
+				}
+			]
+		},
+		{
+			"root": "pages/user",
+			"pages": [
+				{
+					"path": "index",
+					"style": {
+						"navigationBarTitleText": "注册"
+					}
+				},
+				{
+					"path": "register",
+					"style": {
+						"navigationBarTitleText": "注册"
+					}
+				},
+				{
+					"path": "password",
+					"style": {
+						"navigationBarTitleText": "修改密码"
+					}
+				}
+			]
+		},
+		{
+			"root": "pages/goods",
+			"pages": [
+				{
+					"path": "detail",
+					"style": {
+						"navigationBarTitleText": "详情"
+					}
+				}
+			]
+		},
+		{
+			"root": "pages/pay",
+			"pages": [
+				{
+					"path": "index",
+					"style": {
+						"navigationBarTitleText": "支付"
+					}
+				}
+			]
+		},
+		{
+			"root": "pages/callback",
+			"pages": [
+				{
+					"path": "index"
+				}
+			]
+		},
+		{
+			"root": "pages/coupon",
+			"pages": [
+				{
+					"path": "list",
+					"style": {
+						"navigationBarTitleText": "优惠券",
+						"enablePullDownRefresh": true
+					}
+				}
+			]
+		},
+		{
+			"root": "pages/order",
+			"pages": [
+				{
+					"path": "list",
+					"style": {
+						"navigationBarTitleText": "订单列表",
+						"enablePullDownRefresh": true
+					}
+				},
+				{
+					"path": "detail",
+					"style": {
+						"navigationBarTitleText": "订单列表",
+						"enablePullDownRefresh": true
+					}
+				},
+				{
+					"path": "buy",
+					"style": {
+						"navigationBarTitleText": "订单确认"
+					}
+				}
+			]
+		},
+		{
+			"root": "pages/interest",
+			"pages": [
+				{
+					"path": "invite",
+					"style": {
+						"navigationBarTitleText": "邀请排行",
+						"enablePullDownRefresh": true
+					}
+				},
+				{
+					"path": "level",
+					"style": {
+						"navigationBarTitleText": "会员等级",
+						"enablePullDownRefresh": true
+					}
+				}
+			]
+		}
+	],
+	"globalStyle": {
+		// #ifdef H5
+		"navigationStyle": "custom",
+		// #endif
+		"navigationBarBackgroundColor": "#fff",
+		"navigationBarTitleText": "花卉宝",
+		"navigationBarTextStyle": "black"
+	}
+}
+