Commit 73bb7ce4 authored by 俞嘉婷's avatar 俞嘉婷

打包

parent c08c2217
File mode changed from 100644 to 100755
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000"> <meta name="theme-color" content="#000000">
<link rel="dns-prefetch" href="//yun.duiba.com.cn" /> <link rel="dns-prefetch" href="//yun.duiba.com.cn" />
<link rel="preconnect" href="//embedlog.duiba.com.cn"> <link rel="preconnect" href="//embedlog.duiba.com.cn">
<title>天天领积分</title> <title>模拟理财 月度争霸赛</title>
<script type="text/javascript"> <script type="text/javascript">
if (localStorage && localStorage.isWebp) { if (localStorage && localStorage.isWebp) {
document document
.getElementsByTagName('html')[0] .getElementsByTagName('html')[0]
.setAttribute('duiba-webp', 'true'); .setAttribute('duiba-webp', 'true');
} }
</script> </script>
<script src="//yun.duiba.com.cn/js-libs/rem/1.1.3/rem.min.js"></script> <script src="//yun.duiba.com.cn/js-libs/rem/1.1.3/rem.min.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script> <script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
<script src="//res.wx.qq.com/open/js/jweixin-1.6.0.js"></script> <script src="//res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
<script> <!-- 华夏银行app文件 -->
var CFG = CFG || {}; <script src="//yun.duiba.com.cn/polaris/hxbExtLib.min.f2e3022c5ce5dd92689bff0a5b6c5cb0e9193cd1.js"></script>
CFG.projectId = location.pathname.split('/')[2] || '1'; <script>
var CFG = CFG || {};
function getUrlParam(name) { CFG.projectId = location.pathname.split('/')[2] || '1';
var search = window.location.search;
var matched = search function getUrlParam(name) {
.slice(1) var search = window.location.search;
.match(new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i')); var matched = search
return search.length ? matched && matched[2] : null; .slice(1)
} .match(new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'));
return search.length ? matched && matched[2] : null;
CFG.appID = '${APPID}'; }
// 新小程序会传version=hg 旧小程序不会传
CFG.version = getUrlParam('version') || sessionStorage.getItem('version'); CFG.appID = '${APPID}';
CFG.version && sessionStorage.setItem("version", CFG.version); CFG.domain = location.origin
CFG.isNewMiniVersion = CFG.version == 'hg'; // 渠道
CFG.channel = getUrlParam("channel");
CFG.subUrl = (CFG.isNewMiniVersion ? `/packages/activityCenter/subscibe` : `/pagesNews/subscribeMiddlePage/subscribeNews`) + // 首页
"?source=duiba&subId=1932371142070181890&activeNo=" + CFG.projectId + "&activityUrl=" + encodeURI(location.href) CFG.index = '/projectx/' + CFG.projectId + '/index.html?appID=' + CFG.appID + '&channel=' + CFG.channel;
// 提示弹窗二维码短链链接(目的页是 首页xx/index.html?off=1) 线上正式 TODO 域名记得改为dexfu的
CFG.index = '/projectx/' + CFG.projectId + '/index.html?appID=' + CFG.appID; CFG.prizePageQrcodeUrl = "https://hxlc90548.activity-29.m.duiba.com.cn/outActivity/12hy";
if (location.origin.indexOf("duibatest") > -1) {
// 免登中间页id // 测试环境
CFG.loginMidId = "Did1NjAwMDc"; // 线上正式 CFG.prizePageQrcodeUrl = CFG.index + "&off=1"
if (location.href.indexOf("duibatest") > -1) { } else if (CFG.projectId == 'p5185b9f0') {
CFG.loginMidId = "Did1MTM2NTU"; // 测试 // 线上测试
} else if (CFG.projectId == 'p69bb35bf') { // TODO 线上测试id CFG.prizePageQrcodeUrl = "https://hxlc90548.activity-29.m.duiba.com.cn/outActivity/12hw"
CFG.loginMidId = "Did1NTk5OTk"; // 线上测试 }
}
// 免登中间页
CFG.loginMidUrl = "/customShare/share?id=" + CFG.loginMidId + "&source=duiba&projectId=" + CFG.projectId + "&redirectUrl="; if (!getUrlParam("appID")) {
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}
if (!getUrlParam("appID")) { </script>
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。") <script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1751878042779/assets/index-B5L7481j.js"></script>
} <link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1751878042779/assets/vendor-D7FE14_V.js">
</script> <link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1751878042779/assets/vendor-BQh5NVNk.css">
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1751190323177/assets/index-DOP3JouZ.js"></script> <link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1751878042779/assets/index-9Oaz8jkL.css">
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1751190323177/assets/vendor-BJx6I-55.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1751190323177/assets/vendor-BQh5NVNk.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1751190323177/assets/index-Cev9xAh9.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">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> <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> </head>
<body> <body>
<div id="root"></div> <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>!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/1751190323177/assets/polyfills-legacy-arANKBzQ.js"></script> <script nomodule crossorigin id="vite-legacy-polyfill" src="https://yun.duiba.com.cn/db_games/spark/v3/1751878042779/assets/polyfills-legacy-D0AVcSo7.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1751190323177/assets/index-legacy-Bi108Ret.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script> <script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1751878042779/assets/index-legacy-C6Kjcb_G.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body> </body>
</html> </html>
...@@ -79,7 +79,7 @@ export function queryAppFundDetail(fund) { ...@@ -79,7 +79,7 @@ export function queryAppFundDetail(fund) {
// 判断jsbridge加载完成 // 判断jsbridge加载完成
function ready(callback) { function ready(callback) {
if (window.AlipayJSBridge) { if (AlipayJSBridge) {
callback && callback(); callback && callback();
} else { } else {
document.addEventListener("AlipayJSBridgeReady", callback, false); document.addEventListener("AlipayJSBridgeReady", callback, false);
...@@ -87,7 +87,7 @@ function ready(callback) { ...@@ -87,7 +87,7 @@ function ready(callback) {
} }
function bfSearchMenu(param, callback?: any) { function bfSearchMenu(param, callback?: any) {
window.AlipayJSBridge.call('BFSearchMenuHandler', { AlipayJSBridge.call('BFSearchMenuHandler', {
param: param, param: param,
}, callback) }, callback)
} }
......
...@@ -116,7 +116,7 @@ class HomePage extends React.Component<any, any> { ...@@ -116,7 +116,7 @@ class HomePage extends React.Component<any, any> {
const { bigStartConfig, virtualAssets, checkIn, recommendProductConfig, myEndTime, currentTime } = store.indexData const { bigStartConfig, virtualAssets, checkIn, recommendProductConfig, myEndTime, currentTime } = store.indexData
const isReachEndT = myEndTime <= currentTime const isReachEndT = myEndTime <= currentTime
// 推荐产品 // 推荐产品
const rProductList = recommendProductConfig?.filter((item) => item.status == 1) const rProductList = recommendProductConfig?.filter((item) => +item.status === 1)
// 我的持仓 // 我的持仓
const mProductList = recommendProductConfig?.filter((item) => item.mineProduct) const mProductList = recommendProductConfig?.filter((item) => item.mineProduct)
// 当前tab的产品列表 // 当前tab的产品列表
......
...@@ -63,6 +63,7 @@ class TurnTable extends React.Component { ...@@ -63,6 +63,7 @@ class TurnTable extends React.Component {
return <div className="TurnTable"> return <div className="TurnTable">
<CircleTurntable <CircleTurntable
className="tt_box" className="tt_box"
// @ts-ignore
ref={(ref) => (this.turntableRef = ref)} ref={(ref) => (this.turntableRef = ref)}
options={prizeInfo || []} options={prizeInfo || []}
angleOffset={180 / 6 + 10} // 角度偏移量 angleOffset={180 / 6 + 10} // 角度偏移量
......
...@@ -11,10 +11,6 @@ declare const remScale: number; ...@@ -11,10 +11,6 @@ declare const remScale: number;
declare const AlipayJSBridge: any; declare const AlipayJSBridge: any;
/* =================== USAGE =================== /* =================== USAGE ===================
import * as wx from 'jweixin'; import * as wx from 'jweixin';
wx.config(...); wx.config(...);
......
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