Commit ef6522e0 authored by haiyoucuv's avatar haiyoucuv

Merge remote-tracking branch 'origin/master'

parents 0bd988eb 4781c1f0
......@@ -2,3 +2,23 @@
# 为了消除疯火台影响,特地做此框架,建设中,未完工
# ====线上测试投放链接====
1.管家App
1.1活动地址(需重定向白名单):
https://96094-2-activity.m.dexfu.cn/customShare/share?id=Did1NjEwODc
1.2 奖品页地址(需重定向白名单):
https://96094-2-activity.m.dexfu.cn/customShare/share?id=Did1NjEwNzk
2.人保寿险企业家助手微信公众号(channel=2)提供中间页地址:
https://96094-2-activity.m.dexfu.cn/customShare/share?id=Did1NjEwOTU&projectID=pbad47607
3.友客微信公众号&友客小程序(channel=3、5)需携带code参数
https://96094-2-activity.m.dexfu.cn/customShare/share?id=Did1NjExMDM
4.e服务公众号
https://96094-2-activity.m.dexfu.cn/customShare/share?id=Did1NjExMTE&projectID=pbad47607&actId=6134&fourSeason=1 
5.客经投放渠道(channel=6/7/8):包含E通、友客、微通(会透传actPlatforms,actid,agentCode参数)
https://96094-2-activity.m.dexfu.cn/customShare/share?id=Did1NjEwNzE
......@@ -99,10 +99,10 @@
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}
</script>
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1747978816250/assets/index-CGdWX048.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747978816250/assets/vendor-CLJsmJ4G.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747978816250/assets/vendor-NZxPxbcK.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747978816250/assets/index-jyJrhV5n.css">
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1747982309021/assets/index-Dl-xTHIV.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747982309021/assets/vendor-Bq4lO2GB.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747982309021/assets/vendor-NZxPxbcK.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1747982309021/assets/index-CCbTtttf.css">
<script type="module">import.meta.url;import("_").catch(()=>1);(async function*(){})().next();if(location.protocol!="file:"){window.__vite_is_modern_browser=true}</script>
<script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
</head>
......@@ -110,8 +110,8 @@
<body>
<div id="root"></div>
<script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
<script nomodule crossorigin id="vite-legacy-polyfill" src="https://yun.duiba.com.cn/db_games/spark/v3/1747978816250/assets/polyfills-legacy-arANKBzQ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1747978816250/assets/index-legacy-BugzU435.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
<script nomodule crossorigin id="vite-legacy-polyfill" src="https://yun.duiba.com.cn/db_games/spark/v3/1747982309021/assets/polyfills-legacy-arANKBzQ.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1747982309021/assets/index-legacy-BuuQJyuE.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body>
</html>
\ No newline at end of file
......@@ -21,7 +21,7 @@ export default [
"prizeImg": "//yun.duiba.com.cn/polaris/045CCBB8-F6C7-43DB-9F81-45F52430A878.441c8f13daf61c48b85fe383e764d9089f1d4a66.png",
"rank": 825844,
},
"rulePop": true,
"rulePop": false,
"userId": "qui id deserunt",
"validUid": true,
"isAgent": true,
......
......@@ -45,18 +45,31 @@ class LoginPop extends React.Component {
this.setState({
isSend: false,
reSend: true,
},()=>{
sensorLog(LOG_KEY.exposure, "b14257", "d14259", {
page_name: "手机号登录页",
button_name: "重新发送按钮",
});
});
}
}, 1000);
};
clickSend = _asyncThrottle(async () => {
sensorLog(LOG_KEY.click, "b14257", "d14258", {
page_name: "手机号登录页",
button_name: "发送验证码按钮",
});
const {phone, reSend} = this.state;
if(reSend){
sensorLog(LOG_KEY.click, "b14257", "d14259", {
page_name: "手机号登录页",
button_name: "重新发送按钮",
});
}else{
sensorLog(LOG_KEY.click, "b14257", "d14258", {
page_name: "手机号登录页",
button_name: "发送验证码按钮",
});
}
const {phone} = this.state;
if (!phone) {
return Toast.show("请输入手机号");
}
......
......@@ -218,7 +218,7 @@ const shareStore = makeAutoObservable({
CFG.projectId == "pafc25ff1"
? "https://lifeapp.picclife.cn/portal/app_manager/downloadapps.html?operate_link=" +
encodeURIComponent(
`https://lifeapp-api.picclife.cn/lifeapi/lifeapp-svc-gw/api/auth_code/authorize/v1?activity_code=612702&redirect_type=0&redirect_uri=${isIos()
`https://lifeapp-api.picclife.cn/lifeapi/lifeapp-svc-gw/api/auth_code/authorize/v1?activity_code=613402&redirect_type=0&redirect_uri=${isIos()
? encodeURIComponent(
encodeURIComponent(
`https://96094-activity.dexfu.cn/customShare/share?id=${prodCustomId}` +
......@@ -236,7 +236,7 @@ const shareStore = makeAutoObservable({
"&isBindManager=1&isNeedAuth=1&operate_type=3"
: "https://lifeapp-test.picclife.cn/portal-web/app_manager/downloadapps.html?operate_link=" +
encodeURIComponent(
`https://lifeapp-api-test.picclife.cn/lifeapi/lifeapp-svc-rel-gw/api/auth_code/authorize/v1?activity_code=612702&redirect_type=0&redirect_uri=${isIos()
`https://lifeapp-api-test.picclife.cn/lifeapi/lifeapp-svc-rel-gw/api/auth_code/authorize/v1?activity_code=613402&redirect_type=0&redirect_uri=${isIos()
? encodeURIComponent(
encodeURIComponent(
`https://96094-activity.dexfu.cn/customShare/share?id=${testCustomId}` +
......
......@@ -84,38 +84,24 @@ class Store {
}
indexData: {
actStartTime?: number,
actEndTime?: number,
currentTime?: number,
guideFlag?: boolean,
creditsNum?: number,
expireDays?: number,
currentStoreNum?: number,
storeLimitNum?: number,
continueSignDays?: number,
todaySignFlag?: boolean,
signRecords?: {
id: string,
day: number,
creditsNum: number,
boolSign: boolean,
}[],
// overflowBubble?: IOverflowBubbleInfo,
// bubbleRecords?: IBubbleInfo[],
returnAwardCreditsNum?: number,
downGoldVo?: {
creditsNum: number,
multipleValue: number,
taskId: string,
url: string,
actStartTime?: number, // 对应mock中的actStartTimestamp
actEndTime?: number, // 对应mock中的actEndTimestamp
currentTime?: number, // 对应mock中的currentTimestamp
answerChance?: number,
rank?: number,
uid?: string,
avatar?: string,
isAgent?: boolean,
agreePrivacy?: boolean,
boundYkCode?: string,
validUid?: boolean,
rulePop?: boolean,
rankPop?: {
prizeName?: string | null,
prizeImg?: string,
rank?: number
},
isAgent:string,
agreePrivacy:boolean,
} = {};
firstIn = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment