Commit cf6a2e80 authored by haiyoucuv's avatar haiyoucuv

init

parent 5c5e6169
......@@ -31,6 +31,7 @@ class DetailPage extends React.Component<any, any> {
marketValue: 0,
yesterdayProfit: 0,
availableFunds: 0,
minBuyLimit: 0,
sellInput: "",
buyInput: "",
iframeUrl: "",
......@@ -60,6 +61,7 @@ class DetailPage extends React.Component<any, any> {
marketValue: data.marketValue,
yesterdayProfit: data.yesterdayProfit,
availableFunds: data.availableFunds,
minBuyLimit: data.minBuyLimit,
});
}
......@@ -139,7 +141,7 @@ class DetailPage extends React.Component<any, any> {
render() {
const {
tabType, iframeUrl,
productName, totalProfit, tranche,
productName, totalProfit, tranche, minBuyLimit,
marketValue, yesterdayProfit, availableFunds,
sellInput,
buyInput,
......@@ -198,7 +200,7 @@ class DetailPage extends React.Component<any, any> {
value={buyInput}
onChange={(e) => this.handleInputChange(e, 'buyInput')}
/>
<div className={styles.buyTip}>首次购买1.00元起 再次购买1.00元起 1.00元递增</div>
<div className={styles.buyTip}>首次购买{minBuyLimit/100}元起 再次购买{minBuyLimit/100}元起 {minBuyLimit/100}元递增</div>
<Button
className={classNames(styles.buyBtn, styles.simulateBuy)}
onClick={this.clickSimulateBuy}
......
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