-
Component 组件 来自于Facebook 用搭积木的概念来类比做网站。 我们的网页不再是由标签这个原子级别的构成的,div+css 由组件构成 swiper scroll-view mapview 一块积木,具有 特写的功能或表现 区块,功能块的 calendar 组件 ,第三方的
-
自定义的组件开发 Components 是MVVM架构的核心 它跟pages是平级的, Components 构成page .json文件, { 'usingComponents':{ 'icon':'../../components/icon/index' } }
icon组件 在我们的应用之中会用到一些图标,字体图标 edit add map home alley iconfont ttf 文件,下载图标,得到样式 相对独立的 一个组件 可以在多个页面进行复用
weather_plugin
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||