Browse Source

2023.11.10

zyx 1 year ago
parent
commit
b76ef503fd
3 changed files with 250 additions and 217 deletions
  1. 249 207
      pages.json
  2. 1 2
      pages/index/index.vue
  3. 0 8
      pages/user/about.vue

+ 249 - 207
pages.json

@@ -28,128 +28,27 @@
 			}
 		},
 		{
-			"path": "pages/index/downLoad",
+			"path": "pages/order/order",
 			"style": {
-				"navigationBarTitleText": "下载",
+				"navigationBarTitleText": "我的订单",
 				"app-plus": {
 					"titleNView": false
 				}
 			}
 		},
 		{
-			"path": "pages/product/seckill",
-			"style": {
-				"navigationBarTitleText": "限时秒杀"
-			}
-		},
-		{
-			"path": "pages/public/register",
-			"style": {
-				"navigationBarTitleText": "注册",
-				"app-plus": {
-					"titleNView": {
-						"type": "transparent"
-					}
-				}
-			}
-		}, {
-			"path": "pages/public/login",
-			"style": {
-				"navigationBarTitleText": "登录",
-				"app-plus": {
-					"titleNView": {
-						"type": "transparent"
-					}
-				}
-			}
-		},
-		{
-			"path": "pages/money/moneyPwd",
-			"style": {
-				"navigationBarTitleText": "交易密码",
-				"navigationBarBackgroundColor": "#FFFFFF",
-				"navigationBarTextStyle": "black"
-			}
-		},
-		{
-			"path": "pages/collection/collection",
-			"style": {
-				"navigationBarTitleText": "支付方式管理"
-			}
-		},
-		{
-			"path": "pages/collection/bank",
-			"style": {
-				"navigationBarTitleText": "添加银行卡"
-			}
-		},
-		{
-			"path": "pages/collection/zfb",
-			"style": {
-				"navigationBarTitleText": "添加支付宝"
-			}
-		},
-
-		{
-			"path": "pages/collection/wx",
-			"style": {
-				"navigationBarTitleText": "添加微信"
-			}
-		},
-		{
-			"path": "pages/money/success",
-			"style": {
-				"navigationBarTitleText": "提交成功"
-			}
-		},
-		{
-			"path": "pages/public/wxLogin",
-			"style": {
-				"navigationBarTitleText": "微信登录",
-				"app-plus": {
-					"titleNView": {
-						"type": "transparent"
-					}
-				}
-			}
-		},
-		{
-			"path": "pages/user/mygs",
+			"path": "pages/user/user",
 			"style": {
-				"navigationBarTitleText": "我的收益",
+				"navigationBarTitleText": "个人中心",
 				"app-plus": {
 					"titleNView": false
 				}
 			}
 		},
 		{
-			"path": "pages/public/forget",
-			"style": {
-				"navigationBarTitleText": "忘记密码",
-				"app-plus": {
-					"titleNView": {
-						"type": "transparent"
-					}
-				}
-			}
-		},
-		{
-			"path": "pages/hall/gsell",
-			"style": {
-				"navigationBarTitleText": "挂售"
-			}
-		},
-		
-		{
-			"path": "pages/index/message",
-			"style": {
-				"navigationBarTitleText": "官方公告"
-			}
-		},
-		{
-			"path": "pages/index/artDetail",
+			"path": "pages/product/seckill",
 			"style": {
-				"navigationBarTitleText": "详情"
+				"navigationBarTitleText": "限时秒杀"
 			}
 		},
 		{
@@ -160,113 +59,256 @@
 					"bounce": "none"
 				}
 			}
-		},
-		{
-			"path": "pages/index/messageInfo",
-			"style": {
-				"navigationBarTitleText": "公告详情"
-			}
-		},
-		{
-			"path": "pages/set/set",
-			"style": {
-				"navigationBarTitleText": "设置"
-			}
-		},
-		{
-			"path": "pages/set/password",
-			"style": {
-				"navigationBarTitleText": "修改密码"
-			}
-		},
-		{
-			"path": "pages/set/userinfo",
-			"style": {
-				"navigationBarTitleText": "修改资料"
-			}
-		},
-		{
-			"path": "pages/user/user",
-			"style": {
-				"navigationBarTitleText": "个人中心",
-				"app-plus": {
-					"titleNView": false
-				}
-			}
-		},
-		{
-			"path": "pages/user/award",
-			"style": {
-				"navigationBarTitleText": "奖励明细",
-				"app-plus": {
-					"titleNView": {
-						"type": "transparent"
-					}
+		}
+	],
+	// 模块分包
+	"subPackages": [{
+		"root": "pages/collection",
+		"name": "collection",
+		"pages": [
+			{
+				"path": "collection",
+				"style": {
+					"navigationBarTitleText": "支付方式管理"
 				}
-			}
-		},
-		{
-			"path": "pages/user/myfans",
-			"style": {
-				"navigationBarTitleText": "我的粉丝"
-			}
-		},
-		{
-			"path": "pages/order/order",
-			"style": {
-				"navigationBarTitleText": "我的订单",
-				"app-plus": {
-					"titleNView": false
+			},
+			{
+				"path": "bank",
+				"style": {
+					"navigationBarTitleText": "添加银行卡"
 				}
-			}
-		},
-		{
-			"path": "pages/hall/hallpay",
-			"style": {
-				"navigationBarTitleText": "支付"
-			}
-		},
-		{
-			"path": "pages/money/withdrawal",
-			"style": {
-				"navigationBarTitleText": "提现"
-			}
-		},
-		{
-			"path": "pages/money/recharge",
-			"style": {
-				"navigationBarTitleText": "充值"
-			}
-		},
-		{
-			"path": "pages/hall/hall",
-			"style": {
-				"navigationBarTitleText": "会馆",
-				"app-plus": {
-					"titleNView": false
+			},
+			{
+				"path": "zfb",
+				"style": {
+					"navigationBarTitleText": "添加支付宝"
 				}
-			}
-		},
-		
-		{
-			"path": "pages/user/shareQrCode",
-			"style": {
-				"navigationBarTitleText": "邀请好友"
-			}
-		},
-		{
-			"path": "pages/money/qudou",
-			"style": {
-				"navigationBarTitleText": "我的积分",
-				"enablePullDownRefresh": false,
-				"app-plus": {
-					"titleNView": false
+			},
+			{
+				"path": "wx",
+				"style": {
+					"navigationBarTitleText": "添加微信"
 				}
 			}
-
-		}
+		]
+	   },
+	   {
+		   "root": "pages/hall",
+		   "name": "hall",
+		   "pages": [
+			   {
+			   	"path": "gsell",
+			   	"style": {
+			   		"navigationBarTitleText": "挂售"
+			   	}
+			   },
+			   {
+			   	"path": "hallpay",
+			   	"style": {
+			   		"navigationBarTitleText": "支付"
+			   	}
+			   },
+			   {
+			   	"path": "hall",
+			   	"style": {
+			   		"navigationBarTitleText": "会馆",
+			   		"app-plus": {
+			   			"titleNView": false
+			   		}
+			   	}
+			   }
+		   ]
+	   },
+	   {
+		   "root": "pages/index",
+		   "name": "index",
+		   "pages": [
+			   {
+			   	"path": "downLoad",
+			   	"style": {
+			   		"navigationBarTitleText": "下载",
+			   		"app-plus": {
+			   			"titleNView": false
+			   		}
+			   	}
+			   },
+			   {
+			   	"path": "message",
+			   	"style": {
+			   		"navigationBarTitleText": "官方公告"
+			   	}
+			   },
+			   {
+			   	"path": "artDetail",
+			   	"style": {
+			   		"navigationBarTitleText": "详情"
+			   	}
+			   },
+			   {
+			   	"path": "messageInfo",
+			   	"style": {
+			   		"navigationBarTitleText": "公告详情"
+			   	}
+			   }
+		   ]
+	   },
+	   {
+		   "root": "pages/money",
+		   "name": "money",
+		   "pages": [
+			   {
+			   	"path": "qudou",
+			   	"style": {
+			   		"navigationBarTitleText": "我的积分",
+			   		"enablePullDownRefresh": false,
+			   		"app-plus": {
+			   			"titleNView": false
+			   		}
+			   	}
+			   },
+			   {
+			   	"path": "moneyPwd",
+			   	"style": {
+			   		"navigationBarTitleText": "交易密码",
+			   		"navigationBarBackgroundColor": "#FFFFFF",
+			   		"navigationBarTextStyle": "black"
+			   	}
+			   },
+			   {
+			   	"path": "withdrawal",
+			   	"style": {
+			   		"navigationBarTitleText": "提现"
+			   	}
+			   },
+			   {
+			   	"path": "recharge",
+			   	"style": {
+			   		"navigationBarTitleText": "充值"
+			   	}
+			   },
+			   {
+			   	"path": "success",
+			   	"style": {
+			   		"navigationBarTitleText": "提交成功"
+			   	}
+			   }
+		   ]
+	   },
+	   {
+		   "root": "pages/user",
+		   "name": "user",
+		   "pages": [
+			   {
+			   	"path": "mygs",
+			   	"style": {
+			   		"navigationBarTitleText": "我的收益",
+			   		"app-plus": {
+			   			"titleNView": false
+			   		}
+			   	}
+			   },
+			   {
+			   	"path": "award",
+			   	"style": {
+			   		"navigationBarTitleText": "奖励明细",
+			   		"app-plus": {
+			   			"titleNView": {
+			   				"type": "transparent"
+			   			}
+			   		}
+			   	}
+			   },
+			   {
+			   	"path": "myfans",
+			   	"style": {
+			   		"navigationBarTitleText": "我的粉丝"
+			   	}
+			   },
+			   {
+			   	"path": "shareQrCode",
+			   	"style": {
+			   		"navigationBarTitleText": "邀请好友"
+			   	}
+			   }
+		   ]
+	   },
+	   {
+		   "root": "pages/set",
+		   "name": "set",
+		   "pages": [
+			   {
+			   	"path": "set",
+			   	"style": {
+			   		"navigationBarTitleText": "设置"
+			   	}
+			   },
+			   {
+			   	"path": "password",
+			   	"style": {
+			   		"navigationBarTitleText": "修改密码"
+			   	}
+			   },
+			   {
+			   	"path": "userinfo",
+			   	"style": {
+			   		"navigationBarTitleText": "修改资料"
+			   	}
+			   }
+		   ]
+	   },
+	   {
+		   "root": "pages/public",
+		   "name": "public",
+		   "pages": [
+			   {
+			   	"path": "forget",
+			   	"style": {
+			   		"navigationBarTitleText": "忘记密码",
+			   		"app-plus": {
+			   			"titleNView": {
+			   				"type": "transparent"
+			   			}
+			   		}
+			   	}
+			   },
+			   {
+			   	"path": "wxLogin",
+			   	"style": {
+			   		"navigationBarTitleText": "微信登录",
+			   		"app-plus": {
+			   			"titleNView": {
+			   				"type": "transparent"
+			   			}
+			   		}
+			   	}
+			   },
+			   {
+			   	"path": "login",
+			   	"style": {
+			   		"navigationBarTitleText": "登录",
+			   		"app-plus": {
+			   			"titleNView": {
+			   				"type": "transparent"
+			   			}
+			   		}
+			   	}
+			   },
+			   {
+			   	"path": "register",
+			   	"style": {
+			   		"navigationBarTitleText": "注册",
+			   		"app-plus": {
+			   			"titleNView": {
+			   				"type": "transparent"
+			   			}
+			   		}
+			   	}
+			   }
+		   ]
+	   }
 	],
 
+ 
 	"globalStyle": {
 		"navigationBarTextStyle": "black",
 		"navigationBarTitleText": "uni-app",

+ 1 - 2
pages/index/index.vue

@@ -30,7 +30,7 @@
 					<view class="ic-wen">超值正品优惠</view>
 				</view>
 			</view>
-			<view class="zhishi  flex">
+			<view class="zhishi flex">
 				<navigator url="/pages/index/artDetail?id=5">
 					<view class="zhishi-item">
 						<image class="zhishi-ic" src="../../static/icon/shou-tro.png" mode=""></image>
@@ -304,7 +304,6 @@
 				width: 698rpx;
 				height: 60rpx;
 				background: rgba(255, 240, 245, 0.4);
-				// box-shadow: 0px 10rpx 20rpx 0px rgba(4, 114, 69, 0.22);
 				border-radius: 30rpx;
 				background-color: #EEEEEE;
 

+ 0 - 8
pages/user/about.vue

@@ -1,8 +0,0 @@
-<template>
-</template>
-
-<script>
-</script>
-
-<style>
-</style>