Commit c77630eb authored by haiyoucuv's avatar haiyoucuv

init

parent 7357526f
<!doctype html><html lang="zh"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="dns-prefetch" href="//yun.duiba.com.cn"/><link rel="preconnect" href="//embedlog.duiba.com.cn"><title>守护人生实验</title><script>if (localStorage && localStorage.isWebp) {
document
.getElementsByTagName('html')[0]
.setAttribute('duiba-webp', 'true');
}</script><script src="//yun.duiba.com.cn/spark/v2/spark.base.fz.wxpollyfill.js"></script><script src="//yun.duiba.com.cn/js-libs/rem/1.1.3/rem.min.js"></script><script src="//yun.duiba.com.cn/h5/lib/zepto.min.js"></script><script src="//res.wx.qq.com/open/js/jweixin-1.6.0.js"></script><script>"use strict";
var CFG = CFG || {};
CFG.projectId = location.pathname.split('/')[2] || '1';
function getUrlParam(name) {
var search = window.location.search;
var matched = search.slice(1).match(new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'));
return search.length ? matched && matched[2] : null;
}
CFG.appID = '${APPID}';
CFG.activityName = "官微-25年守护人生活动";
CFG.channel = getUrlParam("channel") || sessionStorage.getItem("channel");
CFG.empno = getUrlParam('empno') || sessionStorage.getItem("empno");
CFG.empname = getUrlParam('empname') || sessionStorage.getItem("empname");
CFG.empno && sessionStorage.setItem("empno", CFG.empno);
CFG.empname && sessionStorage.setItem("empname", CFG.empname);
CFG.channel && sessionStorage.setItem("channel", CFG.channel);
if (location.href.indexOf("customShare") > 0) {
CFG.appID = "93842";
if (location.href.indexOf("Did1NjE4Nzk") > 0) {
// 线上测试免登中间页
CFG.projectId = "p8d9bf93b"; // 线上测试
} else {
CFG.projectId = "peb5290b6"; // 线上正式
}
}
// 动态域名
CFG.domain = window.location.origin;
// 首页 app.jsx中会拼动态域名
CFG.index = '/projectx/' + CFG.projectId + '/index.html?appID=' + CFG.appID;
// 我的奖品页
CFG.prize = 'myPrize.html?appID=' + CFG.appID + '&channel=' + getUrlParam("channel") + '&fromPage=home';
// 免登的地址
CFG.middleRequest = "https://93842-activity.dexfu.cn//customActivity/taibao/login?";
// 正式要改
CFG.middleTHRequest = "https://93842-activity.dexfu.cn//customActivity/taibao/thd/login?";
// 正式 奖品页面跳转链接
CFG.prizeJumpUrl = "https://wx.cpic.com.cn/cpiccustomerclub/userInformation/index.html";
// 生产
CFG.sensorUrl = 'https://xnjkfx.cpic.com.cn:8006/sa?project=SXGW';
// 环境,test测试,prod生产 TODO
CFG.env = 'test';
CFG.environment = '';
//关注公众号二维码-正式
CFG.codeUrl = 'https://yun.duiba.com.cn/polaris/guanzhuCode.a398f4a2e47acb9265b0022adf36c9355921d975.png';
// 官微绑定页面地址 生产环境
CFG.bindUrl = 'https://wx.cpic.com.cn/sxwxclub/wx/menuByState?state=21039&source_channel=24NEMT';
if (CFG.env == 'test') {
// 测试
CFG.environment = 'test';
CFG.miniEnv = "trial";
CFG.sensorUrl = 'https://xnjkfxsit.cpic.com.cn/sa?project=SXGW';
//关注公众号二维码-测试
CFG.codeUrl = "https://yun.duiba.com.cn/polaris/moon-test.8a5c54742e74780a76e7809255016cf522441232.png";
// 测试 奖品页面跳转链接
CFG.prizeJumpUrl = "https://wxtest.cpic.com.cn/cpiccustomerclub/userInformation/index.html";
// 官微绑定页面地址 测试环境
CFG.bindUrl = "https://wxtest.cpic.com.cn/sxwxclub/wx/menuByState?state=21039&source_channel=24NEMT";
}
if (!getUrlParam("appID")) {
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}</script><link href="//yun.duiba.com.cn/spark/v2/temp_base/1753086683555/styles/vendors.d9e55fc972a28a4f9e91.css" rel="stylesheet"><link href="//yun.duiba.com.cn/spark/v2/temp_base/1753086683555/styles/main.d9e55fc972a28a4f9e91.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>"use strict";
CFG.___G___ = 'origin%09git%40gitlab2.dui88.com%3Asparkprojects%2F20250711_tbguardinglife.git%20(fetch)%3Borigin%09git%40gitlab2.dui88.com%3Asparkprojects%2F20250711_tbguardinglife.git%20(push)%3Bmaster%3Bhaiyoucuv%3B';</script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1753086683555/js/runtime-main.edca846c.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1753086683555/js/vendors.7a2250d0.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1753086683555/js/main.15584ed3.js" crossorigin="anonymous"></script></body></html>
\ No newline at end of file
...@@ -15,7 +15,7 @@ module.exports = { ...@@ -15,7 +15,7 @@ module.exports = {
leftGameTimes: null, leftGameTimes: null,
}, },
}, },
"POST /game/startGame.do": { "GET /game/startGame.do": {
code: null, code: null,
data: AESEncrypt( data: AESEncrypt(
JSON.stringify({ JSON.stringify({
...@@ -28,7 +28,7 @@ module.exports = { ...@@ -28,7 +28,7 @@ module.exports = {
success: true, success: true,
timeStamp: 1723602734176, timeStamp: 1723602734176,
}, },
"GET /game/submitGame.do": { "POST /game/submitGame.do": {
code: null, code: null,
data: { data: {
rewardDrawTimes: 1, rewardDrawTimes: 1,
......
...@@ -88,7 +88,7 @@ class Answerpage extends React.Component { ...@@ -88,7 +88,7 @@ class Answerpage extends React.Component {
const {stage, bg, titleImg, answer} = QuestionCfg[quesIndex]; const {stage, bg, titleImg, answer} = QuestionCfg[quesIndex];
// 当前题目 // 当前题目
return <div className="answerpage modal_center"> return <div className="answerpage">
<div <div
className="bg" className="bg"
style={{ style={{
......
...@@ -2,10 +2,12 @@ ...@@ -2,10 +2,12 @@
.answerpage { .answerpage {
width: 750px; width: 750px;
height: 1624px; height: 100%;
left: 0; left: 0;
top: 0; top: 0;
position: absolute; position: absolute;
overflow-x: hidden;
overflow-y: auto;
.bg { .bg {
position: absolute; position: absolute;
......
Active code page: 65001
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