tencent / weui-wxss Goto Github PK
View Code? Open in Web Editor NEWA UI library by WeChat official design team, includes the most useful widgets/modules.
License: Other
A UI library by WeChat official design team, includes the most useful widgets/modules.
License: Other
我在src下的color.wxss中更改了primary color的宏,在根目录删了dist目录后运行gulp,但是样式并没有改变。
目前的颜色应该不是weui-wxss定的,是默认的......
border是用伪元素实现的,可最后没有用transform压缩。为什么要这么设计呢,如果不需要0.5px直接用border不是更方便
如题,在weui的小程序里100%复现。
dist里的input示例里,点击qq输入框,取得焦点,然后点击手机号输入框,过一会才能取得焦点,这个延迟怎么能避免?因为这样会导致键盘反复的显示、隐藏
另外,当获取焦点时,placeholder会略微上移,在不同的input之间切换焦点时,焦点总是从输入框的最后移动到第一位,这样就导致placeholder会有闪烁
picker-view这个组件的滑动体验不怎么好,触发change事件的时间太长了
在example的input示例中:
<picker mode="time" value="{{time}}" start="09:01" end="21:01" bindchange="bindTimeChange"> <view class="weui-input">{{time}}</view> </picker>
https://weui.io/#input 这里显示的是同时有日期和时间的格式。
但是放在小程序时只有时间,没有日期
hidden
更新为 false 无效,无法显示。(应该是开发工具的 bug)max-width: 100%
测试 ok。因为刚开始用不知道某些样式是作用于什么组件的
微信小程序的文档建议尺寸单位是:rpx(responsive pixel),可以根据屏幕宽度进行自适应。
我看 dist wxss 里面有 em,px,rpx,请问是有什么特殊的考虑吗?
.weui-footer__link:before {
content: " ";
position: absolute;
left: 0;
width: 1px;
border-left: 1rpx solid #c7c7c7;
color: #c7c7c7;
left: -.65em;
}
有好多类似这样的前后定义冲突的,我是从./dist/weui文件夹下直接拖进项目的,不是很理解为啥会这样
我想问个问题,微信小程序的官方英文名称是什么?
目前看到的有 weapp(目测应该是 wechat app 的简称)、wxapp(微信 app 的简称)、mina。
具体是哪个,或是其他的名称?
像体验小程序这个一样
rt
SearchBar 组件在微信 web 开发者工具下,输入框未聚焦时的图标样式有问题。
开启控制台,API数据是正常返回的,是不是样式渲染有问题?
表单就是weui里面那种一行一行view的格式
当这个表单超出屏幕高度后,并且page样式设置到height:100%的时候
当上下滚动这个表单的时候,tabbar的标题部分会被表单遮挡,即使把标题的z-index设置很大也无效。
如题
input控件里 微信号和国家/地区 引用了+86的样式weui-select 右边框多了1像素
代码中显示的success和loading的toast都是在3s后关闭,不知道是否能够实现函数回调的的方式关闭,比如执行某个任务弹出toast,执行完成后关闭。谢谢!
2016-12-14 23:41 gulp[24959] (FSEvents.framework) FSEventStreamFlushSync(): failed assertion '(SInt64)last_id > 0LL'
开发者工具上表现正常,但在iPhone 7上 配合nabar和scroll-view使用(textarea在navbar的content_panel 的scroll-view里),textarea中的字不能随着页面的滚动而滚动。
期待上线,是小程序的官方ui库吗
.weui-form-preview__label
在Android平台中(微信开发工具模拟器与真机) label有最小四个中文字符的宽度,如果少于四个中文字符,会被拉长(红米note2).
iOS真机上显示不会被拉长[ip6s,ios10.3.3] (微信开发工具模拟器上会被拉长)
RT
做办公类应用的时候,想显示组织架构之类的都不知所措。每次都在用checkbox,真的好麻烦。
除了 example,weui for weapp 有文档嘛?现在没有的话有考虑加上文档嘛?
px 能换为 rpx这类的单位 会不会更好。
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.