Commit 9d572e99 authored by zhangyuan's avatar zhangyuan

zy

parents 8e7947fe 874976a3
......@@ -65,10 +65,17 @@
}
</script>
<<<<<<< HEAD
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1753788798760/assets/index-CiTfPrmK.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1753788798760/assets/vendor-BiCVt3x5.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1753788798760/assets/vendor-BQh5NVNk.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1753788798760/assets/index-Ddq4i85A.css">
=======
<script type="module" crossorigin src="https://yun.duiba.com.cn/db_games/spark/v3/1753782119089/assets/index-BEx7aagS.js"></script>
<link rel="modulepreload" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1753782119089/assets/vendor-BiCVt3x5.js">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1753782119089/assets/vendor-BQh5NVNk.css">
<link rel="stylesheet" crossorigin href="https://yun.duiba.com.cn/db_games/spark/v3/1753782119089/assets/index-foZ8Unog.css">
>>>>>>> 874976a35405982609359b48d7d34fa8bac3e44e
<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>
......@@ -76,8 +83,13 @@
<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>
<<<<<<< HEAD
<script nomodule crossorigin id="vite-legacy-polyfill" src="https://yun.duiba.com.cn/db_games/spark/v3/1753788798760/assets/polyfills-legacy-D0AVcSo7.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1753788798760/assets/index-legacy-DVWWvdai.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/1753782119089/assets/polyfills-legacy-D0AVcSo7.js"></script>
<script nomodule crossorigin id="vite-legacy-entry" data-src="https://yun.duiba.com.cn/db_games/spark/v3/1753782119089/assets/index-legacy-QgCjT010.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
>>>>>>> 874976a35405982609359b48d7d34fa8bac3e44e
</body>
</html>
\ No newline at end of file
......@@ -53,7 +53,7 @@ export default [
{
"channel": "1",
"endTime": "14:00:00",
"joinStatus": false,
"joinStatus": true,
"rainId": "1",
"ruId": null,
"startTime": "08:00:00"
......@@ -133,7 +133,7 @@ export default [
"max": 900,
}
}),
"firstMoneyPop": {
"firstMoneyPop1": {
"notifyText": "文案文案文案文案文案文案文案文案 文案文文案文案文案文案文案 文案文文案文案文案文案文案 文案文文案文案文案文案文案 文案文文案文案文案文案文案 文案文文案文案文案文案文案 文案文文案文案文案文案文案 文案文案文案文案",
"experienceNum": 59442359
},
......@@ -142,7 +142,7 @@ export default [
},
"virtualAssets": {
"preDayIncome": "656",
"availableFunds": "10284329.43",
"availableFunds": "76",
"totalMoney": "359.334",
// "realBuyJumpUrl": "anim consectetur dolor",
"totalIncome": 359
......
......@@ -13,7 +13,7 @@ export default [
tranche: Math.random() * 100000 >> 0,
marketValue: Math.random() * 10000000 >> 0,
yesterdayProfit: Math.random() * 10000 >> 0,
availableFunds: Math.random() * 10000000 >> 0,
availableFunds: 7660,
minBuyLimit: 100,
}
}
......
......@@ -119,9 +119,12 @@ class DetailPage extends React.Component<any, any> {
ModalCtrl.showModal(BuyPanel, {
name: this.state.productName,
amount: !this.state.firtIn ? +buyInput / 100 : +buyInput,
amount: this.state.firtIn ? +buyInput / 100 : +buyInput,
call: async () => {
const { success, data } = await API.buy({ code: this.props.code, amount: !this.state.firtIn ? +buyInput * 100 : +buyInput});
this.setState({
firtIn: true
})
this.updateInfo();
if (!success) return;
Toast.show("购买成功");
......
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