diff --git a/h5/activity/room-turnover-reward/index.html b/h5/activity/room-turnover-reward/index.html
new file mode 100644
index 0000000..de47a22
--- /dev/null
+++ b/h5/activity/room-turnover-reward/index.html
@@ -0,0 +1,744 @@
+
+
+
+
+
+
+ Room Reward Event
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/h5/app-invite/app.js b/h5/app-invite/app.js
index 92a7b6d..485b15b 100644
--- a/h5/app-invite/app.js
+++ b/h5/app-invite/app.js
@@ -6,6 +6,7 @@ const LOCAL_FILE_PROXY_API_BASE = "http://127.0.0.1:8800/api/";
const ONLINE_INVITE_API_BASE = "https://jvapi.haiyihy.com/";
const ONLINE_INVITE_API_PREFIX = "/go";
const DEFAULT_AVATAR = "./assets/avatar-sample.png";
+const INVITEE_DISPLAY_GIFT_REWARD = 1000;
const DEFAULT_RESET_PERIOD_MS = 30 * 86400 * 1000;
const DEFAULT_REQUEST_HEADERS = {
"Req-Sys-Origin": "origin=LIKEI;originChild=LIKEI",
@@ -32,7 +33,7 @@ const DEFAULTS = {
downloadUrl: "",
inviterBindReward: 0,
rechargeReward: 0,
- giftReward: 0,
+ giftReward: INVITEE_DISPLAY_GIFT_REWARD,
};
const FALLBACK_TASKS = {
@@ -58,7 +59,7 @@ const state = {
downloadUrl: query.get("downloadUrl") || DEFAULTS.downloadUrl,
inviterBindReward: query.get("inviterReward") || DEFAULTS.inviterBindReward,
rechargeReward: query.get("rechargeReward") || DEFAULTS.rechargeReward,
- giftReward: query.get("giftReward") || DEFAULTS.giftReward,
+ giftReward: INVITEE_DISPLAY_GIFT_REWARD,
taskSet: normalizeTaskSet(query.get("taskSet") || "quota"),
tasks: {
transport: cloneTasks(FALLBACK_TASKS.transport),
@@ -979,7 +980,6 @@ function applyLandingData(body) {
state.friendName = trimValue(body.inviterNickname) || state.friendName;
state.inviterAvatar = trimValue(body.inviterAvatar) || DEFAULT_AVATAR;
state.downloadUrl = trimValue(body.downloadUrl) || state.downloadUrl;
- state.giftReward = body.inviteeReward?.goldAmount ?? state.giftReward;
const inviteCode = trimValue(body.inviteCode);
if (inviteCode) {
diff --git a/h5/app-invite/landing.js b/h5/app-invite/landing.js
index 22cbb50..f69c270 100644
--- a/h5/app-invite/landing.js
+++ b/h5/app-invite/landing.js
@@ -6,6 +6,7 @@ const LOCAL_INVITE_API_BASE = "http://127.0.0.1:2900/";
const ONLINE_INVITE_API_BASE = "https://jvapi.haiyihy.com/";
const ONLINE_INVITE_API_PREFIX = "/go";
const DEFAULT_AVATAR = "./assets/avatar-sample.png";
+const INVITEE_DISPLAY_GIFT_REWARD = 1000;
const state = {
apiBase: resolveAPIBase(),
@@ -13,7 +14,7 @@ const state = {
inviteCode: resolveInviteCode(),
friendName: trimValue(query.get("friendName")) || "Name",
inviterAvatar: trimValue(query.get("inviterAvatar")) || DEFAULT_AVATAR,
- giftReward: Number(query.get("giftReward") || 1000),
+ giftReward: INVITEE_DISPLAY_GIFT_REWARD,
downloadUrl: trimValue(query.get("downloadUrl")),
};
@@ -202,7 +203,6 @@ function applyLandingData(body) {
state.friendName = trimValue(body.inviterNickname) || state.friendName;
state.inviterAvatar = trimValue(body.inviterAvatar) || DEFAULT_AVATAR;
state.downloadUrl = trimValue(body.downloadUrl) || state.downloadUrl;
- state.giftReward = body.inviteeReward?.goldAmount ?? state.giftReward;
const inviteCode = trimValue(body.inviteCode);
if (inviteCode) {
diff --git a/h5/assets/room-turnover-reward/hero.png b/h5/assets/room-turnover-reward/hero.png
new file mode 100644
index 0000000..45a4958
Binary files /dev/null and b/h5/assets/room-turnover-reward/hero.png differ
diff --git a/h5/host-center/index.back.html b/h5/host-center/index.back.html
new file mode 100644
index 0000000..bc5a8ca
--- /dev/null
+++ b/h5/host-center/index.back.html
@@ -0,0 +1,111 @@
+
+
+
+
+
+ Host Center
+
+
+
+
+
+
+
+
+
+
+
+
![]()
+
U
+
+
+
+
+
+
+
+
My available salary
+
+
+
0
+
+
+
+
+
+
+
+
+
+
+
+
Prompt
+
Please complete your information first.
+
Please make sure your bank card and KYC information are available.
+
+
+
+
+
+
+
Tips
+
Are you sure you want to leave?
+
+
+
+
+
+
+
+
+
+
+
diff --git a/h5/host-center/index.html b/h5/host-center/index.html
index bc5a8ca..13bcf44 100644
--- a/h5/host-center/index.html
+++ b/h5/host-center/index.html
@@ -1,111 +1,14 @@
-
+
-
-
-
- Host Center
-
-
-
-
-
-
-
-
-
-
-
-
![]()
-
U
-
-
-
-
-
-
-
-
My available salary
-
-
-
0
-
-
-
-
-
-
-
-
-
-
-
-
Prompt
-
Please complete your information first.
-
Please make sure your bank card and KYC information are available.
-
-
-
-
-
-
-
Tips
-
Are you sure you want to leave?
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ Document
+
+
+
+
+