Commit cf6a2e80 authored by haiyoucuv's avatar haiyoucuv

init

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