master
xingyy 1 month ago
parent 99bdd52dbe
commit 1d88421e0d

@ -1,6 +1,6 @@
<script setup>
import {useAuth} from "@/store/auth/index.js";
const {clickSendCode,telNum,code,clickLogin}= useAuth()
const {clickSendCode,telNum,code,clickLogin,showTextCode}= useAuth()
</script>
@ -21,7 +21,7 @@ const {clickSendCode,telNum,code,clickLogin}= useAuth()
<div class="text-primary text-[14px] font-bold w-[66px]">验证码</div>
<div class="flex items-center justify-between w-[341px] grow-1">
<input v-model="code" v-no-space class="pl-[16px] pr-[16px] w-[211px] h-[34px] focus:outline-none placeholder:text-primary placeholder:text-[14px] focus: bg-[#DCE5E9] border-none" placeholder="请输入验证码" type="text">
<div class="w-[120px] h-[34px] bg-primary text-#fff flex items-center text-[14px] justify-center shrink-0 cursor-pointer" @click="clickSendCode"></div>
<div class="w-[120px] h-[34px] bg-primary text-#fff flex items-center text-[14px] justify-center shrink-0 cursor-pointer" @click="clickSendCode">{{showTextCode}}</div>
</div>
</div>
<div class="bg-[url('@/assets/image/z3255@2x.png')] w-[240px] h-[39px] bg-center bg-no-repeat bg-contain flex items-center justify-center text-#fff text-[16px] mt-[73px] cursor-pointer" @click="clickLogin">/</div>

Loading…
Cancel
Save