本地版调整

dev_local_2
杨树林 6 years ago
parent 2f4aaebd27
commit 66253ec4e2

@ -366,7 +366,7 @@ class LoginDialog extends Component {
componentDidMount() {
let flag = this.IsPC(); //true为PC端false为手机端
this.setState({
isphone:flag
isphone:false
})
if(this.props.isRender!=undefined){
@ -652,15 +652,15 @@ class LoginDialog extends Component {
</p>
{this.state.isphone===true?<p className="clearfix mt20">
{/* {this.state.isphone===true?<p className="clearfix mt20">*/}
<span className={"startlogin"}> 快速登录 </span>
<div className={"mt10"}>
<a onClick={()=>this.openweixinlogin()}>
<img src={require('./WeChat.png')} alt="微信登录"/>
</a>
</div>
</p>:""}
{/* <span className={"startlogin"}>———————— 快速登录 ————————</span>*/}
{/* <div className={"mt10"}>*/}
{/* <a onClick={()=>this.openweixinlogin()}>*/}
{/* <img src={require('./WeChat.png')} alt="微信登录"/>*/}
{/* </a>*/}
{/* </div>*/}
{/*</p>:""}*/}
</form>}
{weixinlogin===true?<iframe

@ -147,7 +147,7 @@ class LoginRegisterComponent extends Component {
componentDidMount = () => {
let flag = this.IsPC(); //true为PC端false为手机端
this.setState({
isphone:flag
isphone:false
})
// console.log("componentDidUpdate");
// console.log(this.props);
@ -1033,15 +1033,15 @@ class LoginRegisterComponent extends Component {
<Button className="login_btn font-16" type="primary" style={{height:"46px"}} onClick={() => this.postLogin()}
size={"large"}>登录</Button>
{this.state.isphone===true?<p className="clearfix mb10 textcenter">
<span className={"startlogin"}> 快速登录 </span>
<div className={"mt10"}>
<a onClick={()=>this.openweixinlogin()}>
<img src={require('./img/WeChat.png')} alt="微信登录"/>
</a>
</div>
</p>:""}
{/*{this.state.isphone===true?<p className="clearfix mb10 textcenter">*/}
{/*<span className={"startlogin"}>———————— 快速登录 ————————</span>*/}
{/* <div className={"mt10"}>*/}
{/* <a onClick={()=>this.openweixinlogin()}>*/}
{/* <img src={require('./img/WeChat.png')} alt="微信登录"/>*/}
{/* </a>*/}
{/* </div>*/}
{/*</p>:""}*/}
</div>
}
@ -1194,15 +1194,15 @@ class LoginRegisterComponent extends Component {
<Button className=" font-16 mb20" type="primary" style={{height:"46px", width: "100%",marginTop:"26px"}} onClick={() => this.postregistered()}
size={"large"}>注册</Button>
{this.state.isphone===true?<p className="clearfix mb10 textcenter">
{/*{this.state.isphone===true?<p className="clearfix mb10 textcenter">*/}
<span className={"startlogin"}> 快速登录 </span>
<div className={"mt10"}>
<a onClick={()=>this.openweixinlogin()}>
<img src={require('./img/WeChat.png')} alt="微信登录"/>
</a>
</div>
</p>:""}
{/* <span className={"startlogin"}>———————— 快速登录 ————————</span>*/}
{/* <div className={"mt10"}>*/}
{/* <a onClick={()=>this.openweixinlogin()}>*/}
{/* <img src={require('./img/WeChat.png')} alt="微信登录"/>*/}
{/* </a>*/}
{/* </div>*/}
{/*</p>:""}*/}
</div>
}
{weixinlogin===true?<iframe

Loading…
Cancel
Save