Commit e4664764 authored by 俞嘉婷's avatar 俞嘉婷

feat: 落地页收益率名称根据类型区分

parent 9b33a99f
......@@ -77,10 +77,10 @@
}
</script>
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1755253048137/assets/index-CDQQqC3G.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1755253048137/assets/vendor-BiCVt3x5.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1755253048137/assets/vendor-BQh5NVNk.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1755253048137/assets/index-ClMysHe6.css">
<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">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/1755253048137/assets/polyfills-legacy-D0AVcSo7.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1755253048137/assets/index-legacy-Cvhsz1e1.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/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>
</body>
</html>
\ No newline at end of file
......@@ -307,7 +307,7 @@ export default [
"status": "1",
"realBuyJumpUrl": "真实买入跳转链接",
"mineProduct": false,
"type": "laboris est",
"type": '1', // 产品类型(0-非现金,1-现金)
"rate": 6030
},
{
......@@ -321,7 +321,7 @@ export default [
"status": "1",
"realBuyJumpUrl": "真实买入跳转链接",
"mineProduct": false,
"type": "laboris est",
"type": '1', // 产品类型(0-非现金,1-现金)
"rate": 6030
},
{
......@@ -335,7 +335,7 @@ export default [
"status": "1",
"realBuyJumpUrl": "真实买入跳转链接",
"mineProduct": false,
"type": "laboris est",
"type": '0', // 产品类型(0-非现金,1-现金)
"rate": 6030
},
],
......
......@@ -7,6 +7,7 @@ import { _throttle, windowJumpUrl, CHANNEL, generateUUID, _asyncThrottle } from
import { copyToClipboard } from '@spark/utils';
import { Toast } from "@grace/ui";
import API from '@/api';
import { RATE_NAME } from '@/AppTools';
@observer
class SharePage extends React.Component {
......@@ -112,7 +113,7 @@ class SharePage extends React.Component {
<div className='info_con'>
<div className='rate_con'>
<p className='pro_rate'>{Number(el.rate / 100).toFixed(2) + '%'}</p>
<p className='pro_rate_label'>{`年化收益率`}</p>
<p className='pro_rate_label'>{RATE_NAME[el.type] || '年化收益率'}</p>
</div>
<div className='guize_con'>
<p className='pro_guize'>{el.shenShuGuiZei}</p>
......
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