2019年5月30日

Ionic4.x 中的列表UI组件

摘要: 1、普通列表 <ion-list> <ion-item> <ion-label>Peperoni</ion-label> </ion-item> <ion-item> <ion-label>Hawaii</ion-label> </ion-item> </ion-list> 如果普通列表加上路由跳转 阅读全文

posted @ 2019-05-30 15:08 LoaderMan 阅读(1177) 评论(0) 推荐(0) 编辑

Ionic4.x 中的button

摘要: 官方文档:https://ionicframework.com/docs/api/button 1、ion-button 组件可以定义一个按钮 <ion-button>Default</ion-button> 2、color 属性定义按钮的颜色 <ion-button color="primary" 阅读全文

posted @ 2019-05-30 14:13 LoaderMan 阅读(297) 评论(0) 推荐(0) 编辑

Ionic4.x 内置颜色

摘要: primary/secondary/tertiary /success/warning/danger/dark/medium/light primary/secondary/tertiary /success/warning/danger/dark/medium/light primary/seco 阅读全文

posted @ 2019-05-30 11:53 LoaderMan 阅读(332) 评论(0) 推荐(0) 编辑

Ionic4.x 中自定义公共模块

摘要: 1、创建公共模块以及组件 ionic g module module/slide ionic g component module/slide 2、公共模块 slide.module.ts 中暴露对应的组件 import { NgModule } from '@angular/core'; impo 阅读全文

posted @ 2019-05-30 11:16 LoaderMan 阅读(1271) 评论(0) 推荐(0) 编辑

Ionic4.x 新增底部 tabs 页面

摘要: 1、创建 tab4 模块 ionic g page tab4 2、修改根目录里 app-routing.module.ts 文件里面的路由配置,去掉默认增加的路由 3、tabs.router.module.ts 中新增路由 { path: 'tab4', loadChildren: '../tab4 阅读全文

posted @ 2019-05-30 11:11 LoaderMan 阅读(1272) 评论(1) 推荐(0) 编辑

导航