From 0aef7d0ad58884e5f7c17ff75b260485119509fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=81=8C=E7=B3=96=E5=8C=85=E5=AD=90?= Date: Sat, 16 May 2026 14:07:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E6=8B=BC=E6=8E=A5=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=AA=8C=E8=AF=81=E7=A0=81,=20=E4=B8=A4=E5=9D=97?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E4=B9=8B=E9=97=B4=E6=B7=BB=E5=8A=A0=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E7=BB=86=E7=BA=BF,=20=E9=81=AE=E7=9B=96=E5=88=87?= =?UTF-8?q?=E5=88=86=E7=9A=84=E5=83=8F=E7=B4=A0=E8=AF=AF=E5=B7=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/vendor/tianai-captcha/captcha/concat/concat.js | 8 +++----- .../tianai-captcha/captcha/concat/concat.less | 13 +++++++++++++ 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/vendor/tianai-captcha/captcha/concat/concat.js b/src/vendor/tianai-captcha/captcha/concat/concat.js index f825980..87aed35 100644 --- a/src/vendor/tianai-captcha/captcha/concat/concat.js +++ b/src/vendor/tianai-captcha/captcha/concat/concat.js @@ -9,16 +9,14 @@ import { const TYPE = "CONCAT"; -function getTemplate(styleConfig) { +function getTemplate() { return `
拖动滑块完成拼图
-
- -
+
@@ -46,7 +44,7 @@ class Concat extends CommonCaptcha { init(captchaData, endCallback, loadSuccessCallback) { // 重载样式 this.destroy(); - this.boxEl.append(getTemplate(this.styleConfig)); + this.boxEl.append(getTemplate()); this.el = this.boxEl.find(".captcha"); this.loadStyle(); // 按钮绑定事件 diff --git a/src/vendor/tianai-captcha/captcha/concat/concat.less b/src/vendor/tianai-captcha/captcha/concat/concat.less index 796e8d6..1b9fbce 100644 --- a/src/vendor/tianai-captcha/captcha/concat/concat.less +++ b/src/vendor/tianai-captcha/captcha/concat/concat.less @@ -5,6 +5,19 @@ transform: translate(0px, 0px); z-index: 1; width: 100%; + &::after { + content: ""; + position: absolute; + left: 0; + right: 0; + bottom: 0; + height: 1px; + background: rgba(255, 255, 255, 0.92); + box-shadow: + 0 0 6px 3px rgb(255 255 255 / 60%), + 0 1px 4px rgb(0 0 0 / 90%); + pointer-events: none; + } } .captcha-slider-concat-bg-img { width: 100%;