Authored by chenl

增加了分期的appjs。review by 张丽霞。

... ... @@ -26,6 +26,8 @@ import GoodGoodsRecommend from './goodGoodsRecommend/GoodGoodsRecommend'
import Vip from './vip/Vip'
import Order from './order/Order'
import Recorder from './recorder/Recorder'
import Installment from './installment/Installment'
export default function native(platform) {
Coupon(platform);
... ... @@ -49,6 +51,7 @@ export default function native(platform) {
Recorder(platform);
MyAssets(platform);
MineGuang(platform);
Installment(platform);
if (Platform.OS === 'ios') {
Community(platform);
... ...
... ... @@ -48,25 +48,25 @@ class InstallmentMyCardContainer extends Component {
componentDidMount() {
}
_reloadPage() {
let {installmentStausPageInfo} = this.props.installment;
let {originalParams} = installmentStausPageInfo;
this.props.actions.setError(null);
this.props.actions.setInstallmentStausPageParams(originalParams.statusCode, originalParams.failReason, originalParams.uid);
}
_onPressStatusPageBtn() {
renderRow() {
this.props.actions.onPressStatusPageBtn();
}
render() {
let {installmentStausPageInfo} = this.props.installment;
let cardList = ['11','22'];
return (
<InstallmentStatus
installmentStausPageInfo={installmentStausPageInfo}
onPressStatusPageBtn={this._onPressStatusPageBtn}
/>
<View style={styles.container}>
<ListView
style={styles.container}
dataSource={this.dataSource.cloneWithRows(cardList)}
enableEmptySections={true}
renderRow={this.renderRow}
/>
</View>
);
}
}
... ...