-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
193 additions
and
1,956 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// 刚升2.4新特性字符串枚举、编辑器报错但是其实是对的 | ||
export enum publishText { | ||
unpublish = '未发布', | ||
publish = '已发布', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.cr-red{ | ||
color: red; | ||
} | ||
.cr-blue{ | ||
color: blue; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,26 @@ | ||
import * as React from 'react'; | ||
import { Icon } from 'antd'; | ||
|
||
export default class SecondStep extends React.Component<any, any>{ | ||
export default class SecondStep extends React.Component<any, {}> { | ||
constructor(props: any) { | ||
super(props); | ||
} | ||
render(){ | ||
console.log(this.props.estate.content) | ||
render() { | ||
return ( | ||
<div> | ||
<div style={{fontSize:30,color:'red'}}><Icon type="check-circle" />推荐成功</div> | ||
<div style={{ fontSize: 30, color: 'red' }}><Icon type="check-circle" />推荐成功</div> | ||
<div> | ||
推荐的楼盘为 | ||
<span style={{fontSize:30,fontWeight:'bold'}}>{this.props.estate.id}</span> | ||
<span style={{ fontSize: 30, fontWeight: 'bold' }}>{this.props.estate.id}</span> | ||
号楼盘 | ||
<div> | ||
备注的内容: | ||
<div style={{fontSize:30,fontWeight:'bold'}}> | ||
{typeof this.props.estate.content === 'undefined'?'空':this.props.estate.content} | ||
<div style={{ fontSize: 30, fontWeight: 'bold' }}> | ||
{typeof this.props.estate.content === 'undefined' ? '空' : this.props.estate.content} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,29 @@ | ||
import * as React from 'react'; | ||
import { Input } from 'antd'; | ||
|
||
export default class SecondStep extends React.Component<any, any>{ | ||
export default class SecondStep extends React.Component<any, {}> { | ||
constructor(props: any) { | ||
super(props); | ||
} | ||
render(){ | ||
render() { | ||
return ( | ||
<div> | ||
<div>{`您选择的是第`}<span style={{fontSize:30,fontWeight:'bold',}}>{this.props.estate.id}</span>{`个楼盘`}</div> | ||
<div> | ||
{`您选择的是第`} | ||
<span style={{ fontSize: 30, fontWeight: 'bold', }}>{this.props.estate.id}</span> | ||
{`个楼盘`} | ||
</div> | ||
请填写备注信息: | ||
<div> | ||
<Input type="textarea" onChange={this.props.setValue} style={{ maxWidth: '200px' }} placeholder="请输入备注信息" autosize /> | ||
<Input | ||
type="textarea" | ||
onChange={this.props.setValue} | ||
style={{ maxWidth: '200px' }} | ||
placeholder="请输入备注信息" | ||
autosize={true} | ||
/> | ||
</div> | ||
</div> | ||
) | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.