Commit 496e52ae authored by 俞嘉婷's avatar 俞嘉婷

feat: 净值传给后端*10000+隐藏真实买入按钮

parent e4664764
......@@ -77,10 +77,10 @@
}
</script>
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1755590641956/assets/index-C8y1kDe4.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1755590641956/assets/vendor-BiCVt3x5.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1755590641956/assets/vendor-BQh5NVNk.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1755590641956/assets/index-BewuVLEQ.css">
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1756092540569/assets/index-BEioK6x7.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1756092540569/assets/vendor-BiCVt3x5.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1756092540569/assets/vendor-BQh5NVNk.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1756092540569/assets/index-BF5qNog2.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>
......@@ -88,8 +88,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/1755590641956/assets/polyfills-legacy-D0AVcSo7.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1755590641956/assets/index-legacy-DPbg74zt.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/1756092540569/assets/polyfills-legacy-D0AVcSo7.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1756092540569/assets/index-legacy-CzlDNyWc.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
</body>
</html>
\ No newline at end of file
......@@ -156,7 +156,7 @@
.sparkBg("homePage/virtual_assets_bg_new.png");
&.short_height {
height: 330px;
height: 412px;
.sparkBg("homePage/virtual_assets_bg_short.png");
}
......
......@@ -304,7 +304,7 @@ class HomePage extends React.Component<any, any> {
{/* 签到区 */}
{!productEnd && <SignCom></SignCom>}
{/* 模拟资产 */}
<div className="virtual_assets">
<div className="virtual_assets short_height">
{
endPoint > currentTime
? <Countdown
......@@ -346,7 +346,7 @@ class HomePage extends React.Component<any, any> {
<span className="canuse_popover_bg"></span>
<span className="canuse_popover_text"></span>
</div>
<Button className="realbuy_btn md11" onClick={this.realBuyHandle}></Button>
{/* <Button className="realbuy_btn md11" onClick={this.realBuyHandle}></Button> */}
</div>
{/* 推荐产品 */}
......
......@@ -290,7 +290,7 @@ class Store {
return {
code: item.fundcode, // 产品code
incomeRate: (item.incomeRate.replace('%', '') || 0) * 10000 / 100, // 年化率(单位:分),例如:1.78%传递178
netValue: (item.pernetValue || 0) * 10000 / 100, // 净值(单位:分),例如:1.66传递166
netValue: (item.pernetValue || 0) * 1000000 / 100, // 净值(单位:分),例如:1.66传递16600
}
})
const params = {
......
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