Coder Social home page Coder Social logo

pc端兼容问题 about wc-view HOT 4 CLOSED

helicopters avatar helicopters commented on May 23, 2024
pc端兼容问题

from wc-view.

Comments (4)

helicopters avatar helicopters commented on May 23, 2024

@dzjwan521 我没有做pc端处理, 这会我看下吧哈哈,待会给你说结果.

from wc-view.

dzjwan521 avatar dzjwan521 commented on May 23, 2024

@helicopters 谢谢了 我项目太紧急 没时间去看你代码了 今天要是能解决就帮了我大忙 感谢!~~~

from wc-view.

helicopters avatar helicopters commented on May 23, 2024

@dzjwan521 hi, pc 端兼容已经处理好了。 你可以重新安装一下 wc-view。
问题造成原因记录: view 使用了我的另外一个组件 wc-swiper, wc-swiper 在pc端实际上是兼容的。 但是没有对图片的默认拖拽效果做去除。 所以改了一下 wc-swiper。 然后 pc 端滑动和 view 上面绑定的点击事件(用来关闭预览) 冲突. 所以做了一下处理: 移动端依旧是点击预览关闭,pc端需要双击才能关闭。 同时在预览右上角加了一个 关闭按钮 (用户可控制显示与否).

from wc-view.

dzjwan521 avatar dzjwan521 commented on May 23, 2024

@helicopters thx!

from wc-view.

Related Issues (8)

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.