|
|
|
@ -242,7 +242,7 @@ class AccountSecure extends Component {
|
|
|
|
|
<Form>
|
|
|
|
|
|
|
|
|
|
{list.map((item,key)=>{
|
|
|
|
|
|
|
|
|
|
if(item.en_type!="qq"){
|
|
|
|
|
return(
|
|
|
|
|
<div className="flexTable" key={key}>
|
|
|
|
|
<div className="flexTable">
|
|
|
|
@ -258,9 +258,9 @@ class AccountSecure extends Component {
|
|
|
|
|
|
|
|
|
|
<div className="status pt19">
|
|
|
|
|
{item.en_type!="qq"?<WordsBtn style={ item.id===null?"blue":"colorgrey9"} className={item.id===null?"borderBottom":""}
|
|
|
|
|
onClick={
|
|
|
|
|
item.id===null?() => this.showModal("wechat"):() => this.undologin("wechat",item.id)
|
|
|
|
|
}
|
|
|
|
|
onClick={
|
|
|
|
|
item.id===null?() => this.showModal("wechat"):() => this.undologin("wechat",item.id)
|
|
|
|
|
}
|
|
|
|
|
>{item.id===null?"绑定":"解绑"}</WordsBtn>:<WordsBtn style={ item.id===null?"blue":"colorgrey9"} className={item.id===null?"borderBottom":""}
|
|
|
|
|
onClick={
|
|
|
|
|
item.id===null?flag===true?() => this.openqqlogin():() => this.openphoneqqlogin():() => this.undologin("qq",item.id)
|
|
|
|
@ -271,6 +271,7 @@ class AccountSecure extends Component {
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -297,7 +298,7 @@ class AccountSecure extends Component {
|
|
|
|
|
frameBorder="0"
|
|
|
|
|
sandbox="allow-scripts allow-same-origin allow-top-navigation"
|
|
|
|
|
scrolling="no"
|
|
|
|
|
src={`https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=https%3a%2f%2f${window.location.host}%2fotherloginstart&response_type=code&scope=snsapi_login&state=account#wechat_redirect`}></iframe>
|
|
|
|
|
src={`https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=https%3a%2f%2fwww.educoder.net%2fotherloginstart&response_type=code&scope=snsapi_login&state=account,${window.location.host}#wechat_redirect`}></iframe>
|
|
|
|
|
<p className="clearfix pagemancenter">
|
|
|
|
|
<a className={"startlogin color-blue"} onClick={()=>this.handleCancel()}>取消</a>
|
|
|
|
|
</p>
|
|
|
|
|