This commit is contained in:
xingyy 2025-03-12 14:33:33 +08:00
parent 5894344c87
commit 85b9beb8f7
2 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
<template>
<div class="m-auto bg-white p-10px rd-10px touch-none select-none">
<div class="relative w-full overflow-hidden bg-#f8f8f8 rd-10px">
<div class="m-auto bg-white p-15px rd-10px touch-none select-none">
<div class="relative w-full overflow-hidden bg-#f8f8f8 rd-10px" :style="{ width: `${options?.canvasWidth}px`, height: `${options?.canvasHeight}px` }">
<!-- 背景图 -->
<img
:src="options?.canvasSrc"
class="pointer-events-none"
:style="{ width: `${options?.canvasWidth}px`, height: `${options?.canvasHeight}px` }"
class="pointer-events-none w-full h-full"
ref="bgImage"
@load="onImageLoad"
@error="onImageError"
@ -20,7 +20,7 @@
top: `${options?.blockY}px`,
left: `${moveX}px`,
visibility: loaded ? 'visible' : 'hidden',
width: `${options?.blockWidth}px`, height: `${options?.blockHeight}px`
width: `${options?.blockWidth}px`, height: `${options?.blockHeight}px`
}"
>
<transition name="fade-slide">

View File

@ -286,7 +286,7 @@ const onLeave =async (moveX, callback) => {
<div v-if="!isKeyboardVisible" class="text-center text-14px absolute left-1/2 transform translate-x--1/2 bottom-20px">
{{ $t('login.agreement') }}<span class="text-#3454AF " @click="$router.push('/privacyPolicy')">{{ $t('login.privacyPolicy') }}</span>
</div>
<van-popup v-model:show="isShow" round teleport="body">
<van-popup v-model:show="isShow" round style="max-width: initial" teleport="body">
<PuzzleComponent
v-if="isShow"
:options="captcha"