fix
This commit is contained in:
@@ -144,8 +144,14 @@
|
||||
</label>
|
||||
</div>
|
||||
<div class="thirdPartyLogin marign_top30">
|
||||
<googleLogin @googelLogin="googelLogin" text="Register with Google"></googleLogin>
|
||||
<weiXinLogin text="Register with wechat"></weiXinLogin>
|
||||
<div class="label">
|
||||
<div class="mask" v-show="!checked" @click="isCheckAgreement"></div>
|
||||
<googleLogin @googelLogin="googelLogin" text="Register with Google"></googleLogin>
|
||||
</div>
|
||||
<div class="label">
|
||||
<div class="mask" v-show="!checked" @click="isCheckAgreement"></div>
|
||||
<weiXinLogin text="Register with wechat"></weiXinLogin>
|
||||
</div>
|
||||
<!-- <phoneLogin></phoneLogin> -->
|
||||
</div>
|
||||
<div
|
||||
@@ -297,6 +303,12 @@ export default defineComponent({
|
||||
loginTime:true
|
||||
};
|
||||
},
|
||||
mounted(){
|
||||
const data = this.$route.query
|
||||
if(data?.state == 'weiXin'){
|
||||
this.wechatLogin(data)
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
init(){
|
||||
this.registerModel = true
|
||||
@@ -466,7 +478,11 @@ export default defineComponent({
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
isCheckAgreement(){
|
||||
message.info(
|
||||
"Agree to all terms, privacy fees and policies"
|
||||
);
|
||||
},
|
||||
changePasswordType(){
|
||||
this.passwordType = this.passwordType === 'password' ? 'text' : 'password'
|
||||
},
|
||||
@@ -937,9 +953,19 @@ export default defineComponent({
|
||||
}
|
||||
.thirdPartyLogin{
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
>div{
|
||||
// justify-content: flex-start;
|
||||
> div{
|
||||
position: relative;
|
||||
margin-right: 1rem;
|
||||
> .mask{
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
.tip_content {
|
||||
|
||||
Reference in New Issue
Block a user