From 79d6b10d2f60936bf03ce5baae9db7b2b3647e90 Mon Sep 17 00:00:00 2001
From: huliyong <2783385703@qq.com>
Date: Mon, 28 Apr 2025 00:07:57 +0800
Subject: [PATCH] =?UTF-8?q?feat(=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83):=20?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=82=80=E8=AF=B7=E7=BB=91=E5=AE=9A=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E5=8F=8A=E5=AF=BC=E8=88=AA=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
添加了邀请绑定页面,并在个人中心页面中增加了对应的导航入口。用户可以通过输入邀请码进行绑定操作。
---
pages.json | 9 ++
pages/personalCenter/index.vue | 11 ++
pages_order/mine/InvitationCode.vue | 197 ++++++++++++++++++++++++++++++++++++
3 files changed, 217 insertions(+)
create mode 100644 pages_order/mine/InvitationCode.vue
diff --git a/pages.json b/pages.json
index 432d6e4..ad0f776 100644
--- a/pages.json
+++ b/pages.json
@@ -402,6 +402,15 @@
"enablePullDownRefresh": false,
"navigationBarTextStyle": "white"
}
+ },
+ {
+ "path": "mine/InvitationCode",
+ "style": {
+ "navigationBarTitleText": "邀请绑定",
+ "navigationBarBackgroundColor": "#FFBF60",
+ "enablePullDownRefresh": false,
+ "navigationBarTextStyle": "white"
+ }
}
]
}
diff --git a/pages/personalCenter/index.vue b/pages/personalCenter/index.vue
index 9b4f560..d2a7c0b 100644
--- a/pages/personalCenter/index.vue
+++ b/pages/personalCenter/index.vue
@@ -229,6 +229,11 @@
label: '任务中心',
path:'taskList'
},
+ {
+ icon:'https://catmdogf.oss-cn-shanghai.aliyuncs.com/CMDF/front/personal/index/lock.png',
+ label: '邀请绑定',
+ path:'InvitationCode'
+ },
]
}
@@ -457,6 +462,12 @@
});
break;
}
+ case 'InvitationCode':{
+ uni.navigateTo({
+ url: `/pages_order/mine/InvitationCode`
+ });
+ break;
+ }
case 'userInfo':{
uni.navigateTo({
url: `/pages/personalCenter/userInfo`
diff --git a/pages_order/mine/InvitationCode.vue b/pages_order/mine/InvitationCode.vue
new file mode 100644
index 0000000..98ee8da
--- /dev/null
+++ b/pages_order/mine/InvitationCode.vue
@@ -0,0 +1,197 @@
+
+
+
+
+
+ 邀请人有且只有一位,添加后不可更改
+
+
+
+ 立即领取
+
+
+
+
+
+
+
+
+
+
+
+
+