摘要: <!DOCTYPE html><html><head> <meta charset="utf-8"> <title></title> <link href="resources/css/ext-all.css" rel="stylesheet"> <script src="jslib/ext-bas 阅读全文
posted @ 2017-07-26 12:45 A-long 阅读(222) 评论(0) 推荐(0) 编辑
摘要: import { Component } from '@angular/core'; import { NavController } from 'ionic-angular'; @Component({ selector: 'page-home', templateUrl: 'home.html' }) export class HomePage { list=[{"key":... 阅读全文
posted @ 2017-07-14 13:24 A-long 阅读(1962) 评论(0) 推荐(0) 编辑
摘要: Ext.onReady(function() { var store = Ext.create('Ext.data.Store', { storeId: 'employeeStore', fields: ['name', 'seniority', 'department'], groupField: 阅读全文
posted @ 2017-07-04 17:09 A-long 阅读(1411) 评论(0) 推荐(0) 编辑
摘要: <div class="padding"> <div class="item item-input" > <span class="input-label col-20">账号</span> <input type="text" placeholder="请输入登录账号" ng-model="new 阅读全文
posted @ 2017-06-27 09:22 A-long 阅读(1078) 评论(0) 推荐(0) 编辑
摘要: 首先去 https://open.weixin.qq.com/ 添加一个应用得到appid 用来使用插件cordova-plugin-wechat cordova plugin add cordova-plugin-wechat --variable wechatappid=wx**************** 开通相关权限如登陆,分享,支付等。填写应用包名 注:对应config.xml 里面 ... 阅读全文
posted @ 2017-04-27 11:15 A-long 阅读(1409) 评论(0) 推荐(0) 编辑
摘要: ionic创建完后android样式奇丑,title不居中, segment变成tabs形式,一般体验来说一个app也不希望两种显示风格 解决方法: 官网说明:http://ionicframework.com/docs/nightly/api/config/Config/ 配置完后谷歌游览器切换a 阅读全文
posted @ 2017-04-19 09:47 A-long 阅读(772) 评论(0) 推荐(0) 编辑
摘要: 根据 :http://ionicframework.com/docs/cli/ 安装环境 :$ npm install -g ionic 创建项目:$ ionic start myTabs --v2 有时使用 ionic start myTabs --v2 创建太慢了不妨使用ionic start 阅读全文
posted @ 2017-04-13 09:01 A-long 阅读(3630) 评论(4) 推荐(0) 编辑
摘要: 看文档不如看官网,学会看官网以后学啥都快,不盲目 根据:http://ionicframework.com/docs/cli/generate/ 创建界面: user.html,user.scss,user.ts,user.module.ts 执行 ionic g page user 使用界面:ht 阅读全文
posted @ 2017-04-13 09:00 A-long 阅读(1652) 评论(0) 推荐(0) 编辑
摘要: user.ts user.html 阅读全文
posted @ 2017-04-12 17:08 A-long 阅读(3268) 评论(1) 推荐(1) 编辑
摘要: <ion-header> <ion-navbar> <ion-title>user</ion-title> </ion-navbar></ion-header><ion-content> <ion-item> 用户信息<ion-icon name="ios-arrow-down" item-righ 阅读全文
posted @ 2017-04-12 16:49 A-long 阅读(5318) 评论(1) 推荐(0) 编辑