验证码控件部分样式调整

This commit is contained in:
2026-05-16 12:42:42 +08:00
parent 662b22576d
commit 02e12f6e3d
3 changed files with 21 additions and 24 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import WordImageClick from "./word_image_click/word_image_click";
import { CaptchaConfig, wrapConfig, wrapStyle } from "./config/config";
import { clearAllPreventDefault } from "./common/common";
const template = `
<div class="captcha-parent">
<div class="__captcha-parent">
<div class="captcha-bg-img"></div>
<div class="captcha-box">
<div class="captcha-loading loading"></div>
@@ -55,7 +55,7 @@ class TianAiCaptcha {
init() {
this.destroyWindow();
this.config.domBindEl.append(template);
this.domTemplate = this.config.domBindEl.find(".captcha-parent");
this.domTemplate = this.config.domBindEl.find(".__captcha-parent");
clearAllPreventDefault(this.domTemplate);
this.loadStyle();
// 绑定按钮事件