From af4abe71d61b31b58a4eb5f3e38731f3c1181b15 Mon Sep 17 00:00:00 2001
From: sundongyu <2811054731@qq.com>
Date: Fri, 19 Apr 2024 17:54:54 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 147 +++++++++++++++--------------
pages/index/compontents/scheme.vue | 13 ++-
2 files changed, 89 insertions(+), 71 deletions(-)
diff --git a/pages.json b/pages.json
index 6d9e379..0f7f7bf 100644
--- a/pages.json
+++ b/pages.json
@@ -28,55 +28,55 @@
"navigationStyle": "custom"
}
},
- {
- "path": "pages/user/index",
- "style": {
- "navigationBarTitleText": "我的",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/user/compontents/attention",
- "style": {
- "navigationBarTitleText": "关注列表",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/user/compontents/recharge",
- "style": {
- "navigationBarTitleText": "充值",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/user/compontents/discount",
- "style": {
- "navigationBarTitleText": "打折活动",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/user/compontents/purchasedPlan",
- "style": {
- "navigationBarTitleText": "已购方案",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/user/compontents/integralShop",
- "style": {
- "navigationBarTitleText": "积分商城",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/user/compontents/VIPMember",
- "style": {
- "navigationBarTitleText": "VIP",
- "navigationStyle": "custom"
- }
- },
+ {
+ "path": "pages/user/index",
+ "style": {
+ "navigationBarTitleText": "我的",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/user/compontents/attention",
+ "style": {
+ "navigationBarTitleText": "关注列表",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/user/compontents/recharge",
+ "style": {
+ "navigationBarTitleText": "充值",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/user/compontents/discount",
+ "style": {
+ "navigationBarTitleText": "打折活动",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/user/compontents/purchasedPlan",
+ "style": {
+ "navigationBarTitleText": "已购方案",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/user/compontents/integralShop",
+ "style": {
+ "navigationBarTitleText": "积分商城",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/user/compontents/VIPMember",
+ "style": {
+ "navigationBarTitleText": "VIP",
+ "navigationStyle": "custom"
+ }
+ },
{
"path": "pages/index/compontents/bigMaster",
"style": {
@@ -91,27 +91,34 @@
"navigationStyle": "custom"
}
},
- {
- "path": "pages/login/index",
- "style": {
- "navigationBarTitleText": "登录",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/index/compontents/billingPage",
- "style": {
- "navigationBarTitleText": "结算页面",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/index/compontents/integralGuess",
- "style": {
- "navigationBarTitleText": "积分竞猜",
- "navigationStyle": "custom"
- }
- }
+ {
+ "path": "pages/login/index",
+ "style": {
+ "navigationBarTitleText": "登录",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/index/compontents/billingPage",
+ "style": {
+ "navigationBarTitleText": "结算页面",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/index/compontents/integralGuess",
+ "style": {
+ "navigationBarTitleText": "积分竞猜",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/index/compontents/scheme",
+ "style": {
+ "navigationBarTitleText": "积分竞猜",
+ "navigationStyle": "custom"
+ }
+ }
],
"globalStyle": {
"navigationBarTextStyle": "black",
diff --git a/pages/index/compontents/scheme.vue b/pages/index/compontents/scheme.vue
index 9e29cf6..3513138 100644
--- a/pages/index/compontents/scheme.vue
+++ b/pages/index/compontents/scheme.vue
@@ -99,7 +99,12 @@
-
+
@@ -151,6 +156,12 @@
const cancel = () => {
onswitch.value = !onswitch.value
}
+ const purchase = () => {
+ uni.navigateTo({
+ url: '/pages/index/compontents/billingPage',
+ animationDuration: '300',
+ })
+ }