Giter Club home page Giter Club logo

Comments (7)

javaLuo avatar javaLuo commented on July 1, 2024

from vue-puzzle-vcode.

yixiaco avatar yixiaco commented on July 1, 2024

我觉得你这个挺好用的,如果能加上一些例如偏差值,拼图大小(小拼图),滑块大小的设置,功能就强大了

from vue-puzzle-vcode.

javaLuo avatar javaLuo commented on July 1, 2024

Hi, 我发布了1.1.3版本

<Vcode
    :puzzleScale="0.8" // 小拼图的缩放比例,原始是50px, 50 * 0.8 就是40px了,因为canvas相关计算的原因,这里是按缩放倍数来调节
    :sliderSize="50" // 左下角滑块的大小,单位px
    :range="10" // 滑动距离和拼图位置小于等于此绝对值时,判定成功,单位px
/>

from vue-puzzle-vcode.

yixiaco avatar yixiaco commented on July 1, 2024

感谢感谢

from vue-puzzle-vcode.

yixiaco avatar yixiaco commented on July 1, 2024

@javaLuo
嘿,我将你的代码使用java后端的形式改造了一下,发布在了csdn上面。
https://blog.csdn.net/a627428179/article/details/109337901
由后端生成图片的偏移量,保证了安全性,前端还是使用你的样式。

from vue-puzzle-vcode.

javaLuo avatar javaLuo commented on July 1, 2024

cool, man

from vue-puzzle-vcode.

yixiaco avatar yixiaco commented on July 1, 2024

谢谢,希望对你有点帮助

from vue-puzzle-vcode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.