...
|
...
|
@@ -54,8 +54,9 @@ class DetailContainer extends Component { |
|
|
this.pushMultiPackageWithPackages = this.pushMultiPackageWithPackages.bind(this);
|
|
|
this.onPressReturnOrderCode = this.onPressReturnOrderCode.bind(this);
|
|
|
this.showDelayDeliveryNotice = this.showDelayDeliveryNotice.bind(this);
|
|
|
this.onPressAntiFraudTip = this.onPressAntiFraudTip.bind(this);
|
|
|
this.subscription = NativeAppEventEmitter.addListener(
|
|
|
'YHNotificationChangeOnLinePayToCodPay',
|
|
|
'YHChangeOnLinePayToCodPayEvent',
|
|
|
(reminder) => {
|
|
|
this.props.actions.getDetail();
|
|
|
}
|
...
|
...
|
@@ -102,6 +103,10 @@ class DetailContainer extends Component { |
|
|
ReactNative.NativeModules.YH_OrderHelper.onPressReturnOrderCode();
|
|
|
}
|
|
|
|
|
|
onPressAntiFraudTip() {
|
|
|
|
|
|
}
|
|
|
|
|
|
showDelayDeliveryNotice(noticeString){
|
|
|
NativeModules.YH_OrderHelper.deliveryDelayNotice(noticeString);
|
|
|
}
|
...
|
...
|
@@ -120,6 +125,7 @@ class DetailContainer extends Component { |
|
|
pushMultiPackageWithPackages={this.pushMultiPackageWithPackages}
|
|
|
onPressReturnOrderCode={this.onPressReturnOrderCode}
|
|
|
_onPressDelayNotice={this.showDelayDeliveryNotice}
|
|
|
onPressAntiFraudTip={this.onPressAntiFraudTip}
|
|
|
/>
|
|
|
);
|
|
|
}
|
...
|
...
|
|