diff --git a/src/api/invitation.js b/src/api/invitation.js
index a253cac..31f783f 100644
--- a/src/api/invitation.js
+++ b/src/api/invitation.js
@@ -60,13 +60,13 @@ export const getMyInviteUsers = async () => {
}
}
-// 邀请用户奖励池
-export const getInviteAwardPool = async () => {
+// 获取绑定用户奖励
+export const apiGetBindingUserRewards = async (data) => {
try {
- const response = await get(`/activity/invite/user/award/pool`)
+ const response = await post(`/props-activity/reward/client/map/config-info`, data)
return response
} catch (error) {
- console.error('Failed to fetch get my invite award pool:', error)
+ console.error('Failed to fetch get binding user rewards:', error)
console.error('error:' + error.response.errorMsg)
throw error
}
diff --git a/src/main.js b/src/main.js
index 0086a96..e2935d8 100644
--- a/src/main.js
+++ b/src/main.js
@@ -43,7 +43,6 @@ const RankingPage = [
// 活动页面
const ACTIVITIES = [
- '/invitation-to-register', //邀请新用户(邀请码)
'/recharge-reward', //充值奖励页面
'/Lebanon-independence-day', //黎巴嫩独立日
diff --git a/src/views/Invitation/InviteToRegister.vue b/src/views/Invitation/InviteToRegister.vue
index 6fb0709..c4fe3f2 100644
--- a/src/views/Invitation/InviteToRegister.vue
+++ b/src/views/Invitation/InviteToRegister.vue
@@ -11,11 +11,11 @@
-
+
-
-
- *Copy your invitation code and send it to your new friends.
-
-
+
-
+
-
-
-
![]()
-
+
+
+
+
Total invitations:
+
{{ myInviteIncome.validInviteCount || 0 }}
+
+
+
+
+
Today's invitation:
+
{{ myInviteIncome.todayInviteCount || 0 }}
+
+
+
+
+
Total income:
+

{{ myInviteIncome.totalIncome || 0 }}
-
-
![]()
-
+
+
+
+
Today's income:
+

{{ myInviteIncome.todayIncome || 0 }}
-
-
-
-
-
-
- Number of valid users invited: {{ myInviteIncome.validInviteCount || 0 }}
-
-
+
-
-
-
-
Users
-
-
- Prowide income
-
-
-
-
-
-
- ID:{{ user.invitedUserAccount || '-' }}
-
-
-
-
{{ user.remainingDays || 0 }}Day
-
-
-
-

-
- {{ user.provideIncome || 0 }}
-
-
-
-
-
-
-
-
-
-
-
+
+
+
Users
-
+
Remaining time
+
+
+
+ Prowide income
+
+
+
+
+
+
+
+ ID:{{ user.invitedUserAccount || '-' }}
+
+
-
![]()
-
{{ showAwardText(award) }}
+
+
+ {{ user.remainingDays || 0 }}Day
+
+
+
+
+

+
+ {{ user.provideIncome || 0 }}
+
-
-
![]()
-
![]()
-
-
+
+
+
+
+
+
@@ -380,11 +336,13 @@
-
![]()
-
+
@@ -394,53 +352,95 @@
width: 100vw;
height: 100vh;
display: flex;
+ flex-direction: column;
justify-content: center;
align-items: center;
"
@click="closedPopup"
>
-
-
Enter Invitation Code
-
-
-
-
+
+
+
+
+
+ min-width: 0;
+ aspect-ratio: 1/1;
-
-
![]()
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ "
+ >
+
![]()
handleImageError(e, reward.type)"
+ />
+
+
+ {{ showDetail(reward) }}
+
+
-
- *Only users who registered within 72 hours can fill in the invitation code. Once the
- invitation code is flled in, itcannot be modifed.
-
-
+
@@ -459,27 +459,42 @@