Comments (8)
pc文档右侧手机的部分就是通过这个包进行适配的结果,swipe的效果是你期望的效果么?
from varlet.
方便的话能否提供一个问题demo,可以发到我的邮箱。
from varlet.
测试例子:https://gitee.com/yexiaodong/do-vue-simple
from varlet.
是要PC文档右侧手机部分的效果
from varlet.
您是mac电脑么
from varlet.
如果您是mac电脑,img标签的图像在拖动时会有默认行为,会导致您现在出现的问题,touchmove事件被默认行为打断了
如下可以解决,如果是这个问题,就不是很好在某个组件里规避了,需要用户自行解决。
以下是您给出的demo下面的代码
.swipe-item {
width: 100%;
height: 100%;
object-fit: cover;
加入这行代码
pointer-events: none;
}
from varlet.
可以了,非常感谢
from varlet.
不用客气~
from varlet.
Related Issues (20)
- var-list var-cell 中加入图片组件后,无法引用item中的元素 HOT 1
- var-checkbox从父组件修改modelValue时同时也触发@update:modelValue HOT 1
- <var-tabs> HOT 6
- table not work HOT 7
- 为什么在v-show状态下,input框的placeholder消失了? HOT 6
- [Feat] 文本域增加字数统计的cssvar。
- 官方文档非常卡顿 HOT 3
- 希望有一个AutoComplete 组件 HOT 2
- time-picker PC下无法使用 HOT 1
- 是否有docs右侧演示部分的源代码 HOT 2
- [Feature]: add OTP input component
- pnpm run dev 报错哎,什么原因呢 HOT 1
- form组件内嵌space组件,space和其中的内容不渲染 HOT 6
- 是否能给appBar添加固定在顶部的api HOT 5
- 为什么相邻的input 的底部边框粗细不一样 HOT 2
- 能不能整个离线文档,文档时不时打不开 HOT 1
- 关于 Gitee Pages 文档站点访问不了的问题
- step组件的样式没有做好隔离
- 希望骨架屏组件的正文能跟其他属性一样变得可控 HOT 1
- 跟随系统偏好设置深浅色模式 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from varlet.