效果图展示:

2.gif
补充说明两点:
1.新建立的一个组件模块需要

11.png
2.原文中有个地方没有备注news.ts中的参数,可能会导致报错,需要自己添加一下:
titleTitle: any = ''
  constructor(public navCtrl: NavController, public navParams: NavParams) {
      this.titleTitle = this.navParams.get('title');
  }
    titleTitle: any = ''
    ionViewDidLoad() {
    console.log('ionViewDidLoad NewsPage');
  }补充ionic中三种跳转方式:
项目地址:https://github.com/Zhongxiangyun/ionic3Demo.git
github地址:https://github.com/Zhongxiangyun/ionic3Demo










