Comments (4)
参考 https://vant-ui.github.io/vant/#/zh-CN/advanced-usage#zhuo-mian-duan-gua-pei
from vant.
不认可这个解决方案,因为vant本来就是一个库,有责任保持基本自洽,用户为了解决因为使用这个库而引入的问题,不得不引入其他库,这是不对的
from vant.
不认可这个解决方案,因为vant本来就是一个库,有责任保持基本自洽,用户为了解决因为使用这个库而引入的问题,不得不引入其他库,这是不对的
Vant 是一个面向移动端的组件库,如果你需要在PC端使用,可以考虑其它PC端组件库。
from vant.
估计现在的开发自己都不会研究代码,给出的方案也是毫无卵用。
多次求证后,给出pc版解决方案,适用于 4.7.1及以后版本:
为van-uploader组件添加属性 :preview-options="{ closeable: true }" ,此配置会在预览页右上方显示退出按钮,给pc用户提供退出出口
from vant.
Related Issues (20)
- [Bug Report] IONIC-CLI使用unplugin-vue-components引入组件报错 HOT 2
- [Bug Report] tabs 切换动画 和 滑动切换 一块使用时@change在第一个tab不会触发 HOT 1
- [Bug Report] 我现在尝试在PC端使用Picker组件,但是发现无法使用拖动功能 HOT 1
- [Feature Request] FloatingBubble 浮动气泡增加新功能 HOT 6
- [Bug Report] 必填的星号在icon的右侧 HOT 2
- v4.8.3 版本 tab 添加了 stick 属性之后,头部样式会默认多了 top: 0px, 导致样式错乱 HOT 5
- [Bug Report] van-field type=number not allow decimal points in iOS devices HOT 5
- [Feature Request] 希望官方能提供vant-use的构建版本 HOT 2
- vant-cli6.0.0 版本 ,组件使用 setup 语法,打包后在 es/index.js 中没有组件引入。 HOT 2
- [Bug Report] ConfigProvider组件在对FloatingBubble 浮动气泡组件进行自定义样式时,不起作用。 HOT 1
- Search 搜索 支持电脑端 HOT 2
- [Bug Report] van-field 组件存在奇怪的修改其它字段值的问题,vant2~4 均存在该问题 HOT 2
- [Docs] 在官方文档中添加“全量引入”的示例 HOT 1
- [Bug Report] vant 4 preview has breaked HOT 4
- [Bug Report] van-dialog :close-on-click-overlay="true" 和 :closeOnClickOverlay="true" 都不生效 HOT 2
- [Bug Report] dropdown-menu-item使用title-class报错
- [Feature Request] Field info message
- Dialog 样式失效 HOT 1
- 自定义文档的头部,或者插入自定义样式文件。 HOT 1
- [Feature Request] DropdownItem请求添加点击事件
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 vant.