What is a component: A
component is the basic unit of the view layer.
The component comes with some functions and WeChat-style styles.
A component usually includes a start tag and an end tag, attributes are used to decorate the component, and the content is within the two tags.
<tagname property="value">
Content goes here ...
</tagename>
Note: All components and properties are lowercase, connected with a hyphen-
Component property type
Common property type
Properties that all components have:
Special attributes
Special attributes are attributes defined by each component, such as the size attribute of the <icon> component. For details, please refer to the specific description of each component in the official documentation.
component list
Some tutorials in the component list are as follows: (click to open)
view container
basic content
form component
navigation
media component
WeChat Mini Program Tutorial Series
Related links: http://blog.csdn.net/michael_ouyang/article/details/54700871
Register on-line
------------------------------------------------------------
WeChat applet how to register WeChat applet
WeChat Mini Program Mini Program is online
Basics
------------------------------------------------------------
微信小程序的生命周期实例演示 —— 微信小程序教程系列(2)
微信小程序的动态修改视图层的数据 —— 微信小程序教程系列(3)
微信小程序的如何使用全局属性 —— 微信小程序教程系列(5)
微信小程序标题栏和导航栏的设置 —— 微信小程序教程系列(7)
微信小程序视图层的条件渲染 —— 微信小程序教程系列(10)
微信小程序视图层的列表渲染 —— 微信小程序教程系列(11)
微信小程序的百度地图获取地理位置 —— 微信小程序教程系列(15)
微信小程序使用百度api获取天气信息 —— 微信小程序教程系列(16)
微信小程序获取系统日期和时间 —— 微信小程序教程系列(17)
微信小程序之上拉加载和下拉刷新 —— 微信小程序教程系列(18)
实战篇
------------------------------------------------------------
微信小程序之上拉加载(分页加载)实例 —— 微信小程序实战系列(2)
微信小程序之仿android fragment之可滑动的底部导航栏实例 —— 微信小程序实战系列(4)
微信小程序之自定义toast实例 —— 微信小程序实战系列(6)
微信小程序之自定义抽屉菜单(从下拉出)实例 —— 微信小程序实战系列(7)
微信小程序之自定义模态弹窗(带动画)实例 —— 微信小程序实战系列(8)
电商篇
------------------------------------------------------------
微信小程序之侧栏分类 —— 微信小程序实战商城系列(1) 微信小程序之仿淘宝分类入口 —— 微信小程序实战商城系列(2)
微信小程序之购物数量加减 —— 微信小程序实战商城系列(3)
微信小程序之商品属性分类 —— 微信小程序实战商城系列(4)
未完待续。。。