diff --git a/src/config/security.js b/src/config/security.js index 9296e93..d65ce48 100644 --- a/src/config/security.js +++ b/src/config/security.js @@ -12,6 +12,7 @@ export const PUBLIC_PATHS = Object.freeze([ '/ranking', '/games-king', '/couple', + '/cp-reward', '/invitation-to-register', '/invitation/invite-new-user', '/recharge-reward', diff --git a/src/locales/ar.json b/src/locales/ar.json index 3f0b172..0978826 100644 --- a/src/locales/ar.json +++ b/src/locales/ar.json @@ -30,6 +30,7 @@ "current_salary": "الراتب الحالي:", "todays_task": "مهمة اليوم:", "platform_policy": "سياسة المنصة", + "cp_reward": "مكافأة CP", "num_teams": "عدد الفريق:", "team_top_up": "الفريق قيمة", "bd_income_top_up": "BD دخل (شحن)", diff --git a/src/locales/bn.json b/src/locales/bn.json index 7de0806..33ddb57 100644 --- a/src/locales/bn.json +++ b/src/locales/bn.json @@ -30,6 +30,7 @@ "current_salary": "বর্তমান বেতন:", "todays_task": "আজকের কাজ:", "platform_policy": "প্ল্যাটফর্ম নীতি", + "cp_reward": "CP পুরস্কার", "num_teams": "দলের সংখ্যা:", "team_top_up": "দল টপ-আপ", "bd_income_top_up": "বিডি আয় (টপ-আপ)", diff --git a/src/locales/en.json b/src/locales/en.json index 19034cd..061505f 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -30,6 +30,7 @@ "current_salary": "Current salary:", "todays_task": "Today's task:", "platform_policy": "Platform Policy", + "cp_reward": "CP reward", "num_teams": "Number Of Teams:", "team_top_up": "Team top-up", "bd_income_top_up": "BD Income (Top-up)", diff --git a/src/locales/tr.json b/src/locales/tr.json index 46d4f84..3d7b449 100644 --- a/src/locales/tr.json +++ b/src/locales/tr.json @@ -30,6 +30,7 @@ "current_salary": "Mevcut maaş:", "todays_task": "Bugünün görevi:", "platform_policy": "Platform Politikası", + "cp_reward": "CP ödülü", "num_teams": "Takım Sayısı:", "team_top_up": "Takım yükleme", "bd_income_top_up": "BD Geliri (Yükleme)", diff --git a/src/locales/zh.json b/src/locales/zh.json index 2b96771..4be2af5 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -30,6 +30,7 @@ "current_salary": "当前薪资:", "todays_task": "今日任务:", "platform_policy": "平台政策", + "cp_reward": "CP奖励", "num_teams": "团队数量:", "team_top_up": "团队充值", "bd_income_top_up": "BD收入(充值)", diff --git a/src/router/index.js b/src/router/index.js index a123f07..7466831 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -380,6 +380,13 @@ const router = createRouter({ meta: { requiresAuth: true }, }, //北京时间每周一早上5点刷新 + { + path: '/cp-reward', + name: 'cp-reward', + component: () => import('../views/CPReward/index.vue'), + meta: { requiresAuth: true }, + }, + // 固定活动 { path: '/recharge-reward', diff --git a/src/utils/permissionManager.js b/src/utils/permissionManager.js index 6bbacc1..1f2cb11 100644 --- a/src/utils/permissionManager.js +++ b/src/utils/permissionManager.js @@ -80,6 +80,8 @@ export const ROLE_PERMISSIONS = { ...RANKING_PAGES, //排行榜 ...ACTIVITIES, //活动页面 + '/cp-reward', //情侣奖励说明页面 + '/recharge', //搜索充值对象页面 '/recharge-pay-way', //充值方式页面 '/recharge-guide', //充值引导页面 diff --git a/src/views/CPReward/index.vue b/src/views/CPReward/index.vue new file mode 100644 index 0000000..f033ac9 --- /dev/null +++ b/src/views/CPReward/index.vue @@ -0,0 +1,151 @@ + + + + +