varletjs / varlet-vue2 Goto Github PK
View Code? Open in Web Editor NEWMaterial design mobile component library for Vue2 / 基于 Vue2 的 Material design 风格移动端组件库
Home Page: https://varlet.gitee.io/varlet-ui-vue2/#/en-US/index
License: MIT License
Material design mobile component library for Vue2 / 基于 Vue2 的 Material design 风格移动端组件库
Home Page: https://varlet.gitee.io/varlet-ui-vue2/#/en-US/index
License: MIT License
是否支持安卓 & IOS & 小程序吗
styles
🛠️datepicker 和 timepicker 这两个时间选择器交互给个👍( 第一次看到移动端在时间picker 上加head, 交互很清晰. )
timepicker 期待优化选择, 当我在圆盘选择时间的时候, 没有什么感知. 很懵, 当我看到已经切换时分秒的时候才知道组件的意思.
(后续会不会有小程序端, 和react版本?)
var-pull-refresh 与 var-list混合使用滚动条在任意位置下拉都会触发刷新。我看了源码,必须是pull-refresh的外部scroller的scrollTop==0时才会触发刷新,获取scroller的条件就是上级节点的overflow为auto或者 scroll。这两个条件我看都满足,我也测试打印了 page-list
节点的scrollTop值是不为0。
感谢各位指导下~
css:
.page-list {
height: calc(100% - 40px);
overflow: auto;
}
html:
<div class="page-list" >
<var-pull-refresh ref="puller" v-model="isRefresh" @refresh="refresh">
<var-list :finished="finished" @load="load"></var-list>
</var-pull-refresh>
</div>
微信浏览器
当回到顶部时才触发下拉刷新
在列表底部,向下滑动距离较大时(下拉刷新的触发距离)就触发了刷新
docs
docs
请问能添加下datePicker组件关于支持单选年份的支持吗?type属性目前只有date、month支持,希望可以增加支持year模式。 @kohaiy
想依赖varlet为基础UI框架 , 根据公司UI设计再扩展几个插件用 , 有没有类似于Element make自动创建的命令 , 因为自己手动建需要建的文件有点多
CDN
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> <script src="https://cdn.jsdelivr.net/npm/@varlet-vue2/ui/umd/varlet.js"></script> <script> const App = Vue.use({ template: '按钮' }) new Vue({ render: h => h(App) }).$mount('#app') </script>您好,我使用了快速开始中CDN导入的代码,没有正确结果产生,Vue.use()接受一个对象且具有install()方法,上述的代码,求解。
Chrome
公司内部没网, 而且不能带自己的笔记本, 想问问有没有离线版文档
@varlet-vue2/ui: 0.1.6
vue: 2.6.12
页面弹窗里面文字标题和内容能正常显示
弹窗正常弹出,但是里面没有标题和内容。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.