Components of WeChat Mini Programs - WeChat Mini Program Tutorial Series (19)


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

view component

scroll-view component

swiper component



basic content

icon component

text component

progress component



form component

button component

checkbox component

form component

input component

picker component

radio component

slider component

switch component


navigation

navigator component


media component

audio component

image component

video 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

------------------------------------------------------------

微信开发者工具的快捷键

微信小程序的文件结构 —— 微信小程序教程系列(1)

微信小程序的生命周期实例演示 —— 微信小程序教程系列(2)

微信小程序的动态修改视图层的数据 —— 微信小程序教程系列(3)

微信小程序的新建页面 —— 微信小程序教程系列(4)

微信小程序的如何使用全局属性 —— 微信小程序教程系列(5)

微信小程序的页面跳转 —— 微信小程序教程系列(6)

微信小程序标题栏和导航栏的设置 —— 微信小程序教程系列(7)

微信小程序的作用域和模块化 —— 微信小程序教程系列(8)

微信小程序视图层的数据绑定 —— 微信小程序教程系列(9)

微信小程序视图层的条件渲染 —— 微信小程序教程系列(10)

微信小程序视图层的列表渲染 —— 微信小程序教程系列(11)

微信小程序视图层的模板 —— 微信小程序教程系列(12)

微信小程序之wxss —— 微信小程序教程系列(13)

微信小程序的网络请求 —— 微信小程序教程系列(14)

微信小程序的百度地图获取地理位置 —— 微信小程序教程系列(15)

微信小程序使用百度api获取天气信息 —— 微信小程序教程系列(16)

微信小程序获取系统日期和时间 —— 微信小程序教程系列(17)

微信小程序之上拉加载和下拉刷新 —— 微信小程序教程系列(18)

微信小程序之组件 —— 微信小程序教程系列(19)

微信小程序之微信登陆 —— 微信小程序教程系列(20)


实战篇

------------------------------------------------------------

微信小程序之顶部导航栏实例 —— 微信小程序实战系列(1)

微信小程序之上拉加载(分页加载)实例 —— 微信小程序实战系列(2)

微信小程序之轮播图实例 —— 微信小程序实战系列(3)

微信小程序之仿android fragment之可滑动的底部导航栏实例 —— 微信小程序实战系列(4)

微信小程序之登录页实例 —— 微信小程序实战系列(5)

微信小程序之自定义toast实例 —— 微信小程序实战系列(6)

微信小程序之自定义抽屉菜单(从下拉出)实例 —— 微信小程序实战系列(7)

微信小程序之自定义模态弹窗(带动画)实例 —— 微信小程序实战系列(8)


电商篇

------------------------------------------------------------

微信小程序之侧栏分类 —— 微信小程序实战商城系列(1)

微信小程序之仿淘宝分类入口 —— 微信小程序实战商城系列(2)

微信小程序之购物数量加减 —— 微信小程序实战商城系列(3)

微信小程序之商品属性分类 —— 微信小程序实战商城系列(4)

微信小程序之购物车 —— 微信小程序实战商城系列(5)


未完待续。。。


更多小程序的教程:http://blog.csdn.net/column/details/14653.html

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325384123&siteId=291194637