From 817ebd8af46cbb19be31103600ad009437e1f12f Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期三, 10 七月 2024 09:41:00 +0800
Subject: [PATCH] feat(支付): 修改授权逻辑 进入页面判断本地是否有openid,没有的话跳转微信授权,有的话直接到支付页,使用
---
pages.json | 103 +++++++--------------------------------------------
1 files changed, 15 insertions(+), 88 deletions(-)
diff --git a/pages.json b/pages.json
index 9c049f4..aa8ca3e 100644
--- a/pages.json
+++ b/pages.json
@@ -2,8 +2,9 @@
"easycom": {
"^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
},
- "pages": [{
- "path": "pages/pay/scanpay",
+ "pages": [
+ {
+ "path": "pay/scanpay",
"style": {
"navigationBarTitleText": "鏀粯",
"enablePullDownRefresh": false
@@ -12,8 +13,9 @@
"navigationStyle": "custom"
// #endif
}
- }, {
- "path": "pages/pay/discountpay",
+ },
+ {
+ "path": "pay/discountpay",
"style": {
"navigationBarTitleText": "浼樻儬",
"enablePullDownRefresh": false
@@ -23,15 +25,9 @@
// #endif
}
- },{
- "path": "pages/pay/wxpay",
- "style": {
- // #ifdef H5
- "navigationStyle": "custom"
- // #endif
- }
- }, {
- "path": "pages/pay/register",
+ },
+ {
+ "path": "pay/register",
"style": {
"navigationBarTitleText": "娉ㄥ唽",
"enablePullDownRefresh": false
@@ -41,8 +37,9 @@
// #endif
}
- }, {
- "path": "pages/pay/paySuccess",
+ },
+ {
+ "path": "pay/paySuccess",
"style": {
"navigationBarTitleText": "鏀粯鎴愬姛",
"enablePullDownRefresh": false
@@ -52,81 +49,11 @@
// #endif
}
- }, {
- "path": "pages/pay/scanRes",
- "style": {
- "navigationStyle": "custom"
- }
- }, {
- "path": "pages/pay/login",
+ },
+ {
+ "path": "pay/login",
"style": {
"navigationBarTitleText": "鐧诲綍",
- "enablePullDownRefresh": false
- // #ifdef H5
- ,
- "navigationStyle": "custom"
- // #endif
- }
-
- }, {
- "path": "pages/pay/addCardFirst",
- "style": {
- "navigationBarTitleText": "娣诲姞閾惰鍗�",
- "enablePullDownRefresh": false
- // #ifdef H5
- ,
- "navigationStyle": "custom"
- // #endif
- }
-
- }, {
- "path": "pages/pay/addCardSecond",
- "style": {
- "navigationBarTitleText": "娣诲姞閾惰鍗�",
- "enablePullDownRefresh": false
- // #ifdef H5
- ,
- "navigationStyle": "custom"
- // #endif
- }
-
- }, {
- "path": "pages/pay/addCardCode",
- "style": {
- "navigationBarTitleText": "閾惰鍗¢獙璇佺爜",
- "enablePullDownRefresh": false
- // #ifdef H5
- ,
- "navigationStyle": "custom"
- // #endif
- }
-
- }, {
- "path": "pages/pay/bindCard/bindCard",
- "style": {
- "navigationBarTitleText": "缁戝畾閾惰鍗�",
- "enablePullDownRefresh": false
- // #ifdef H5
- ,
- "navigationStyle": "custom"
- // #endif
- }
-
- }, {
- "path": "pages/pay/shuaKa/shuaKa",
- "style": {
- "navigationBarTitleText": "鍒峰崱娲诲姩",
- "enablePullDownRefresh": false
- // #ifdef H5
- ,
- "navigationStyle": "custom"
- // #endif
- }
-
- }, {
- "path": "pages/pay/shuaKa/introduce",
- "style": {
- "navigationBarTitleText": "娲诲姩璇︽儏",
"enablePullDownRefresh": false
// #ifdef H5
,
--
Gitblit v1.9.1