Commit 9dee4aac authored by haiyoucuv's avatar haiyoucuv

init

parent a3f7cffc
<!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 = "peb9f4481"; // 线上测试
} else {
CFG.projectId = "pea14681b"; // 线上正式
}
}
// 动态域名
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/1753240433575/styles/vendors.7a4d9f88330446f09c83.css" rel="stylesheet"><link href="//yun.duiba.com.cn/spark/v2/temp_base/1753240433575/styles/main.7a4d9f88330446f09c83.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/1753240433575/js/runtime-main.486b5329.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1753240433575/js/vendors.7a2250d0.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1753240433575/js/main.3d56e421.js" crossorigin="anonymous"></script></body></html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
...@@ -100,6 +100,7 @@ class Resultpage extends React.Component { ...@@ -100,6 +100,7 @@ class Resultpage extends React.Component {
> >
{funds * 10000}<span></span> {funds * 10000}<span></span>
</div> </div>
<img src={CFG.codeUrl} className="qrCode"/>
</div> </div>
<div <div
......
...@@ -21,10 +21,26 @@ ...@@ -21,10 +21,26 @@
.poster { .poster {
width: 750px; width: 750px;
height: 1624px; height: 1624px;
left: 9999px; //left: 9999px;
left: 0;
top: 0; top: 0;
position: absolute; position: absolute;
.posterBg{
width: 750px;
height: 1624px;
left: 0;
top: 0;
position: absolute;
.sparkBg("resultPage/poster_bg.png");
}
.qrCode{
position: absolute;
left: 390px;
top: 1392px;
width: 190px;
height: 190px;
}
.posterFunds { .posterFunds {
position: absolute; position: absolute;
left: 310px; left: 310px;
......
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