Commit b3143908 authored by zhengke's avatar zhengke

微信登录

parent 8eb954cc
......@@ -267,7 +267,7 @@ const verifyCheckHandler = async ()=>{
needVerify.value = response.data.data==1
} else needVerify.value = true
}
// verifyCheckHandler()
verifyCheckHandler()
</script>
<style lang="scss">
.login-box{
......@@ -356,7 +356,6 @@ const verifyCheckHandler = async ()=>{
}
.login-formCenter{
width: 480px;
height: 531px;
border: 1px solid #ccc;
border-radius: 4px;
position: relative;
......
<template>
<div class="wechatLoginForm text-center q-mt-lg" v-loading="qrLoading">
<img :src="qrCode" style="width: 159px;height: 159px;border: 1px solid #EBEBEB;border-radius: 8px;" v-if="!qrLoading"></img>
<img :src="qrCode" style="width: 164px;height: 164px;border: 1px solid #EBEBEB;border-radius: 8px;" v-if="!qrLoading"></img>
<QRCode value="http://www.viitto.com" style="width: 159px;height: 159px;border: 1px solid #EBEBEB;" v-if="qrLoading"></QRCode>
</div>
</template>
......
......@@ -226,7 +226,7 @@
<!-- vip购买提示 -->
<vipFooter v-if="!userInfo.iv&&!userInfo.it&&!userInfo.OpenPrompt" @close="closeVip"></vipFooter>
<!-- 到顶部 -->
<BackTop :scrollTop="marketRef&&marketRef.scrollTop>=0?marketRef.scrollTop:0" @BackTop="goBackTop"></BackTop>
<BackTop v-if="dataList.length>0" :scrollTop="marketRef&&marketRef.scrollTop>=0?marketRef.scrollTop:0" @BackTop="goBackTop"></BackTop>
</template>
<script setup lang="ts">
......
......@@ -248,7 +248,7 @@ const bindHandler = async () =>{
if(dialogType.value==3) response = await UserServices.ModifyUserPhoto(userInfo.value.photo)
if(dialogType.value==4) {
ElMessageBox.confirm(
`确编辑后将无法更改,请谨慎!`,
`确编辑后将无法更改,请谨慎!`,
'提示',
{
confirmButtonText: '确定',
......@@ -283,7 +283,7 @@ const getResponse = async (response:any) => {
return
}
ElMessage.error({message:response.data.message})
invisibleHcaptchaBind.value?.reset()
// invisibleHcaptchaBind.value?.reset()
validateToken.value=''
loadingImg.value = false
}
......
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