2018.10.25 更新
有人反映弹出选择器控件时,不滑动直接点击“确定”按钮没有值返回显示。其实默认坐标是[0,0,0]的,只是没有更新数据而已。现已更正。
2017.07.21 17:30 更新
之前版本是从头写到尾没有封装的,有的同学可能看的一脸懵逼,昨天我用微信官方提供的WXML模板(template)对代码进行了封装,在模板中定义代码片段,通过封装以后我们就可以在不同的地方调用了。
WeChatLittleAPP
2018.10.25 更新
有人反映弹出选择器控件时,不滑动直接点击“确定”按钮没有值返回显示。其实默认坐标是[0,0,0]的,只是没有更新数据而已。现已更正。
2017.07.21 17:30 更新
之前版本是从头写到尾没有封装的,有的同学可能看的一脸懵逼,昨天我用微信官方提供的WXML模板(template)对代码进行了封装,在模板中定义代码片段,通过封装以后我们就可以在不同的地方调用了。
有个不足。点击选择城市,弹出 picker-view,picker-view 显示的是 北京市 市辖区 东城区,如果此时点击右上角的确定,是没有执行赋值操作的,这样好像不合理吧?
希望大佬能够补全
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.