Commit 9a7d02ab by zhanghaozhe

Merge branch 'international-phone-number' into pre

# Conflicts:
#	src/components/detail/redPacket/index.js
parents d9389d99 df4b76a5
...@@ -9,6 +9,8 @@ import { Toast } from 'antd-mobile'; ...@@ -9,6 +9,8 @@ import { Toast } from 'antd-mobile';
import Captcha from '@/common/Captcha'; import Captcha from '@/common/Captcha';
import FollowQRcode from './../followQRcode'; import FollowQRcode from './../followQRcode';
import './index.scss'; import './index.scss';
import { Link } from "react-router-dom";
import cookie from 'js-cookie' import cookie from 'js-cookie'
class RedPacket extends PureComponent { class RedPacket extends PureComponent {
...@@ -626,7 +628,6 @@ class RedPacket extends PureComponent { ...@@ -626,7 +628,6 @@ class RedPacket extends PureComponent {
bindInfo, bindInfo,
country country
} = this.state; } = this.state;
// console.log(share_code);
const cls = classnames('popup-mask',{ const cls = classnames('popup-mask',{
'popup-mask--no': type !== 2 'popup-mask--no': type !== 2
}); });
...@@ -850,12 +851,12 @@ class RedPacket extends PureComponent { ...@@ -850,12 +851,12 @@ class RedPacket extends PureComponent {
<Form className="popup-form__content"> <Form className="popup-form__content">
<h4 className="popup-form__title">绑定手机号</h4> <h4 className="popup-form__title">绑定手机号</h4>
<div className="popup-form__item"> <div className="popup-form__item">
<a <Link
className="popup-form__button--num" className="popup-form__button--num"
href={`/country?id=${getParam('id')}&share_code=${share_code}`}> to={`/country?id=${getParam('id')}&share_code=${share_code}`}>
+{country.num} +{country.num}
<i className="iconfont iconiconfront-69"></i> <i className="iconfont iconiconfront-69"/>
</a> </Link>
<Field <Field
name="tel" name="tel"
render={({field}) => { render={({field}) => {
......
...@@ -13,7 +13,6 @@ import { connect } from 'react-redux'; ...@@ -13,7 +13,6 @@ import { connect } from 'react-redux';
import { compose } from 'redux'; import { compose } from 'redux';
import { isEmpty } from 'lodash' import { isEmpty } from 'lodash'
import { Toast } from 'antd-mobile'; import { Toast } from 'antd-mobile';
import { validateTel } from "@/utils";
import { HeaderBar } from "@/common"; import { HeaderBar } from "@/common";
......
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