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%;