Authored by 张文文

提现确认页面跳转

... ... @@ -39,7 +39,7 @@ export default class CheckSettleModal extends React.Component {
<Text style={styles.priceText}>扣税总金额:{data.taxAmountStr}</Text>
<TouchableOpacity onPress={() => {
this.props.jumpWithActivityUrl && this.props.jumpWithActivityUrl();
}}>
<Text style={{marginTop: 15}}>
<Text style={styles.tipText}>结算收益时需按照国家规定预扣个税,点击查看</Text>
... ...
... ... @@ -94,6 +94,7 @@ export default class Data extends Component {
<CheckSettleModal
data={checkSettlementInfo}
isShowWithCheck={isShowCheckSettleDialog}
jumpWithActivityUrl={this.props.jumpWithActivityUrl}
showWithdrawalDialog={this.props.showWithdrawalDialog}
hiddenCheckSettleDialog={this.props.hiddenCheckSettleDialog}/>
<UploadCardModal
... ...
... ... @@ -63,6 +63,8 @@ class DataContainer extends Component {
this._showCheckSettleDialog = this._showCheckSettleDialog.bind(this);
this._hiddenCheckSettleDialog = this._hiddenCheckSettleDialog.bind(this);
this._jumpWithActivityUrl = this._jumpWithActivityUrl.bind(this);
}
componentDidMount() {
... ... @@ -143,6 +145,11 @@ class DataContainer extends Component {
this.props.actions.getStatisticsInfo(type);
}
_jumpWithActivityUrl() {
let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.h5","params":{"title":"提现说明", "url":"https://activity.yoho.cn/feature/3233.html"}}`;
ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
}
_jumpWithUrl(title = '', type = '') {
let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.minealliance","params":{"title":"${title}","type":"${type}"}}`;
ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
... ... @@ -222,6 +229,8 @@ class DataContainer extends Component {
showBindAlertDialog={this._showBindAlertDialog}
hiddenBindAlertDialog={this._hiddenBindAlertDialog}
refreshIdentityCardInfo={this._refreshIdentityCardInfo}
jumpWithActivityUrl={this._jumpWithActivityUrl}
/>
<LoadingIndicator isVisible={isFetching}/>
</View>
... ...