├── .sourcemaps
├── main.css.map
├── 10.js.map
├── 1.js.map
├── 4.js.map
├── 2.js.map
├── 7.js.map
├── 9.js.map
├── 8.js.map
├── 5.js.map
├── 6.js.map
├── 3.js.map
└── main.js.map
├── src
├── pages
│ ├── tabs
│ │ ├── tabs.scss
│ │ ├── tabs.module.ts
│ │ ├── home
│ │ │ ├── home.module.ts
│ │ │ ├── home.ts
│ │ │ ├── home.scss
│ │ │ └── home.html
│ │ ├── about
│ │ │ ├── about.module.ts
│ │ │ ├── about.ts
│ │ │ ├── about.scss
│ │ │ └── about.html
│ │ ├── class
│ │ │ ├── class.module.ts
│ │ │ ├── class.scss
│ │ │ ├── class.html
│ │ │ └── class.ts
│ │ ├── login
│ │ │ ├── login.module.ts
│ │ │ ├── login.scss
│ │ │ ├── login.ts
│ │ │ └── login.html
│ │ ├── order
│ │ │ ├── order.module.ts
│ │ │ ├── order.ts
│ │ │ ├── order.scss
│ │ │ └── order.html
│ │ ├── tabs.html
│ │ └── tabs.ts
│ ├── start
│ │ ├── start.scss
│ │ ├── start.module.ts
│ │ ├── start.html
│ │ └── start.ts
│ ├── map
│ │ ├── map.scss
│ │ ├── map.module.ts
│ │ ├── map.html
│ │ └── map.ts
│ ├── video
│ │ ├── video.module.ts
│ │ ├── video.ts
│ │ ├── video.scss
│ │ └── video.html
│ ├── iconfont
│ │ ├── iconfont.module.ts
│ │ ├── iconfont.ts
│ │ ├── iconfont.scss
│ │ └── iconfont.html
│ └── contact-consult
│ │ ├── contact-consult.module.ts
│ │ ├── contact-consult.html
│ │ ├── contact-consult.ts
│ │ └── contact-consult.scss
├── app
│ ├── app.html
│ ├── main.ts
│ ├── app.scss
│ ├── app.module.ts
│ ├── app.component.ts
│ └── app.service.ts
├── assets
│ ├── img
│ │ ├── bg.jpg
│ │ ├── slide1.jpeg
│ │ └── slide2.jpeg
│ ├── icon
│ │ ├── favicon.ico
│ │ ├── iconfont.css
│ │ └── iconfont.js
│ └── video
│ │ └── video1.mp4
├── manifest.json
├── theme
│ ├── theme.dark.scss
│ ├── theme.light.scss
│ └── variables.scss
├── service-worker.js
├── providers
│ └── setting
│ │ └── setting.ts
└── index.html
├── resources
├── icon.png
├── splash.png
├── ios
│ ├── icon
│ │ ├── icon.png
│ │ ├── icon-40.png
│ │ ├── icon-50.png
│ │ ├── icon-60.png
│ │ ├── icon-72.png
│ │ ├── icon-76.png
│ │ ├── icon@2x.png
│ │ ├── icon-40@2x.png
│ │ ├── icon-40@3x.png
│ │ ├── icon-50@2x.png
│ │ ├── icon-60@2x.png
│ │ ├── icon-60@3x.png
│ │ ├── icon-72@2x.png
│ │ ├── icon-76@2x.png
│ │ ├── icon-83.5@2x.png
│ │ ├── icon-small.png
│ │ ├── icon-small@2x.png
│ │ └── icon-small@3x.png
│ └── splash
│ │ ├── Default-667h.png
│ │ ├── Default-736h.png
│ │ ├── Default~iphone.png
│ │ ├── Default@2x~iphone.png
│ │ ├── Default-568h@2x~iphone.png
│ │ ├── Default-Landscape-736h.png
│ │ ├── Default-Landscape~ipad.png
│ │ ├── Default-Portrait~ipad.png
│ │ ├── Default-Landscape@2x~ipad.png
│ │ ├── Default-Portrait@2x~ipad.png
│ │ ├── Default-Portrait@~ipadpro.png
│ │ └── Default-Landscape@~ipadpro.png
└── android
│ ├── icon
│ ├── drawable-hdpi-icon.png
│ ├── drawable-ldpi-icon.png
│ ├── drawable-mdpi-icon.png
│ ├── drawable-xhdpi-icon.png
│ ├── drawable-xxhdpi-icon.png
│ └── drawable-xxxhdpi-icon.png
│ └── splash
│ ├── drawable-land-hdpi-screen.png
│ ├── drawable-land-ldpi-screen.png
│ ├── drawable-land-mdpi-screen.png
│ ├── drawable-land-xhdpi-screen.png
│ ├── drawable-port-hdpi-screen.png
│ ├── drawable-port-ldpi-screen.png
│ ├── drawable-port-mdpi-screen.png
│ ├── drawable-port-xhdpi-screen.png
│ ├── drawable-land-xxhdpi-screen.png
│ ├── drawable-land-xxxhdpi-screen.png
│ ├── drawable-port-xxhdpi-screen.png
│ └── drawable-port-xxxhdpi-screen.png
├── ionic.config.json
├── typings
└── cordova-typings.d.ts
├── README.md
├── tslint.json
├── .editorconfig
├── .gitignore
├── tsconfig.json
├── package.json
└── config.xml
/.sourcemaps/main.css.map:
--------------------------------------------------------------------------------
1 | null
--------------------------------------------------------------------------------
/src/pages/tabs/tabs.scss:
--------------------------------------------------------------------------------
1 | page-tabs {
2 |
3 | }
4 |
--------------------------------------------------------------------------------
/src/pages/start/start.scss:
--------------------------------------------------------------------------------
1 | page-start {
2 |
3 | }
4 |
--------------------------------------------------------------------------------
/src/pages/map/map.scss:
--------------------------------------------------------------------------------
1 | page-map {
2 | #map{
3 | width: 100%;
4 | height: 100%;
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/resources/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/icon.png
--------------------------------------------------------------------------------
/resources/splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/splash.png
--------------------------------------------------------------------------------
/src/app/app.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/src/assets/img/bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/src/assets/img/bg.jpg
--------------------------------------------------------------------------------
/resources/ios/icon/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon.png
--------------------------------------------------------------------------------
/src/assets/icon/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/src/assets/icon/favicon.ico
--------------------------------------------------------------------------------
/src/assets/img/slide1.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/src/assets/img/slide1.jpeg
--------------------------------------------------------------------------------
/src/assets/img/slide2.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/src/assets/img/slide2.jpeg
--------------------------------------------------------------------------------
/src/assets/video/video1.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/src/assets/video/video1.mp4
--------------------------------------------------------------------------------
/resources/ios/icon/icon-40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon-40.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-50.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon-50.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon-60.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon-72.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon-76.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon-40@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon-40@3x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-50@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon-50@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon-60@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon-60@3x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-72@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon-72@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon-76@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon-83.5@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon-small.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-small@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon-small@2x.png
--------------------------------------------------------------------------------
/resources/ios/icon/icon-small@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/icon/icon-small@3x.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-667h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/splash/Default-667h.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-736h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/splash/Default-736h.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default~iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/splash/Default~iphone.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default@2x~iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/splash/Default@2x~iphone.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-hdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/icon/drawable-hdpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-ldpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/icon/drawable-ldpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-mdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/icon/drawable-mdpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-xhdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/icon/drawable-xhdpi-icon.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-xxhdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/icon/drawable-xxhdpi-icon.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-568h@2x~iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/splash/Default-568h@2x~iphone.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Landscape-736h.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/splash/Default-Landscape-736h.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Landscape~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/splash/Default-Landscape~ipad.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Portrait~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/splash/Default-Portrait~ipad.png
--------------------------------------------------------------------------------
/resources/android/icon/drawable-xxxhdpi-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/icon/drawable-xxxhdpi-icon.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Landscape@2x~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/splash/Default-Landscape@2x~ipad.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Portrait@2x~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/splash/Default-Portrait@2x~ipad.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Portrait@~ipadpro.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/splash/Default-Portrait@~ipadpro.png
--------------------------------------------------------------------------------
/resources/ios/splash/Default-Landscape@~ipadpro.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/ios/splash/Default-Landscape@~ipadpro.png
--------------------------------------------------------------------------------
/ionic.config.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Ionic-NetEaseOpenCourse",
3 | "app_id": "",
4 | "type": "ionic-angular",
5 | "integrations": {
6 | "cordova": {}
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-hdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/splash/drawable-land-hdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-ldpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/splash/drawable-land-ldpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-mdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/splash/drawable-land-mdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-xhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/splash/drawable-land-xhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-hdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/splash/drawable-port-hdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-ldpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/splash/drawable-port-ldpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-mdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/splash/drawable-port-mdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-xhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/splash/drawable-port-xhdpi-screen.png
--------------------------------------------------------------------------------
/typings/cordova-typings.d.ts:
--------------------------------------------------------------------------------
1 |
2 | ///
3 | ///
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-xxhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/splash/drawable-land-xxhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-land-xxxhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/splash/drawable-land-xxxhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-xxhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/splash/drawable-port-xxhdpi-screen.png
--------------------------------------------------------------------------------
/resources/android/splash/drawable-port-xxxhdpi-screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/JiaXinYi/Ionic-NetEaseOpenCourse/HEAD/resources/android/splash/drawable-port-xxxhdpi-screen.png
--------------------------------------------------------------------------------
/src/app/main.ts:
--------------------------------------------------------------------------------
1 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
2 |
3 | import { AppModule } from './app.module';
4 |
5 | platformBrowserDynamic().bootstrapModule(AppModule);
6 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ### git clone
2 | ### npm install
3 | ### ionic serve
4 | ### Ionic2系列之高仿网易公开课(1)
5 | ### https://segmentfault.com/a/1190000010982022
6 | ### Ionic2系列之高仿网易公开课(2)
7 | ### https://segmentfault.com/a/1190000011562220
8 |
--------------------------------------------------------------------------------
/tslint.json:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "no-duplicate-variable": true,
4 | "no-unused-variable": [
5 | true
6 | ]
7 | },
8 | "rulesDirectory": [
9 | "node_modules/tslint-eslint-rules/dist/rules"
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/src/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Ionic",
3 | "short_name": "Ionic",
4 | "start_url": "index.html",
5 | "display": "standalone",
6 | "icons": [{
7 | "src": "assets/imgs/logo.png",
8 | "sizes": "512x512",
9 | "type": "image/png"
10 | }],
11 | "background_color": "#4e8ef7",
12 | "theme_color": "#4e8ef7"
13 | }
--------------------------------------------------------------------------------
/src/pages/map/map.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { IonicPageModule } from 'ionic-angular';
3 | import { MapPage } from './map';
4 |
5 | @NgModule({
6 | declarations: [
7 | MapPage,
8 | ],
9 | imports: [
10 | IonicPageModule.forChild(MapPage),
11 | ],
12 | exports:[MapPage]
13 | })
14 | export class MapPageModule {}
15 |
--------------------------------------------------------------------------------
/src/pages/tabs/tabs.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { IonicPageModule } from 'ionic-angular';
3 | import { TabsPage } from './tabs';
4 |
5 | @NgModule({
6 | declarations: [
7 | TabsPage,
8 | ],
9 | imports: [
10 | IonicPageModule.forChild(TabsPage),
11 | ],
12 | exports:[TabsPage]
13 | })
14 | export class TabsPageModule {}
15 |
--------------------------------------------------------------------------------
/src/pages/start/start.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { IonicPageModule } from 'ionic-angular';
3 | import { StartPage } from './start';
4 |
5 | @NgModule({
6 | declarations: [
7 | StartPage,
8 | ],
9 | imports: [
10 | IonicPageModule.forChild(StartPage),
11 | ],
12 | exports:[StartPage]
13 | })
14 | export class StartPageModule {}
15 |
--------------------------------------------------------------------------------
/src/pages/tabs/home/home.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { IonicPageModule } from 'ionic-angular';
3 | import { HomePage } from './home';
4 |
5 | @NgModule({
6 | declarations: [
7 | HomePage,
8 | ],
9 | imports: [
10 | IonicPageModule.forChild(HomePage),
11 | ],
12 | exports:[HomePage]
13 | })
14 | export class HomePageModule {}
15 |
--------------------------------------------------------------------------------
/src/pages/tabs/about/about.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { IonicPageModule } from 'ionic-angular';
3 | import { AboutPage } from './about';
4 |
5 | @NgModule({
6 | declarations: [
7 | AboutPage,
8 | ],
9 | imports: [
10 | IonicPageModule.forChild(AboutPage),
11 | ],
12 | exports:[AboutPage]
13 | })
14 | export class AboutPageModule {}
15 |
--------------------------------------------------------------------------------
/src/pages/tabs/class/class.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { IonicPageModule } from 'ionic-angular';
3 | import { ClassPage } from './class';
4 |
5 | @NgModule({
6 | declarations: [
7 | ClassPage,
8 | ],
9 | imports: [
10 | IonicPageModule.forChild(ClassPage),
11 | ],
12 | exports:[ClassPage]
13 | })
14 | export class ClassPageModule {}
15 |
--------------------------------------------------------------------------------
/src/pages/tabs/login/login.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { IonicPageModule } from 'ionic-angular';
3 | import { LoginPage } from './login';
4 |
5 | @NgModule({
6 | declarations: [
7 | LoginPage,
8 | ],
9 | imports: [
10 | IonicPageModule.forChild(LoginPage),
11 | ],
12 | exports:[LoginPage]
13 | })
14 | export class LoginPageModule {}
15 |
--------------------------------------------------------------------------------
/src/pages/tabs/order/order.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { IonicPageModule } from 'ionic-angular';
3 | import { OrderPage } from './order';
4 |
5 | @NgModule({
6 | declarations: [
7 | OrderPage,
8 | ],
9 | imports: [
10 | IonicPageModule.forChild(OrderPage),
11 | ],
12 | exports:[OrderPage]
13 | })
14 | export class OrderPageModule {}
15 |
--------------------------------------------------------------------------------
/src/pages/video/video.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { IonicPageModule } from 'ionic-angular';
3 | import { VideoPage } from './video';
4 |
5 | @NgModule({
6 | declarations: [
7 | VideoPage,
8 | ],
9 | imports: [
10 | IonicPageModule.forChild(VideoPage),
11 | ],
12 | exports:[
13 | VideoPage
14 | ]
15 | })
16 | export class VideoPageModule {}
17 |
--------------------------------------------------------------------------------
/src/pages/iconfont/iconfont.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { IonicPageModule } from 'ionic-angular';
3 | import { IconfontPage } from './iconfont';
4 |
5 | @NgModule({
6 | declarations: [
7 | IconfontPage,
8 | ],
9 | imports: [
10 | IonicPageModule.forChild(IconfontPage),
11 | ],
12 | exports:[IconfontPage]
13 | })
14 | export class IconfontPageModule {}
15 |
--------------------------------------------------------------------------------
/src/pages/map/map.html:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 | map
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
2 | # editorconfig.org
3 |
4 | root = true
5 |
6 | [*]
7 | indent_style = space
8 | indent_size = 2
9 |
10 | # We recommend you to keep these unchanged
11 | end_of_line = lf
12 | charset = utf-8
13 | trim_trailing_whitespace = true
14 | insert_final_newline = true
15 |
16 | [*.md]
17 | trim_trailing_whitespace = false
--------------------------------------------------------------------------------
/src/pages/tabs/login/login.scss:
--------------------------------------------------------------------------------
1 | page-login {
2 | button{
3 | border: 2px solid #7c7c7c ;
4 | border-radius: 5px;
5 | }
6 | .pw-forgot,
7 | .register-quick {
8 | color: #7c7c7c;
9 | font-size: 14px;
10 | }
11 | .btn-login {
12 | text-align: center;
13 | color: white;
14 | // height: 40px;
15 | font-size: 18px;
16 | }
17 | .wb-wx-btn-login{
18 | text-align: center;
19 | color: #7c7c7c;
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/src/pages/contact-consult/contact-consult.module.ts:
--------------------------------------------------------------------------------
1 | import { NgModule } from '@angular/core';
2 | import { IonicPageModule } from 'ionic-angular';
3 | import { ContactConsultPage } from './contact-consult';
4 |
5 | @NgModule({
6 | declarations: [
7 | ContactConsultPage,
8 | ],
9 | imports: [
10 | IonicPageModule.forChild(ContactConsultPage),
11 | ],
12 | exports:[ContactConsultPage]
13 | })
14 | export class ContactConsultPageModule {}
15 |
--------------------------------------------------------------------------------
/src/theme/theme.dark.scss:
--------------------------------------------------------------------------------
1 | .dark-theme {
2 | ion-content {
3 | background-color: #090f2f;
4 | color: #fff;
5 | }
6 |
7 | ion-title{
8 | color:#fff;
9 | }
10 | .header .toolbar-background {
11 | background-color: #090f2f;
12 |
13 | }
14 | .grid,
15 | .sift-title {
16 | background-color: #090f2f;
17 | } //bgcolor
18 | .tab-button {
19 | background-color: #090f2f;
20 | }
21 | $tabs-background:#090f2f;
22 | $background-color:grey;
23 | }
24 |
--------------------------------------------------------------------------------
/src/theme/theme.light.scss:
--------------------------------------------------------------------------------
1 |
2 | .light-theme {
3 | ion-content {
4 | background-color: #fff;
5 |
6 | }
7 |
8 | .toolbar-background {
9 | background-color: #fff;
10 | }
11 | $tabs-md-tab-text-color: grey;
12 | $tabs-md-tab-text-color-active : #32db64;
13 | $tabs-md-tab-icon-color : grey;
14 | $tabs-md-tab-icon-color-active : #32db64;
15 |
16 | //bgcolor
17 | $list-border-color:grey;
18 | $list-background-color:white;
19 |
20 | $tabs-background:white;
21 |
22 |
23 | $background-color:#f5f5f5;
24 | }
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Specifies intentionally untracked files to ignore when using Git
2 | # http://git-scm.com/docs/gitignore
3 |
4 | *~
5 | *.sw[mnpcod]
6 | *.log
7 | *.tmp
8 | *.tmp.*
9 | log.txt
10 | *.sublime-project
11 | *.sublime-workspace
12 | .vscode/
13 | npm-debug.log*
14 |
15 | .idea/
16 | .sass-cache/
17 | .tmp/
18 | .versions/
19 | coverage/
20 | dist/
21 | node_modules/
22 | tmp/
23 | temp/
24 | hooks/
25 | platforms/
26 | plugins/
27 | plugins/android.json
28 | plugins/ios.json
29 | www/
30 | $RECYCLE.BIN/
31 |
32 | .DS_Store
33 | Thumbs.db
34 | UserInterfaceState.xcuserstate
35 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "allowSyntheticDefaultImports": true,
4 | "declaration": false,
5 | "emitDecoratorMetadata": true,
6 | "experimentalDecorators": true,
7 | "lib": [
8 | "dom",
9 | "es2015"
10 | ],
11 | "module": "es2015",
12 | "moduleResolution": "node",
13 | "sourceMap": true,
14 | "target": "es5"
15 | },
16 | "include": [
17 | "src/**/*.ts"
18 | ],
19 | "exclude": [
20 | "node_modules"
21 | ],
22 | "compileOnSave": false,
23 | "atom": {
24 | "rewriteTsconfig": false
25 | }
26 | }
--------------------------------------------------------------------------------
/src/pages/tabs/class/class.scss:
--------------------------------------------------------------------------------
1 | page-class {
2 | .slide-page {
3 | font-size: 18px;
4 | position: absolute;
5 | left: 46%;
6 | bottom: 10px;
7 | z-index: 999;
8 | color: white;
9 | }
10 | .img-span {
11 | position: absolute;
12 | height: 30px;
13 | width: 100px;
14 | background-color: #333333;
15 | color: white;
16 | border-radius: 10px 0 0 10px;
17 | top: 110px;
18 | right: 12px;
19 | line-height: 30px;
20 | }
21 | .slider {
22 | // position: absolute;
23 | top: -80px !important;
24 | }
25 | .slide-btn {
26 | margin-top: 60px;
27 | margin-bottom: 20px;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/pages/video/video.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 | import { IonicPage, NavController, NavParams } from 'ionic-angular';
3 |
4 | /**
5 | * Generated class for the VideoPage page.
6 | *
7 | * See http://ionicframework.com/docs/components/#navigation for more info
8 | * on Ionic pages and navigation.
9 | */
10 |
11 | @IonicPage()
12 | @Component({
13 | selector: 'page-video',
14 | templateUrl: 'video.html',
15 | })
16 | export class VideoPage {
17 |
18 | constructor(public navCtrl: NavController, public navParams: NavParams) {
19 | }
20 |
21 | ionViewDidLoad() {
22 | console.log('ionViewDidLoad VideoPage');
23 | }
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/src/pages/tabs/class/class.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
7 |
8 | {{item.span}}
9 | {{item.title}}
10 | {{item.content}}
11 |
12 | 已有{{item.people}}人参与
13 |
14 |
15 |
16 |
17 | {{slideindex}}/40
18 |
19 |
--------------------------------------------------------------------------------
/src/pages/iconfont/iconfont.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 | import { IonicPage, NavController, NavParams } from 'ionic-angular';
3 |
4 | /**
5 | * Generated class for the IconfontPage page.
6 | *
7 | * See http://ionicframework.com/docs/components/#navigation for more info
8 | * on Ionic pages and navigation.
9 | */
10 |
11 | @IonicPage()
12 | @Component({
13 | selector: 'page-iconfont',
14 | templateUrl: 'iconfont.html',
15 | })
16 | export class IconfontPage {
17 |
18 | constructor(public navCtrl: NavController, public navParams: NavParams) {
19 | }
20 |
21 | ionViewDidLoad() {
22 | console.log('ionViewDidLoad IconfontPage');
23 | }
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/src/pages/tabs/tabs.html:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/src/pages/tabs/login/login.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 | import { IonicPage, NavController, NavParams } from 'ionic-angular';
3 |
4 | /**
5 | * Generated class for the LoginPage page.
6 | *
7 | * See http://ionicframework.com/docs/components/#navigation for more info
8 | * on Ionic pages and navigation.
9 | */
10 |
11 | @IonicPage()
12 | @Component({
13 | selector: 'page-login',
14 | templateUrl: 'login.html',
15 | })
16 | export class LoginPage {
17 |
18 | constructor(public navCtrl: NavController, public navParams: NavParams) {
19 | }
20 |
21 | ionViewDidLoad() {
22 | console.log('ionViewDidLoad LoginPage');
23 | }
24 | login(){
25 |
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/src/pages/tabs/tabs.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 | import { IonicPage, NavController,NavParams } from 'ionic-angular';
3 |
4 | /**
5 | * Generated class for the TabsPage tabs.
6 | *
7 | * See https://angular.io/docs/ts/latest/guide/dependency-injection.html for
8 | * more info on providers and Angular DI.
9 | */
10 |
11 | @IonicPage()
12 | @Component({
13 | selector: 'page-tabs',
14 | templateUrl: 'tabs.html'
15 | })
16 | export class TabsPage {
17 |
18 | homeRoot = 'HomePage'
19 | orderRoot = 'OrderPage'
20 | classRoot = 'ClassPage'
21 | aboutRoot = 'AboutPage'
22 |
23 |
24 | constructor(public navCtrl: NavController, public navParams: NavParams) {}
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/src/pages/tabs/about/about.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 | import { IonicPage, NavController, NavParams } from 'ionic-angular';
3 |
4 | /**
5 | * Generated class for the AboutPage page.
6 | *
7 | * See http://ionicframework.com/docs/components/#navigation for more info
8 | * on Ionic pages and navigation.
9 | */
10 |
11 | @IonicPage()
12 | @Component({
13 | selector: 'page-about',
14 | templateUrl: 'about.html',
15 | })
16 | export class AboutPage {
17 |
18 | constructor(public navCtrl: NavController, public navParams: NavParams) {
19 | }
20 |
21 | ionViewDidLoad() {
22 | console.log('ionViewDidLoad AboutPage');
23 | }
24 |
25 | showLogin() {
26 | this.navCtrl.push('LoginPage')
27 | }
28 |
29 | }
30 |
--------------------------------------------------------------------------------
/src/app/app.scss:
--------------------------------------------------------------------------------
1 | // http://ionicframework.com/docs/theming/
2 | // App Global Sass
3 | // --------------------------------------------------
4 | // Put style rules here that you want to apply globally. These
5 | // styles are for the entire app and not just one component.
6 | // Additionally, this file can be also used as an entry point
7 | // to import other Sass files to be included in the output CSS.
8 | //
9 | // Shared Sass variables, which can be used to adjust Ionic's
10 | // default Sass variables, belong in "theme/variables.scss".
11 | //
12 | // To declare rules for a specific mode, create a child rule
13 | // for the .md, .ios, or .wp mode classes. The mode class is
14 | // automatically applied to the
element in the app.
15 | ::-webkit-scrollbar {
16 | display: none !important;
17 | }
18 |
19 |
20 |
--------------------------------------------------------------------------------
/src/pages/start/start.html:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 | 目录
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/src/service-worker.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Check out https://googlechrome.github.io/sw-toolbox/ for
3 | * more info on how to use sw-toolbox to custom configure your service worker.
4 | */
5 |
6 |
7 | 'use strict';
8 | importScripts('./build/sw-toolbox.js');
9 |
10 | self.toolbox.options.cache = {
11 | name: 'ionic-cache'
12 | };
13 |
14 | // pre-cache our key assets
15 | self.toolbox.precache(
16 | [
17 | './build/main.js',
18 | './build/vendor.js',
19 | './build/main.css',
20 | './build/polyfills.js',
21 | 'index.html',
22 | 'manifest.json'
23 | ]
24 | );
25 |
26 | // dynamically cache any other local assets
27 | self.toolbox.router.any('/*', self.toolbox.cacheFirst);
28 |
29 | // for any other requests go to the network, cache,
30 | // and then only use that cached resource if your user goes offline
31 | self.toolbox.router.default = self.toolbox.networkFirst;
32 |
--------------------------------------------------------------------------------
/src/providers/setting/setting.ts:
--------------------------------------------------------------------------------
1 | import { Injectable } from '@angular/core';
2 | import { Http } from '@angular/http';
3 | import { BehaviorSubject } from 'rxjs/Rx';
4 | import 'rxjs/add/operator/map';
5 |
6 | /*
7 | Generated class for the SettingProvider provider.
8 |
9 | See https://angular.io/docs/ts/latest/guide/dependency-injection.html
10 | for more info on providers and Angular DI.
11 | */
12 | @Injectable()
13 | export class SettingProvider {
14 |
15 | private theme: BehaviorSubject;
16 |
17 | constructor() {
18 | // theme 是 BehaviorSubject实例
19 | this.theme = new BehaviorSubject('light-theme');
20 | }
21 |
22 | setActiveTheme(val) {
23 | // 改变值
24 | this.theme.next(val);
25 | }
26 |
27 | getActiveTheme() {
28 | // 观察
29 | return this.theme.asObservable();
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/src/pages/video/video.scss:
--------------------------------------------------------------------------------
1 | page-video {
2 | h1 {
3 | color: #fff;
4 | font-size: 30px;
5 | }
6 | font-family: '微软雅黑',
7 | sans-serif;
8 | .cover {
9 | z-index: -99;
10 | background-color: #222;
11 | opacity: 0.3;
12 | }
13 | video {
14 | z-index: -100;
15 | }
16 | video,
17 | .cover {
18 | position: fixed;
19 | top: 50%;
20 | left: 50%;
21 | min-width: 100%;
22 | min-height: 100%;
23 | width: auto;
24 | height: auto;
25 | transform: translateX(-50%) translateY(-50%);
26 | }
27 | ion-slides {
28 | height: 200px;
29 | position: absolute;
30 | bottom: 0;
31 | ion-slide {
32 | color: #fff;
33 | }
34 | h4 {
35 | font-weight: bold;
36 | }
37 | .swiper-pagination-bullet {
38 | background: map-get($colors, light);
39 | }
40 | }
41 | button {
42 | font-weight: bold;
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/src/app/app.module.ts:
--------------------------------------------------------------------------------
1 | import { BrowserModule } from '@angular/platform-browser';
2 | import { ErrorHandler, NgModule } from '@angular/core';
3 | import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
4 | import { SplashScreen } from '@ionic-native/splash-screen';
5 | import { StatusBar } from '@ionic-native/status-bar';
6 |
7 | import { MyApp } from './app.component';
8 | import { SettingProvider } from '../providers/setting/setting';
9 |
10 | @NgModule({
11 | declarations: [
12 | MyApp,
13 | ],
14 | imports: [
15 | BrowserModule,
16 | IonicModule.forRoot(MyApp, { tabsHideOnSubPages: 'true' })
17 | ],
18 | bootstrap: [IonicApp],
19 | entryComponents: [
20 | MyApp,
21 | ],
22 | providers: [
23 | StatusBar,
24 | SplashScreen,
25 | { provide: ErrorHandler, useClass: IonicErrorHandler },
26 | SettingProvider,
27 | ]
28 | })
29 | export class AppModule { }
30 |
--------------------------------------------------------------------------------
/src/pages/iconfont/iconfont.scss:
--------------------------------------------------------------------------------
1 | page-iconfont {
2 | @font-face {
3 | font-family: 'iconfont'; /* project id 462136 */
4 | src: url('//at.alicdn.com/t/font_462136_b05anpofn9sy8pvi.eot');
5 | src: url('//at.alicdn.com/t/font_462136_b05anpofn9sy8pvi.eot?#iefix') format('embedded-opentype'),
6 | url('//at.alicdn.com/t/font_462136_b05anpofn9sy8pvi.woff') format('woff'),
7 | url('//at.alicdn.com/t/font_462136_b05anpofn9sy8pvi.ttf') format('truetype'),
8 | url('//at.alicdn.com/t/font_462136_b05anpofn9sy8pvi.svg#iconfont') format('svg');
9 | }
10 | .iconfont {
11 | font-family: "iconfont" !important;
12 | font-size: 24px;
13 | font-style: normal;
14 | -webkit-font-smoothing: antialiased;
15 | -webkit-text-stroke-width: 0.2px;
16 | -moz-osx-font-smoothing: grayscale;
17 | }
18 | font-size:24px;
19 | .icon {
20 | width: 1em;
21 | height: 1em;
22 | vertical-align: -0.15em;
23 | fill: currentColor;
24 | overflow: hidden;
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/src/app/app.component.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 | import { Platform } from 'ionic-angular';
3 | import { StatusBar } from '@ionic-native/status-bar';
4 | import { SplashScreen } from '@ionic-native/splash-screen';
5 | import { SettingProvider } from './../providers/setting/setting';
6 |
7 |
8 | @Component({
9 | templateUrl: 'app.html'
10 | })
11 | export class MyApp {
12 |
13 | rootPage:any = "StartPage";
14 | selectedTheme: String;
15 |
16 | constructor(
17 | platform: Platform,
18 | statusBar: StatusBar,
19 | splashScreen: SplashScreen,
20 | private settings: SettingProvider) {
21 | this.settings.getActiveTheme().subscribe(val => this.selectedTheme = val);
22 | platform.ready().then(() => {
23 | // Okay, so the platform is ready and our plugins are available.
24 | // Here you can do any higher level native things you might need.
25 | statusBar.styleDefault();
26 | splashScreen.hide();
27 | });
28 | }
29 | }
30 |
31 |
--------------------------------------------------------------------------------
/src/pages/map/map.ts:
--------------------------------------------------------------------------------
1 | import { Component, ViewChild, ElementRef } from '@angular/core';
2 | import { IonicPage, NavController, NavParams } from 'ionic-angular';
3 |
4 | /**
5 | * Generated class for the MapPage page.
6 | *
7 | * See http://ionicframework.com/docs/components/#navigation for more info
8 | * on Ionic pages and navigation.
9 | */
10 | declare var google;
11 |
12 | @IonicPage()
13 | @Component({
14 | selector: 'page-map',
15 | templateUrl: 'map.html',
16 | })
17 | export class MapPage {
18 | @ViewChild('map') mapElement: ElementRef;
19 | map: any;
20 |
21 | constructor(public navCtrl: NavController, public navParams: NavParams) {
22 | }
23 |
24 | ionViewDidLoad() {
25 | this.loadMap();
26 | }
27 |
28 | loadMap() {
29 | let latLng = new google.maps.LatLng(23.16,113.23);
30 |
31 | let mapOptions = {
32 | center: latLng,
33 | // center:{lat: -25.363, lng: 131.044},
34 | zoom: 15,
35 | // mapTypeId: google.maps.MapTypeId.ROADMAP
36 | }
37 |
38 | this.map = new google.maps.Map(this.mapElement.nativeElement, mapOptions);
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/src/pages/video/video.html:
--------------------------------------------------------------------------------
1 |
7 |
8 | 旧时光
9 |
10 |
11 |
12 |
13 |
14 |
15 | 欢迎
16 | 时间是真相的女儿
17 |
18 |
19 | 介绍
20 | 橘生淮南
21 |
22 |
23 | 联系
24 | 一个橙子
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/src/pages/tabs/about/about.scss:
--------------------------------------------------------------------------------
1 | page-about {
2 | .background {
3 | padding-top: 20px;
4 | font-size: 16px;
5 | color: white;
6 | width: 100%;
7 | height: 180px;
8 | background-color: #43D243;
9 | text-align: center;
10 | span {
11 | display: block;
12 | padding-bottom: 30px;
13 | }
14 | .imgRadius {
15 | width: 64px;
16 | height: 64px;
17 | border-radius: 100%;
18 | }
19 | .iconSetting{
20 | position: absolute;
21 | font-size: 24px;
22 | right: 20px;
23 | top: 20px;
24 | }
25 | .iconPrize {
26 | position: absolute;
27 | font-size: 24px;
28 | right: 20px;
29 | top: 140px;
30 | }
31 | }
32 | .myGrid {
33 | background: white;
34 | ion-grid {
35 |
36 | padding: 20px 0;
37 | color: #3C3C3C;
38 | text-align: center;
39 | font-size: 24px;
40 | ion-col {
41 | height: 30px;
42 | }
43 | span {
44 | font-size: 14px;
45 | }
46 | }
47 | }
48 | .myList {
49 | ion-list{
50 | margin-top:2px;
51 |
52 | // ion-icon{
53 | // font-size:18px;
54 | // color: grey;
55 | // // padding :auto 0;
56 | // }
57 | }
58 | }
59 | }
--------------------------------------------------------------------------------
/src/app/app.service.ts:
--------------------------------------------------------------------------------
1 | import { LoadingController } from 'ionic-angular'
2 | import { Http } from '@angular/http';
3 | import { Injectable } from '@angular/core';
4 |
5 |
6 | @Injectable()
7 | export class AppGloble {
8 |
9 | // 接口基础地址
10 | static domain = "http://172.16.50.133:18400/";
11 |
12 | // 接口地址
13 | static API: any = {
14 | getCategories: '/api/ionic3/getCategories',
15 | getProducts: '/api/ionic3/getProducts',
16 | getDetails: 'api/ionic3/details'
17 | };
18 | }
19 |
20 | @Injectable()
21 | export class AppService {
22 | constructor(
23 | public http: Http,
24 | public loadingCtrl: LoadingController) {
25 |
26 | }
27 | httpGet(url, params, callback, loader: boolean = false) {
28 | let loading = this.loadingCtrl.create({});
29 | if (loader) {
30 | loading.present();
31 | }
32 | // this.http.get(AppGloble.domain + url + this.encode(params))
33 | // .toPromise()
34 | // .then(res =>{
35 | // var d = res.json();
36 | // if(loader){
37 | // loading.dismiss();
38 | // }
39 | // callback(d==null?"[]":d);
40 |
41 | // })
42 | // .catch(error =>{
43 | // if(loader){
44 | // loading.dismiss();
45 | // }
46 | // // this.handleError(error);
47 | // })
48 |
49 | }
50 |
51 |
52 |
53 | }
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Ionic-NetEaseOpenCourse",
3 | "version": "0.0.1",
4 | "author": "Ionic Framework",
5 | "homepage": "http://ionicframework.com/",
6 | "private": true,
7 | "scripts": {
8 | "clean": "ionic-app-scripts clean",
9 | "build": "ionic-app-scripts build",
10 | "lint": "ionic-app-scripts lint",
11 | "ionic:build": "ionic-app-scripts build",
12 | "ionic:serve": "ionic-app-scripts serve"
13 | },
14 | "dependencies": {
15 | "@angular/common": "4.1.3",
16 | "@angular/compiler": "4.1.3",
17 | "@angular/compiler-cli": "4.1.3",
18 | "@angular/core": "4.1.3",
19 | "@angular/forms": "4.1.3",
20 | "@angular/http": "4.1.3",
21 | "@angular/platform-browser": "4.1.3",
22 | "@angular/platform-browser-dynamic": "4.1.3",
23 | "@ionic-native/core": "3.12.1",
24 | "@ionic-native/splash-screen": "3.12.1",
25 | "@ionic-native/status-bar": "3.12.1",
26 | "@ionic/storage": "2.0.1",
27 | "ionic-angular": "3.6.0",
28 | "ionicons": "3.0.0",
29 | "rxjs": "5.4.0",
30 | "sw-toolbox": "3.6.0",
31 | "zone.js": "0.8.12"
32 | },
33 | "devDependencies": {
34 | "@angular/cli": "^1.4.9",
35 | "@ionic/app-scripts": "2.1.4",
36 | "typescript": "2.3.4"
37 | },
38 | "description": "An Ionic project"
39 | }
40 |
--------------------------------------------------------------------------------
/src/pages/start/start.ts:
--------------------------------------------------------------------------------
1 | import { SettingProvider } from './../../providers/setting/setting';
2 | import { Component } from '@angular/core';
3 | import { IonicPage, NavController, NavParams } from 'ionic-angular';
4 |
5 | /**
6 | * Generated class for the StartPage page.
7 | *
8 | * See http://ionicframework.com/docs/components/#navigation for more info
9 | * on Ionic pages and navigation.
10 | */
11 |
12 | @IonicPage()
13 | @Component({
14 | selector: 'page-start',
15 | templateUrl: 'start.html',
16 | })
17 | export class StartPage {
18 | selectedTheme: String;
19 |
20 | constructor(public navCtrl: NavController, public navParams: NavParams,
21 | private settings: SettingProvider) {
22 | this.settings.getActiveTheme().subscribe(val => this.selectedTheme = val);
23 |
24 | }
25 |
26 | ionViewDidLoad() {
27 | console.log('ionViewDidLoad StartPage');
28 | }
29 | goNetEase() {
30 | this.navCtrl.push('TabsPage');
31 | }
32 | goVideo() {
33 | this.navCtrl.push('VideoPage');
34 | }
35 | goMap() {
36 | this.navCtrl.push('MapPage');
37 | }
38 | goTalk() {
39 | this.navCtrl.push('ContactConsultPage');
40 | }
41 | goIconFont(){
42 | this.navCtrl.push('IconfontPage')
43 | }
44 | changeTheme() {
45 | if (this.selectedTheme === 'dark-theme') {
46 | //改变
47 | this.settings.setActiveTheme('light-theme');
48 | } else {
49 | this.settings.setActiveTheme('dark-theme');
50 | }
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/src/pages/tabs/home/home.ts:
--------------------------------------------------------------------------------
1 | import { SettingProvider } from './../../../providers/setting/setting';
2 | import { Component, ViewChild } from '@angular/core';
3 | import { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';
4 |
5 | /**
6 | * Generated class for the HomePage page.
7 | *
8 | * See http://ionicframework.com/docs/components/#navigation for more info
9 | * on Ionic pages and navigation.
10 | */
11 |
12 | @IonicPage()
13 | @Component({
14 | selector: 'page-home',
15 | templateUrl: 'home.html',
16 | })
17 | export class HomePage {
18 |
19 | @ViewChild('slider') slider: Slides;
20 |
21 | slides = [
22 | {
23 | title: 'Dream\'s Adventure',
24 | imageUrl: 'assets/img/bg.jpg',
25 | songs: 2,
26 | private: false
27 | },
28 | {
29 | title: 'For the Weekend',
30 | imageUrl: 'assets/img/slide1.jpeg',
31 | songs: 4,
32 | private: false
33 | },
34 | {
35 | title: 'Family Time',
36 | imageUrl: 'assets/img/bg.jpg',
37 | songs: 5,
38 | private: true
39 | },
40 | {
41 | title: 'My Trip',
42 | imageUrl: 'assets/img/slide2.jpeg',
43 | songs: 12,
44 | private: true
45 | }
46 | ];
47 | constructor(
48 | public navCtrl: NavController,
49 | public navParams: NavParams,
50 | ) {
51 | // 获取当前主题
52 | }
53 |
54 | ionViewDidLoad() {
55 | console.log('ionViewDidLoad HomePage');
56 | }
57 | showSearch() {
58 | this.navCtrl.push('SearchPage');
59 | }
60 | openMap() {
61 | this.navCtrl.push('MapPage');
62 | }
63 | onSlideChanged() {
64 | const currentIndex = this.slider.getActiveIndex();
65 | // console.log(currentIndex);
66 | }
67 |
68 | }
69 |
70 |
--------------------------------------------------------------------------------
/.sourcemaps/10.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["../../src/pages/iconfont/iconfont.module.ts","../../src/pages/iconfont/iconfont.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACN;AAU1C,IAAa,kBAAkB;IAA/B;IAAiC,CAAC;IAAD,yBAAC;AAAD,CAAC;AAArB,kBAAkB;IAR9B,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,+DAAY;SACb;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,+DAAY,CAAC;SACvC;KACF,CAAC;GACW,kBAAkB,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;ACZW;AAC0B;AAEpE;;;;;GAKG;AAOH,IAAa,YAAY;IAEvB,sBAAmB,OAAsB,EAAS,SAAoB;QAAnD,YAAO,GAAP,OAAO,CAAe;QAAS,cAAS,GAAT,SAAS,CAAW;IACtE,CAAC;IAED,qCAAc,GAAd;QACE,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;IAC7C,CAAC;IAEH,mBAAC;AAAD,CAAC;AATY,YAAY;IALxB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,eAAe;OACG;KAC7B,CAAC;iBAGsE;AAOvE;SATY,YAAY,e","file":"10.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { IconfontPage } from './iconfont';\n\n@NgModule({\n declarations: [\n IconfontPage,\n ],\n imports: [\n IonicPageModule.forChild(IconfontPage),\n ],\n})\nexport class IconfontPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/iconfont/iconfont.module.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the IconfontPage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-iconfont',\n templateUrl: 'iconfont.html',\n})\nexport class IconfontPage {\n\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad IconfontPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/iconfont/iconfont.ts"],"sourceRoot":""}
--------------------------------------------------------------------------------
/.sourcemaps/1.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["../../src/pages/video/video.module.ts","../../src/pages/video/video.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACZ;AAapC,IAAa,eAAe;IAA5B;IAA8B,CAAC;IAAD,sBAAC;AAAD,CAAC;AAAlB,eAAe;IAX3B,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,yDAAS;SACV;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,yDAAS,CAAC;SACpC;QACD,OAAO,EAAC;YACN,yDAAS;SACV;KACF,CAAC;GACW,eAAe,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;ACfc;AAC0B;AAEpE;;;;;GAKG;AAOH,IAAa,SAAS;IAEpB,mBAAmB,OAAsB,EAAS,SAAoB;QAAnD,YAAO,GAAP,OAAO,CAAe;QAAS,cAAS,GAAT,SAAS,CAAW;IACtE,CAAC;IAED,kCAAc,GAAd;QACE,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAC;IAC1C,CAAC;IAEH,gBAAC;AAAD,CAAC;AATY,SAAS;IALrB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,YAAY;OACG;KAC1B,CAAC;cAGsE;AAOvE;SATY,SAAS,e","file":"1.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { VideoPage } from './video';\n\n@NgModule({\n declarations: [\n VideoPage,\n ],\n imports: [\n IonicPageModule.forChild(VideoPage),\n ],\n exports:[\n VideoPage\n ]\n})\nexport class VideoPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/video/video.module.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the VideoPage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-video',\n templateUrl: 'video.html',\n})\nexport class VideoPage {\n\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad VideoPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/video/video.ts"],"sourceRoot":""}
--------------------------------------------------------------------------------
/.sourcemaps/4.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["../../src/pages/tabs/login/login.module.ts","../../src/pages/tabs/login/login.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACZ;AAWpC,IAAa,eAAe;IAA5B;IAA8B,CAAC;IAAD,sBAAC;AAAD,CAAC;AAAlB,eAAe;IAT3B,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,yDAAS;SACV;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,yDAAS,CAAC;SACpC;QACD,OAAO,EAAC,CAAC,yDAAS,CAAC;KACpB,CAAC;GACW,eAAe,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;ACbc;AAC0B;AAEpE;;;;;GAKG;AAOH,IAAa,SAAS;IAEpB,mBAAmB,OAAsB,EAAS,SAAoB;QAAnD,YAAO,GAAP,OAAO,CAAe;QAAS,cAAS,GAAT,SAAS,CAAW;IACtE,CAAC;IAED,kCAAc,GAAd;QACE,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAC;IAC1C,CAAC;IACD,yBAAK,GAAL;IAEA,CAAC;IACH,gBAAC;AAAD,CAAC;AAXY,SAAS;IALrB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,YAAY;OACG;KAC1B,CAAC;cAGsE;AASvE;SAXY,SAAS,e","file":"4.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { LoginPage } from './login';\n\n@NgModule({\n declarations: [\n LoginPage,\n ],\n imports: [\n IonicPageModule.forChild(LoginPage),\n ],\n exports:[LoginPage]\n})\nexport class LoginPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tabs/login/login.module.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the LoginPage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-login',\n templateUrl: 'login.html',\n})\nexport class LoginPage {\n\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad LoginPage');\n }\n login(){\n \n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tabs/login/login.ts"],"sourceRoot":""}
--------------------------------------------------------------------------------
/src/pages/tabs/class/class.ts:
--------------------------------------------------------------------------------
1 | import { Component, ViewChild } from '@angular/core';
2 | import { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';
3 |
4 | /**
5 | * Generated class for the ClassPage page.
6 | *
7 | * See http://ionicframework.com/docs/components/#navigation for more info
8 | * on Ionic pages and navigation.
9 | */
10 |
11 | @IonicPage()
12 | @Component({
13 | selector: 'page-class',
14 | templateUrl: 'class.html',
15 | })
16 | export class ClassPage {
17 |
18 | @ViewChild('slider') slider: Slides;
19 | color: any;
20 | colors = ['rgba(34, 19, 19, 0.33)', '#e0e437', '#37e446', '#375be4', '#972cb1'];
21 | slideindex: any = 1;
22 |
23 | cards = [
24 | {
25 | imgsrc: "assets/img/slide2.jpeg",
26 | span:"马克图文",
27 | title: "福利 | 王牌特工2华丽回归!",
28 | content:"不看后悔一整年",
29 | people:"249"
30 | },
31 | {
32 | imgsrc: "assets/img/slide1.jpeg",
33 | span:"哔哔",
34 | title: "人性经得起考验吗?",
35 | content:"不想看见你丑陋的样子",
36 | people:"2534"
37 | },
38 | {
39 | imgsrc: "assets/img/slide2.jpeg",
40 | span:"马克图文",
41 | title: "重磅!问号君来了!",
42 | content:"咱们好好说道说道",
43 | people:"990"
44 | },
45 | {
46 | imgsrc: "assets/img/slide1.jpeg",
47 | span:"哔哔",
48 | title: "谁是你生命中最重要的人?",
49 | content:"都是人生过客,除了你",
50 | people:"4982"
51 | }
52 | ]
53 | constructor(public navCtrl: NavController, public navParams: NavParams) {
54 | this.color = this.colors[0];
55 | }
56 |
57 | ionViewDidLoad() {
58 | console.log('ionViewDidLoad ClassPage');
59 | }
60 | onSlideChanged() {
61 | const currentIndex = this.slider.getActiveIndex();
62 | this.color = this.colors[currentIndex];
63 | this.slideindex = currentIndex + 1;
64 | }
65 |
66 | }
67 |
--------------------------------------------------------------------------------
/.sourcemaps/2.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["../../src/pages/tabs/tabs.module.ts","../../src/pages/tabs/tabs.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACd;AAWlC,IAAa,cAAc;IAA3B;IAA6B,CAAC;IAAD,qBAAC;AAAD,CAAC;AAAjB,cAAc;IAT1B,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,uDAAQ;SACT;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,uDAAQ,CAAC;SACnC;QACD,OAAO,EAAC,CAAC,uDAAQ,CAAC;KACnB,CAAC;GACW,cAAc,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;ACbe;AACyB;AAEnE;;;;;GAKG;AAOH,IAAa,QAAQ;IAQnB,kBAAmB,OAAsB,EAAS,SAAoB;QAAnD,YAAO,GAAP,OAAO,CAAe;QAAS,cAAS,GAAT,SAAS,CAAW;QANtE,aAAQ,GAAG,UAAU;QACrB,cAAS,GAAG,WAAW;QACvB,cAAS,GAAG,WAAW;QACvB,cAAS,GAAG,WAAW;IAGkD,CAAC;IAE5E,eAAC;AAAD,CAAC;AAVY,QAAQ;IALpB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,WAAW;OACG;KACzB,CAAC;aASsE;AAEvE;SAVY,QAAQ,e","file":"2.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { TabsPage } from './tabs';\n\n@NgModule({\n declarations: [\n TabsPage,\n ],\n imports: [\n IonicPageModule.forChild(TabsPage),\n ],\n exports:[TabsPage]\n})\nexport class TabsPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tabs/tabs.module.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController,NavParams } from 'ionic-angular';\r\n\r\n/**\r\n * Generated class for the TabsPage tabs.\r\n *\r\n * See https://angular.io/docs/ts/latest/guide/dependency-injection.html for\r\n * more info on providers and Angular DI.\r\n */\r\n\r\n@IonicPage()\r\n@Component({\r\n selector: 'page-tabs',\r\n templateUrl: 'tabs.html'\r\n})\r\nexport class TabsPage {\r\n\r\n homeRoot = 'HomePage'\r\n orderRoot = 'OrderPage'\r\n classRoot = 'ClassPage'\r\n aboutRoot = 'AboutPage'\r\n\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams) {}\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tabs/tabs.ts"],"sourceRoot":""}
--------------------------------------------------------------------------------
/.sourcemaps/7.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["../../src/pages/tabs/about/about.module.ts","../../src/pages/tabs/about/about.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACZ;AAWpC,IAAa,eAAe;IAA5B;IAA8B,CAAC;IAAD,sBAAC;AAAD,CAAC;AAAlB,eAAe;IAT3B,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,yDAAS;SACV;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,yDAAS,CAAC;SACpC;QACD,OAAO,EAAC,CAAC,yDAAS,CAAC;KACpB,CAAC;GACW,eAAe,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;ACbc;AAC0B;AAEpE;;;;;GAKG;AAOH,IAAa,SAAS;IAEpB,mBAAmB,OAAsB,EAAS,SAAoB;QAAnD,YAAO,GAAP,OAAO,CAAe;QAAS,cAAS,GAAT,SAAS,CAAW;IACtE,CAAC;IAED,kCAAc,GAAd;QACE,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAC;IAC1C,CAAC;IAED,6BAAS,GAAT;QACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC;IAChC,CAAC;IAEH,gBAAC;AAAD,CAAC;AAbY,SAAS;IALrB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,YAAY;OACG;KAC1B,CAAC;cAGsE;AAWvE;SAbY,SAAS,e","file":"7.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { AboutPage } from './about';\n\n@NgModule({\n declarations: [\n AboutPage,\n ],\n imports: [\n IonicPageModule.forChild(AboutPage),\n ],\n exports:[AboutPage]\n})\nexport class AboutPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tabs/about/about.module.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the AboutPage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-about',\n templateUrl: 'about.html',\n})\nexport class AboutPage {\n\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad AboutPage');\n }\n\n showLogin() {\n this.navCtrl.push('LoginPage')\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tabs/about/about.ts"],"sourceRoot":""}
--------------------------------------------------------------------------------
/src/pages/tabs/login/login.html:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 | 登录
11 |
12 |
13 |
14 |
15 |
16 |
17 |
29 |
30 |
33 |
34 |
35 |
39 |
40 |
41 |
42 |
43 | 手机号快速注册
44 |
45 |
46 |
47 |
51 |
52 |
53 |
54 |
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/src/pages/tabs/order/order.ts:
--------------------------------------------------------------------------------
1 | import { Component, ViewChild } from '@angular/core';
2 | import { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';
3 |
4 | /**
5 | * Generated class for the OrderPage page.
6 | *
7 | * See http://ionicframework.com/docs/components/#navigation for more info
8 | * on Ionic pages and navigation.
9 | */
10 |
11 | @IonicPage()
12 | @Component({
13 | selector: 'page-order',
14 | templateUrl: 'order.html',
15 | })
16 | export class OrderPage {
17 | isClose: boolean = false;
18 | score: any = {
19 | star: 0,
20 | starMap: [
21 | '不满意',
22 | '还行',
23 | '一般',
24 | '满意',
25 | '很满意',
26 | ]
27 | }
28 | @ViewChild('slider') slider: Slides;
29 |
30 | slides = [
31 | {
32 | title: 'Dream\'s Adventure',
33 | imageUrl: 'assets/img/bg.jpg',
34 | songs: 2,
35 | private: false
36 | },
37 | {
38 | title: 'For the Weekend',
39 | imageUrl: 'assets/img/slide1.jpeg',
40 | songs: 4,
41 | private: false
42 | },
43 | {
44 | title: 'Family Time',
45 | imageUrl: 'assets/img/bg.jpg',
46 | songs: 5,
47 | private: true
48 | },
49 | {
50 | title: 'My Trip',
51 | imageUrl: 'assets/img/slide2.jpeg',
52 | songs: 12,
53 | private: true
54 | }
55 | ];
56 |
57 | constructor(public navCtrl: NavController, public navParams: NavParams) {
58 | }
59 |
60 | ionViewDidLoad() {
61 | console.log('ionViewDidLoad OrderPage');
62 | }
63 | chooseStar(e) {
64 | let star = parseInt(e.target.dataset.index);
65 | this.score.star = star;
66 | // console.log(e.target.dataset.index);
67 | // console.log(this.score.star);
68 | // console.log(star);
69 | }
70 |
71 |
72 | closeScore() {
73 | this.isClose = true;
74 | }
75 | showSearch() {
76 | this.navCtrl.push('SearchPage');
77 | }
78 | openMap() {
79 | this.navCtrl.push('MapPage');
80 | }
81 | onSlideChanged() {
82 | const currentIndex = this.slider.getActiveIndex();
83 | console.log(currentIndex);
84 | }
85 | }
--------------------------------------------------------------------------------
/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Ionic App
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/src/pages/tabs/home/home.scss:
--------------------------------------------------------------------------------
1 | page-home {
2 | .search-div {
3 | width: 100%;
4 | height: 48x;
5 | border-bottom: 1px solid gray;
6 | }
7 | .search-bar {
8 | padding: 0;
9 | float: left;
10 | width: 90%;
11 | height: 36px;
12 | border-radius: 10px;
13 | }
14 | .icon-right {
15 | float: left;
16 | padding: 0;
17 | color: gray;
18 | font-size: 36px;
19 | }
20 | .slide-img {
21 | width: 100%;
22 | height: 120px;
23 | }
24 | ion-slides,
25 | .swiper-container {
26 | height: 100%;
27 | width: auto;
28 | }
29 | .swiper-slide {
30 | background-size: cover !important;
31 | background-position: center !important;
32 | }
33 | .swiper-pagination-bullet {
34 | background-color: white;
35 | }
36 | .myGrid {
37 | background: white;
38 | ion-grid {
39 | padding: 10px 20px 20px;
40 | color: #3C3C3C;
41 | text-align: center;
42 | font-size: 20px;
43 | ion-col {
44 | height: 22px;
45 | }
46 | span {
47 | font-size: 12px;
48 | color: grey;
49 | }
50 | }
51 | }
52 | .parts-sift {
53 | background-color: white;
54 | margin-bottom: 10px;
55 | }
56 | .sift-title {
57 | background-color: white;
58 | height: 100%;
59 | padding-top: 20px;
60 | }
61 | .short-hr {
62 | width: 24px;
63 | } // .sift-dot {
64 | // border-bottom: 1px solid grey;
65 | // }
66 | .sift-col {
67 | position: relative;
68 | .sift-words {
69 | margin-top: -14px;
70 | p {
71 | overflow: hidden;
72 | text-overflow: ellipsis;
73 | white-space: nowrap;
74 | padding: 0;
75 | margin: 0;
76 | }
77 | span{
78 | color:grey;
79 | }
80 | }
81 | ion-item {
82 | margin: -24px 0;
83 | }
84 | img {
85 | border-radius: 6px;
86 | }
87 | .sift-label {
88 | font-size: 10px;
89 | color: white;
90 | background-color: #3CA33C;
91 | border-radius: 2px;
92 | padding: 2px 3px;
93 | position: relative;
94 | left: 78%;
95 | bottom: 28px;
96 | }
97 | span {
98 | font-size: 14px;
99 | }
100 | }
101 | }
102 |
--------------------------------------------------------------------------------
/.sourcemaps/9.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["../../src/pages/map/map.module.ts","../../src/pages/map/map.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AAChB;AAWhC,IAAa,aAAa;IAA1B;IAA4B,CAAC;IAAD,oBAAC;AAAD,CAAC;AAAhB,aAAa;IATzB,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,qDAAO;SACR;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,qDAAO,CAAC;SAClC;QACD,OAAO,EAAC,CAAC,qDAAO,CAAC;KAClB,CAAC;GACW,aAAa,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;ACbuC;AACG;AAepE,IAAa,OAAO;IAIlB,iBAAmB,OAAsB,EAAS,SAAoB;QAAnD,YAAO,GAAP,OAAO,CAAe;QAAS,cAAS,GAAT,SAAS,CAAW;IACtE,CAAC;IAED,gCAAc,GAAd;QACE,IAAI,CAAC,OAAO,EAAE,CAAC;IACjB,CAAC;IAED,yBAAO,GAAP;QACE,IAAI,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,EAAC,MAAM,CAAC,CAAC;QAElD,IAAI,UAAU,GAAG;YACf,MAAM,EAAE,MAAM;YACd,uCAAuC;YACvC,IAAI,EAAE,EAAE;SAET;QAED,IAAI,CAAC,GAAG,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;IAC5E,CAAC;IACH,cAAC;AAAD,CAAC;AAtBmB;IAAjB,0EAAS,CAAC,KAAK,CAAC;8BAAa,iEAAU;2CAAC;AAD9B,OAAO;IALnB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,UAAU;OACG;KACxB,CAAC;YAKsE;AAmBvE;SAvBY,OAAO,e","file":"9.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { MapPage } from './map';\n\n@NgModule({\n declarations: [\n MapPage,\n ],\n imports: [\n IonicPageModule.forChild(MapPage),\n ],\n exports:[MapPage]\n})\nexport class MapPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/map/map.module.ts","import { Component, ViewChild, ElementRef } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the MapPage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\ndeclare var google;\n\n@IonicPage()\n@Component({\n selector: 'page-map',\n templateUrl: 'map.html',\n})\nexport class MapPage {\n @ViewChild('map') mapElement: ElementRef;\n map: any;\n\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n }\n\n ionViewDidLoad() {\n this.loadMap();\n }\n\n loadMap() {\n let latLng = new google.maps.LatLng(23.16,113.23);\n\n let mapOptions = {\n center: latLng,\n // center:{lat: -25.363, lng: 131.044},\n zoom: 15,\n // mapTypeId: google.maps.MapTypeId.ROADMAP\n }\n\n this.map = new google.maps.Map(this.mapElement.nativeElement, mapOptions);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/map/map.ts"],"sourceRoot":""}
--------------------------------------------------------------------------------
/src/pages/tabs/about/about.html:
--------------------------------------------------------------------------------
1 |
7 |
14 |
15 |
16 |
17 |
18 |
19 |
我
20 |
21 |
22 |

23 |
登录,做个学霸~
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 | 缓存
46 |
47 | 收藏
48 |
49 | 历史
50 |
51 | 提醒
52 |
53 |
54 |
55 |
56 |
57 |
58 |
61 |
64 |
67 |
68 |
69 | 动态
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/src/pages/iconfont/iconfont.html:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 | Iconfont
11 |
12 |
13 |
14 |
15 |
16 |
17 | 在线引用三种方式
18 | 1.unicode
19 |
20 |
21 |
22 |
23 | 2.font-class
24 |
25 |
26 |
27 |
28 | 3.symbol
29 |
32 |
35 |
38 |
41 | 离线的三种方式
42 | 1.unicode
43 |
44 |
45 |
46 |
47 | 2.font-class
48 |
49 |
50 |
51 |
52 | 3.symbol
53 |
56 |
59 |
62 |
65 |
66 |
--------------------------------------------------------------------------------
/src/pages/tabs/order/order.scss:
--------------------------------------------------------------------------------
1 | page-order {
2 | .star-bg {
3 | position: absolute;
4 | z-index: 10;
5 | width: 100%;
6 | height: 100%;
7 | background-color: rgba(0, 0, 0, 0.8);
8 | .star-btn {
9 | position: absolute;
10 | top: 0;
11 | right: 0;
12 | }
13 | .star-words {
14 | padding-left: 20px;
15 | font-size: 20px;
16 | position: absolute;
17 | bottom: 80px;
18 | color: white;
19 | }
20 | .star-div {
21 | position: absolute;
22 | padding-left: 20px;
23 | bottom: 40px;
24 | div {
25 | float: left;
26 | }
27 | }
28 | ion-icon {
29 | float: left;
30 | font-size: 28px;
31 | }
32 | }
33 | .search-div {
34 | width: 100%;
35 | height: 48x;
36 | border-bottom: 1px solid gray;
37 | }
38 | .search-bar {
39 | padding: 0;
40 | float: left;
41 | width: 90%;
42 | height: 36px;
43 | border-radius: 10px;
44 | }
45 | .icon-right {
46 | float: left;
47 | padding: 0;
48 | color: gray;
49 | font-size: 36px;
50 | }
51 | .slide-img {
52 | width: 100%;
53 | height: 120px;
54 | }
55 | ion-slides,
56 | .swiper-container {
57 | height: 100%;
58 | width: auto;
59 | }
60 | .swiper-slide {
61 | background-size: cover !important;
62 | background-position: center !important;
63 | }
64 | .swiper-pagination-bullet {
65 | background-color: white;
66 | }
67 | .myGrid {
68 | background: white;
69 | ion-grid {
70 | padding-bottom: 20px;
71 | color: #3C3C3C;
72 | text-align: center;
73 | font-size: 20px;
74 | ion-col {
75 | height: 20px;
76 | }
77 | span {
78 | font-size: 12px;
79 | color: grey;
80 | }
81 | }
82 | }
83 | .parts-order {
84 | .order-title {
85 | background-color: white;
86 | height: 100%;
87 | padding-top: 20px;
88 | .short-hr {
89 | width: 24px;
90 | }
91 | }
92 | .order-cards {
93 | background-color: white;
94 | width: 100%;
95 | margin-bottom: 10px;
96 | }
97 | .img-div {
98 | background-color: white;
99 | padding: 0 20px;
100 | .order-img {
101 | border-radius: 10px;
102 | }
103 | .img-words{
104 | color:white;
105 | padding-left:10px;
106 | padding-right:10px;
107 | margin-top: -100px;
108 | }
109 | }
110 | .span-div {
111 | height: 30px;
112 | background-color: white;
113 | span {
114 | color: grey;
115 | padding: 0px 20px;
116 | }
117 | }
118 | }
119 | }
120 |
--------------------------------------------------------------------------------
/src/pages/contact-consult/contact-consult.html:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 | 咨询留意
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
![客服]()
19 |
20 |
26 |
{{toUs.username}}
27 |
28 |
29 |
30 |
![我]()
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
{{user.username}}
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
56 |
57 |
58 |
59 |
60 |
61 |
90 | -->
95 |
--------------------------------------------------------------------------------
/src/pages/contact-consult/contact-consult.ts:
--------------------------------------------------------------------------------
1 | import { FormControl, FormBuilder } from '@angular/forms'
2 | import { Component, ViewChild } from '@angular/core';
3 | import { IonicPage, NavController, NavParams, Content } from 'ionic-angular';
4 | import { Observable } from 'rxjs/Observable';
5 | import { Http } from '@angular/http';
6 | import 'rxjs/add/operator/map';
7 |
8 | /**
9 | * Generated class for the ContactConsultPage page.
10 | *
11 | * See http://ionicframework.com/docs/components/#navigation for more info
12 | * on Ionic pages and navigation.
13 | */
14 |
15 | @IonicPage()
16 | @Component({
17 | selector: 'page-contact-consult',
18 | templateUrl: 'contact-consult.html',
19 | })
20 | export class ContactConsultPage {
21 | toUs = {
22 | _id: '0001',
23 | pic: 'assets/img/logo2.jpg',
24 | username: '客服'
25 |
26 | }
27 | user = {
28 | _id: '0032',
29 | pic: 'assets/icon/favicon.ico',
30 | username: '我'
31 | }
32 |
33 | @ViewChild(Content) content: Content;
34 |
35 | public messages: any = [
36 | {
37 | userId: this.toUs._id,
38 | pic: 'assets/img/logo2.jpg',
39 | text: '您好,请问有什么可以帮助您的呢?'
40 | }
41 | ];
42 | public messageForm: any;
43 | chatBox: any;
44 |
45 | reply: Observable;
46 | myreply: any = {};
47 |
48 | constructor(
49 | public navCtrl: NavController,
50 | public formBuilder: FormBuilder,
51 | public http: Http
52 | ) {
53 | this.messageForm = formBuilder.group({
54 | message: new FormControl('')
55 | });
56 | this.chatBox = '';
57 |
58 | }
59 |
60 | ionViewDidLoad() {
61 | console.log('ionViewDidLoad User');
62 | }
63 | send(message) {
64 | if (message && message !== ' ') {
65 | const messageData = {
66 | userId: this.user._id,
67 | pic: 'assets/icon/favicon.ico',
68 | text: message
69 | };
70 | this.messages.push(messageData);
71 | this.scrollToBottom();
72 |
73 | // this.films = this.http.get('http://swapi.co/api/films');
74 | // this.films
75 | // .map(res => res.json())
76 | // .subscribe(data => {
77 | // console.log('my data: ', data);
78 | // })
79 | this.reply = this.http.get(`http://www.tuling123.com/openapi/api?key=201a1ff221b94a03aea7fe6ce525ad6b&info=${messageData.text}`);
80 |
81 | this.reply
82 | .map(res => res.json())
83 | .subscribe(data => {
84 | this.myreply.text = data.text;
85 | console.log(this);
86 | })
87 | setTimeout(() => {
88 | var replyData = {
89 | userId: this.toUs._id,
90 | pic: 'assets/img/logo2.jpg',
91 | text: this.myreply.text
92 | };
93 | this.messages.push(replyData);
94 | this.scrollToBottom();
95 | }, 1000);
96 | }
97 | this.chatBox = '';
98 | }
99 | scrollToBottom() {
100 | setTimeout(() => {
101 | this.content.scrollToBottom();
102 | }, 100);
103 | }
104 |
105 | }
106 |
--------------------------------------------------------------------------------
/.sourcemaps/8.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["../../src/pages/start/start.module.ts","../../src/pages/start/start.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACZ;AAWpC,IAAa,eAAe;IAA5B;IAA8B,CAAC;IAAD,sBAAC;AAAD,CAAC;AAAl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AAC;QAAC,IAAI,CAAC,CAAC;YACN,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;QAC7C,CAAC;IACH,CAAC;IACH,gBAAC;AAAD,CAAC;AAnCY,SAAS;IALrB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,YAAY;OACG;KAC1B,CAAC;6FAIsE;QAClD,MAAe;AA+BpC;SAnCY,SAAS,e","file":"8.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { StartPage } from './start';\n\n@NgModule({\n declarations: [\n StartPage,\n ],\n imports: [\n IonicPageModule.forChild(StartPage),\n ],\n exports:[StartPage]\n})\nexport class StartPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/start/start.module.ts","import { SettingProvider } from './../../providers/setting/setting';\nimport { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the StartPage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-start',\n templateUrl: 'start.html',\n})\nexport class StartPage {\n selectedTheme: String;\n \n constructor(public navCtrl: NavController, public navParams: NavParams,\n private settings: SettingProvider) {\n this.settings.getActiveTheme().subscribe(val => this.selectedTheme = val);\n \n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad StartPage');\n }\n goNetEase() {\n this.navCtrl.push('TabsPage');\n }\n goVideo() {\n this.navCtrl.push('VideoPage');\n }\n goMap() {\n this.navCtrl.push('MapPage');\n }\n goTalk() {\n this.navCtrl.push('ContactConsultPage');\n }\n goIconFont(){\n \n }\n changeTheme() {\n if (this.selectedTheme === 'dark-theme') {\n //改变\n this.settings.setActiveTheme('light-theme');\n } else {\n this.settings.setActiveTheme('dark-theme');\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/start/start.ts"],"sourceRoot":""}
--------------------------------------------------------------------------------
/.sourcemaps/5.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["../../src/pages/tabs/home/home.module.ts","../../src/pages/tabs/home/home.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACd;AAWlC,IAAa,cAAc;IAA3B;IAA6B,CAAC;IAAD,qBAAC;AAAD,CAAC;AAAjB,cAAc;IAT1B,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,uDAAQ;SACT;QACD,OAAO,EAAE;YACP,sEAAe,CAAC,QAAQ,CAAC,uDAAQ,CAAC;SACnC;QACD,OAAO,EAAC,CAAC,uDAAQ,CAAC;KACnB,CAAC;GACW,cAAc,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;ACZ0B;AACuB;AAE5E;;;;;GAKG;AAOH,IAAa,QAAQ;IA8BnB,kBACS,OAAsB,EACtB,SAAoB;QADpB,YAAO,GAAP,OAAO,CAAe;QACtB,cAAS,GAAT,SAAS,CAAW;QA5B7B,WAAM,GAAG;YACP;gBACE,KAAK,EAAE,oBAAoB;gBAC3B,QAAQ,EAAE,mBAAmB;gBAC7B,KAAK,EAAE,CAAC;gBACR,OAAO,EAAE,KAAK;aACf;YACD;gBACE,KAAK,EAAE,iBAAiB;gBACxB,QAAQ,EAAE,wBAAwB;gBAClC,KAAK,EAAE,CAAC;gBACR,OAAO,EAAE,KAAK;aACf;YACD;gBACE,KAAK,EAAE,aAAa;gBACpB,QAAQ,EAAE,mBAAmB;gBAC7B,KAAK,EAAE,CAAC;gBACR,OAAO,EAAE,IAAI;aACd;YACD;gBACE,KAAK,EAAE,SAAS;gBAChB,QAAQ,EAAE,wBAAwB;gBAClC,KAAK,EAAE,EAAE;gBACT,OAAO,EAAE,IAAI;aACd;SACF,CAAC;QAKA,SAAS;IACX,CAAC;IAED,iCAAc,GAAd;QACE,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;IACzC,CAAC;IACD,6BAAU,GAAV;QACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IAClC,CAAC;IACD,0BAAO,GAAP;QACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC/B,CAAC;IACD,iCAAc,GAAd;QACE,IAAM,YAAY,GAAG,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;QAClD,6BAA6B;IAC/B,CAAC;IAEH,eAAC;AAAD,CAAC;AAjDsB;IAApB,0EAAS,CAAC,QAAQ,CAAC;8BAAS,6DAAM;wCAAC;AAFzB,QAAQ;IALpB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,WAAW;OACG;KACzB,CAAC;0EAgC+B;QACX,KAAS;AAmB9B;SAnDY,QAAQ,e","file":"5.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { HomePage } from './home';\n\n@NgModule({\n declarations: [\n HomePage,\n ],\n imports: [\n IonicPageModule.forChild(HomePage),\n ],\n exports:[HomePage]\n})\nexport class HomePageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tabs/home/home.module.ts","import { SettingProvider } from './../../../providers/setting/setting';\nimport { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\n\n/**\n * Generated class for the HomePage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-home',\n templateUrl: 'home.html',\n})\nexport class HomePage {\n\n @ViewChild('slider') slider: Slides;\n\n slides = [\n {\n title: 'Dream\\'s Adventure',\n imageUrl: 'assets/img/bg.jpg',\n songs: 2,\n private: false\n },\n {\n title: 'For the Weekend',\n imageUrl: 'assets/img/slide1.jpeg',\n songs: 4,\n private: false\n },\n {\n title: 'Family Time',\n imageUrl: 'assets/img/bg.jpg',\n songs: 5,\n private: true\n },\n {\n title: 'My Trip',\n imageUrl: 'assets/img/slide2.jpeg',\n songs: 12,\n private: true\n }\n ];\n constructor(\n public navCtrl: NavController,\n public navParams: NavParams,\n ) {\n // 获取当前主题\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad HomePage');\n }\n showSearch() {\n this.navCtrl.push('SearchPage');\n }\n openMap() {\n this.navCtrl.push('MapPage');\n }\n onSlideChanged() {\n const currentIndex = this.slider.getActiveIndex();\n // console.log(currentIndex);\n }\n\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tabs/home/home.ts"],"sourceRoot":""}
--------------------------------------------------------------------------------
/src/pages/contact-consult/contact-consult.scss:
--------------------------------------------------------------------------------
1 | page-contact-consult {
2 | .message-wrapper {
3 | position: relative;
4 | }
5 | .meaasge-wrapper:last-child {
6 | margin-bottom: 10px;
7 | }
8 | .message-pic {
9 | width: 48px;
10 | height: 48px;
11 | border-radius: 50%;
12 | position: absolute;
13 | top: 10px;
14 | display: block;
15 | }
16 | .triangle-left {
17 | margin-left: 64px;
18 | margin-top:24px;
19 | position: absolute;
20 |
21 | // position: relative;
22 | // display: inline-block;
23 | border-top:4px solid transparent;
24 | border-left:4px solid #DB4E4E;
25 | border-bottom:4px solid #DB4E4E;
26 | border-right:4px solid transparent;
27 | transform: rotate(45deg);
28 |
29 | }
30 | .triangle-right {
31 | right: 64px;
32 | margin-top:24px;
33 | position: absolute;
34 |
35 | // position: relative;
36 | // display: inline-block;
37 | border-top:4px solid transparent;
38 | border-left:4px solid transparent;
39 | border-bottom:4px solid #1b1b92;
40 | border-right:4px solid #1b1b92;
41 | transform: rotate(-45deg);
42 |
43 | }
44 | .message-pic.left {
45 | left: 10px;
46 | }
47 | .message-pic.right {
48 | right: 10px;
49 | }
50 | .chat-bubble {
51 | font-size: 16px;
52 | border-radius: 5px;
53 | max-width: 62%;
54 | padding: 10px 16px;
55 | margin: 10px;
56 | position: relative;
57 | display: inline-block;
58 | color:white;
59 | }
60 | .chat-bubble.left {
61 | float: left;
62 | background-color: #DB4E4E;
63 | margin-left: 68px;
64 | }
65 | .chat-bubble.right {
66 | float: right;
67 | background-color: #1b1b92;
68 | margin-right: 68px;
69 | }
70 | .span-name {
71 | font-size: 14px;
72 | text-align: center;
73 | position: absolute;
74 | display: block;
75 | top: 60px;
76 | }
77 | .span-name.left {
78 | left: 20px;
79 | }
80 | .span-name.right {
81 | right: 27px;
82 | }
83 | .cf {
84 | clear: both !important;
85 | } // .span-name {
86 | // font-size: 14px;
87 | // position: absolute;
88 | // display: inline-block;
89 | // top:68px;
90 | // }
91 | // .span-name.left {
92 | // left: 20px;
93 | // }
94 | // .span-name.right {
95 | // right: 20px;
96 | // }
97 | // .input-label{
98 | // display: inline-block;
99 | // max-width: 140px;
100 | // margin:13px 10px 13px 4px;
101 | // width: 30%;
102 | // white-space: normal;
103 | // vertical-align: top;
104 | // color: #585858;
105 | // }
106 | // .input-textarea{
107 | // border: 1px solid #dedede;
108 | // width: 80%;
109 | // max-height: 80px;
110 | // outline: 0;
111 | // font-size: 1.4rem;
112 | // line-height: 1.5em;
113 | // padding:0 auto;
114 | // word-wrap: break-word;
115 | // white-space: initial;
116 | // overflow-x: hidden;
117 | // overflow-y: auto;
118 | // }
119 | // /*为空时显示 element attribute content*/
120 | // .input-textarea:empty:before{
121 | // content: attr(placeholder); /* element attribute*/
122 | // /*content: 'this is content';*/
123 | // color:#ccc;
124 | // }
125 | // /*焦点时内容为空*/
126 | // .input-textarea:focus:before{
127 | // content:none;
128 | // }
129 | }
130 |
--------------------------------------------------------------------------------
/.sourcemaps/6.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["../../src/pages/tabs/class/class.module.ts","../../src/pages/tabs/class/class.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;AACO;AACZ;AAWpC,IAAa,eAAe;IAA5B;IAA8B,CAAC;IAAD,sBAAC;AAAD,CAAC;AAAlB,eAAe;IAT3B,uEAAQ,CAAC;QACR,YAAY,EAAE;YACZ,yDAAS;SACV;QACD,OAAO,EAAE;YACP,sE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QAClD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QACvC,IAAI,CAAC,UAAU,GAAG,YAAY,GAAG,CAAC,CAAC;IACrC,CAAC;IAEH,gBAAC;AAAD,CAAC;AAhDsB;IAApB,0EAAS,CAAC,QAAQ,CAAC;8BAAS,6DAAM;yCAAC;AAFzB,SAAS;IALrB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,YAAY;OACG;KAC1B,CAAC;cAsCsE;AAavE;SAlDY,SAAS,e","file":"6.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { ClassPage } from './class';\n\n@NgModule({\n declarations: [\n ClassPage,\n ],\n imports: [\n IonicPageModule.forChild(ClassPage),\n ],\n exports:[ClassPage]\n})\nexport class ClassPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tabs/class/class.module.ts","import { Component, ViewChild } from '@angular/core';\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\n\n/**\n * Generated class for the ClassPage page.\n *\n * See http://ionicframework.com/docs/components/#navigation for more info\n * on Ionic pages and navigation.\n */\n\n@IonicPage()\n@Component({\n selector: 'page-class',\n templateUrl: 'class.html',\n})\nexport class ClassPage {\n\n @ViewChild('slider') slider: Slides;\n color: any;\n colors = ['rgba(34, 19, 19, 0.33)', '#e0e437', '#37e446', '#375be4', '#972cb1'];\n slideindex: any = 1;\n\n cards = [\n {\n imgsrc: \"assets/img/slide2.jpeg\",\n span:\"马克图文\",\n title: \"福利 | 王牌特工2华丽回归!\",\n content:\"不看后悔一整年\",\n people:\"249\"\n },\n {\n imgsrc: \"assets/img/slide1.jpeg\",\n span:\"哔哔\",\n title: \"人性经得起考验吗?\",\n content:\"不想看见你丑陋的样子\",\n people:\"2534\"\n },\n {\n imgsrc: \"assets/img/slide2.jpeg\",\n span:\"马克图文\",\n title: \"重磅!问号君来了!\",\n content:\"咱们好好说道说道\",\n people:\"990\"\n },\n {\n imgsrc: \"assets/img/slide1.jpeg\",\n span:\"哔哔\",\n title: \"谁是你生命中最重要的人?\",\n content:\"都是人生过客,除了你\",\n people:\"4982\"\n }\n ]\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n this.color = this.colors[0];\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad ClassPage');\n }\n onSlideChanged() {\n const currentIndex = this.slider.getActiveIndex();\n this.color = this.colors[currentIndex];\n this.slideindex = currentIndex + 1;\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tabs/class/class.ts"],"sourceRoot":""}
--------------------------------------------------------------------------------
/src/theme/variables.scss:
--------------------------------------------------------------------------------
1 | // Ionic Variables and Theming. For more info, please see:
2 | // http://ionicframework.com/docs/theming/
3 |
4 | // Font path is used to include ionicons,
5 | // roboto, and noto sans fonts
6 | $font-path: "../assets/fonts";
7 |
8 |
9 | // The app direction is used to include
10 | // rtl styles in your app. For more info, please see:
11 | // http://ionicframework.com/docs/theming/rtl-support/
12 | $app-direction: ltr;
13 |
14 |
15 | @import "ionic.globals";
16 |
17 |
18 | // Shared Variables
19 | // --------------------------------------------------
20 | // To customize the look and feel of this app, you can override
21 | // the Sass variables found in Ionic's source scss files.
22 | // To view all the possible Ionic variables, see:
23 | // http://ionicframework.com/docs/theming/overriding-ionic-variables/
24 |
25 |
26 |
27 |
28 | // Named Color Variables
29 | // --------------------------------------------------
30 | // Named colors makes it easy to reuse colors on various components.
31 | // It's highly recommended to change the default colors
32 | // to match your app's branding. Ionic uses a Sass map of
33 | // colors so you can add, rename and remove colors as needed.
34 | // The "primary" color is the only required color in the map.
35 |
36 | $colors: (
37 | primary: #488aff,
38 | secondary: #32db64,
39 | danger: #f53d3d,
40 | light: #f4f4f4,
41 | dark: #222222,
42 |
43 | mygrey: grey,
44 | energized: #ffc527,
45 | royal: #7e60ff,
46 | subtle: #444444,
47 | vibrant: rebeccapurple,
48 | bright: #ffc125,
49 |
50 | beauty1: #60bdaf,
51 | beauty2: #a1d8b1,
52 | beauty3: #edfcc2,
53 | beauty4: #f88aaf,
54 | beauty5: #92A2A1,
55 |
56 | warm1: #fdf1d9,
57 | warm2: #c0a286,
58 | warm3: #a6af76,
59 | warm4: #d4c69c,
60 | warm5: #e4ab7e,
61 |
62 | chrome1: #D3CFCF,
63 | chrome2: #b65070,
64 | chrome3: #e5574f,
65 | chrome4: #f08664,
66 | chrome5: #fccb87,
67 | chrome6: #dbe6a2,
68 | chrome7: #88bfb1
69 |
70 | );
71 |
72 | //tabs color
73 |
74 | // $tabs-ios-tab-text-color: grey;
75 | // $tabs-ios-tab-text-color-active : #32db64;
76 | // $tabs-ios-tab-icon-color : grey;
77 | // $tabs-ios-tab-icon-color-active : #32db64;
78 |
79 |
80 |
81 | // App iOS Variables
82 | // --------------------------------------------------
83 | // iOS only Sass variables can go here
84 |
85 |
86 |
87 |
88 |
89 | // App Material Design Variables
90 | // --------------------------------------------------
91 | // Material Design only Sass variables can go here
92 |
93 |
94 |
95 |
96 | // App Windows Variables
97 | // --------------------------------------------------
98 | // Windows only Sass variables can go here
99 |
100 |
101 |
102 |
103 | // App Theme
104 | // --------------------------------------------------
105 | // Ionic apps can have different themes applied, which can
106 | // then be future customized. This import comes last
107 | // so that the above variables are used and Ionic's
108 | // default are overridden.
109 |
110 | @import "ionic.theme.default";
111 |
112 |
113 | // Ionicons
114 | // --------------------------------------------------
115 | // The premium icon font for Ionic. For more info, please see:
116 | // http://ionicframework.com/docs/ionicons/
117 |
118 | @import "ionic.ionicons";
119 |
120 |
121 | // Fonts
122 | // --------------------------------------------------
123 |
124 | @import "roboto";
125 | @import "noto-sans";
126 |
127 |
128 | @import "./theme.dark";
129 | @import "./theme.light";
--------------------------------------------------------------------------------
/.sourcemaps/3.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["../../src/pages/tabs/order/order.module.ts","../../src/pages/tabs/order/order.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAyC;A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IAAI,IAAI,GAAG,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAC5C,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC;QACvB,uCAAuC;QACvC,gCAAgC;QAChC,qBAAqB;IACvB,CAAC;IAGD,8BAAU,GAAV;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;IACtB,CAAC;IACD,8BAAU,GAAV;QACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IAClC,CAAC;IACD,2BAAO,GAAP;QACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC/B,CAAC;IACD,kCAAc,GAAd;QACE,IAAM,YAAY,GAAG,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IAC5B,CAAC;IACH,gBAAC;AAAD,CAAC;AAzDsB;IAApB,0EAAS,CAAC,QAAQ,CAAC;8BAAS,6DAAM;yCAAC;AAZzB,SAAS;IALrB,wEAAS,EAAE;IACX,wEAAS,CAAC;QACT,QAAQ,EAAE,YAAY;OACG;KAC1B,CAAC;cA0CsE;AA4BvE;SArEY,SAAS,e","file":"3.js","sourcesContent":["import { NgModule } from '@angular/core';\nimport { IonicPageModule } from 'ionic-angular';\nimport { OrderPage } from './order';\n\n@NgModule({\n declarations: [\n OrderPage,\n ],\n imports: [\n IonicPageModule.forChild(OrderPage),\n ],\n exports:[OrderPage]\n})\nexport class OrderPageModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tabs/order/order.module.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\r\n\r\n/**\r\n * Generated class for the OrderPage page.\r\n *\r\n * See http://ionicframework.com/docs/components/#navigation for more info\r\n * on Ionic pages and navigation.\r\n */\r\n\r\n@IonicPage()\r\n@Component({\r\n selector: 'page-order',\r\n templateUrl: 'order.html',\r\n})\r\nexport class OrderPage {\r\n isClose: boolean = false;\r\n score: any = {\r\n star: 0,\r\n starMap: [\r\n '不满意',\r\n '还行',\r\n '一般',\r\n '满意',\r\n '很满意',\r\n ]\r\n }\r\n @ViewChild('slider') slider: Slides;\r\n\r\n slides = [\r\n {\r\n title: 'Dream\\'s Adventure',\r\n imageUrl: 'assets/img/bg.jpg',\r\n songs: 2,\r\n private: false\r\n },\r\n {\r\n title: 'For the Weekend',\r\n imageUrl: 'assets/img/slide1.jpeg',\r\n songs: 4,\r\n private: false\r\n },\r\n {\r\n title: 'Family Time',\r\n imageUrl: 'assets/img/bg.jpg',\r\n songs: 5,\r\n private: true\r\n },\r\n {\r\n title: 'My Trip',\r\n imageUrl: 'assets/img/slide2.jpeg',\r\n songs: 12,\r\n private: true\r\n }\r\n ];\r\n \r\n constructor(public navCtrl: NavController, public navParams: NavParams) {\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad OrderPage');\r\n }\r\n chooseStar(e) {\r\n let star = parseInt(e.target.dataset.index);\r\n this.score.star = star;\r\n // console.log(e.target.dataset.index);\r\n // console.log(this.score.star);\r\n // console.log(star);\r\n }\r\n\r\n\r\n closeScore() {\r\n this.isClose = true;\r\n }\r\n showSearch() {\r\n this.navCtrl.push('SearchPage');\r\n }\r\n openMap() {\r\n this.navCtrl.push('MapPage');\r\n }\r\n onSlideChanged() {\r\n const currentIndex = this.slider.getActiveIndex();\r\n console.log(currentIndex);\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/tabs/order/order.ts"],"sourceRoot":""}
--------------------------------------------------------------------------------
/src/pages/tabs/order/order.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 | {{slide.title}}
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | 视频分类
48 |
49 | 添加订阅
50 |
51 | 我的订阅
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
我的订阅
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 | 每日TED优选
68 | 2017/01/05
69 |
70 |
71 |
72 |

73 |
74 |
如何掌控你们自己的时间
75 |
经常听见有人抱怨自己很忙,没时间做这个,没时间做哪个。情况真实是这样的吗?
76 |
77 |
78 |
79 | 11`55`` | 4387万人观看
80 | #视频
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 | 每日TED优选
90 | 2017/01/05
91 |
92 |
93 |
94 |

95 |
96 |
如何掌控你们自己的时间
97 |
经常听见有人抱怨自己很忙,没时间做这个,没时间做哪个。情况真实是这样的吗?
98 |
99 |
100 |
101 | 11`55`` | 4387万人观看
102 | #视频
103 |
104 |
105 |
106 |
107 |
108 |
109 |
--------------------------------------------------------------------------------
/config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | MyApp
4 | An awesome Ionic/Cordova app.
5 | Ionic Framework Team
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/src/pages/tabs/home/home.html:
--------------------------------------------------------------------------------
1 |
7 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 | {{slide.title}}
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 | 最热
52 |
53 | 最新
54 |
55 | 直播
56 |
57 | 分类
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
编辑 · 精选
66 |
67 |
68 |
69 |
70 |
71 |
72 |

73 |
视频
74 |
75 |
[经典名著选读]:俳句的颠覆
76 |
53463人观看
77 |
78 |
79 |
80 |
81 |
82 |

83 |
视频
84 |
85 |
[经典名著选读]:俳句的颠覆
86 |
53463人观看
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |

95 |
视频
96 |
97 |
[经典名著选读]:俳句的颠覆
98 |
53463人观看
99 |
100 |
101 |
102 |
103 |
104 |

105 |
视频
106 |
107 |
[经典名著选读]:俳句的颠覆
108 |
53463人观看
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |

117 |
视频
118 |
119 |
[经典名著选读]:俳句的颠覆
120 |
53463人观看
121 |
122 |
123 |
124 |
125 |
126 |

127 |
视频
128 |
129 |
[经典名著选读]:俳句的颠覆
130 |
53463人观看
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |

139 |
视频
140 |
141 |
[经典名著选读]:俳句的颠覆
142 |
53463人观看
143 |
144 |
145 |
146 |
147 |
148 |

149 |
视频
150 |
151 |
[经典名著选读]:俳句的颠覆
152 |
53463人观看
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
为你 · 推荐
163 |
164 |
165 |
166 |
167 |
168 |
169 |

170 |
视频
171 |
172 |
[经典名著选读]:俳句的颠覆
173 |
53463人观看
174 |
175 |
176 |
177 |
178 |
179 |

180 |
视频
181 |
182 |
[经典名著选读]:俳句的颠覆
183 |
53463人观看
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |

192 |
视频
193 |
194 |
[经典名著选读]:俳句的颠覆
195 |
53463人观看
196 |
197 |
198 |
199 |
200 |
201 |

202 |
视频
203 |
204 |
[经典名著选读]:俳句的颠覆
205 |
53463人观看
206 |
207 |
208 |
209 |
210 |
211 |
212 |
213 |
214 |
--------------------------------------------------------------------------------
/src/assets/icon/iconfont.css:
--------------------------------------------------------------------------------
1 |
2 | @font-face {font-family: "iconfont";
3 | src: url('iconfont.eot?t=1509616390530'); /* IE9*/
4 | src: url('iconfont.eot?t=1509616390530#iefix') format('embedded-opentype'), /* IE6-IE8 */
5 | url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAABJgAAsAAAAAGswAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFZW7kgFY21hcAAAAYAAAACyAAACkM7d+kxnbHlmAAACNAAADcwAABKQ7IdtX2hlYWQAABAAAAAALwAAADYPYVwPaGhlYQAAEDAAAAAcAAAAJAfeA5dobXR4AAAQTAAAABQAAABYV+kAAGxvY2EAABBgAAAALgAAAC40oDDubWF4cAAAEJAAAAAfAAAAIAEtAOVuYW1lAAAQsAAAAUUAAAJtPlT+fXBvc3QAABH4AAAAaAAAAN6cVheZeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/s84gYGVgYOpk+kMAwNDP4RmfM1gxMjBwMDEwMrMgBUEpLmmMDgwVDwTYW7438AQw9zA0AAUZgTJAQAnHQyHeJzFkskRgzAQBFuA8YVvyMLROBpefjnWSQOPqPk4Am9Vs7WLrlIL2ACteZoOyodCjbe7Ze23HNZ+x8t171xomDUui+tZZc0e4n/9mhvP6bxyz5Yde88/MnDizIUrN+48GJk8tOdvUf639W8M9VOGVL4V5uAjKvhOUai+FKozhepSoZpQsAUU7AMFm0GhOlawLRTq6RRsEAW7RMFWUbBfFGwaBTtHwfZR8DtAgekLpEgxxAAAeJylWFtsHNd5nnPOnDOXndvuzmV3uLuz15nlcm/cyywv4i7JpUSKFGkpiiRLlGhJUU0pgmRJlePYFRzHrpvG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Q64gOGcTV8') format('woff'),
6 | url('iconfont.ttf?t=1509616390530') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
7 | url('iconfont.svg?t=1509616390530#iconfont') format('svg'); /* iOS 4.1- */
8 | }
9 |
10 | .iconfont {
11 | font-family:"iconfont" !important;
12 | font-size:16px;
13 | font-style:normal;
14 | -webkit-font-smoothing: antialiased;
15 | -moz-osx-font-smoothing: grayscale;
16 | }
17 |
18 | .icon-shuye:before { content: "\e601"; }
19 |
20 | .icon-shuyea:before { content: "\e602"; }
21 |
22 | .icon-shuyeb:before { content: "\e603"; }
23 |
24 | .icon-shuyee:before { content: "\e604"; }
25 |
26 | .icon-shuyef:before { content: "\e605"; }
27 |
28 | .icon-shuyed:before { content: "\e606"; }
29 |
30 | .icon-shuyec:before { content: "\e607"; }
31 |
32 | .icon-shuyeh:before { content: "\e608"; }
33 |
34 | .icon-shuyeg:before { content: "\e609"; }
35 |
36 | .icon-shuyei:before { content: "\e60a"; }
37 |
38 | .icon-shuyej:before { content: "\e60b"; }
39 |
40 | .icon-shuyek:before { content: "\e60c"; }
41 |
42 | .icon-shuyel:before { content: "\e60d"; }
43 |
44 | .icon-shuyem:before { content: "\e60e"; }
45 |
46 | .icon-shuyeo:before { content: "\e60f"; }
47 |
48 | .icon-shuyep:before { content: "\e610"; }
49 |
50 | .icon-shuyeR:before { content: "\e611"; }
51 |
52 | .icon-shuyeS:before { content: "\e612"; }
53 |
54 | .icon-shuyet:before { content: "\e613"; }
55 |
56 | .icon-shuyeu:before { content: "\e614"; }
57 |
58 |
--------------------------------------------------------------------------------
/.sourcemaps/main.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["../../src/providers/setting/setting.ts","../../node_modules/@angular/core/@angular lazy","../../src lazy","../../src/app/main.ts","../../src/app/app.module.ts","../../src/app/app.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAA2C;AAED;AACX;AAE/B;;;;;EAKE;AAEF,IAAa,eAAe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port { Http } from '@angular/http';\nimport { BehaviorSubject } from 'rxjs/Rx';\nimport 'rxjs/add/operator/map';\n\n/*\n Generated class for the SettingProvider provider.\n\n See https://angular.io/docs/ts/latest/guide/dependency-injection.html\n for more info on providers and Angular DI.\n*/\n@Injectable()\nexport class SettingProvider {\n\n private theme: BehaviorSubject;\n \n constructor() {\n // theme 是 BehaviorSubject实例\n this.theme = new BehaviorSubject('light-theme');\n }\n \n setActiveTheme(val) {\n // 改变值\n this.theme.next(val);\n }\n \n getActiveTheme() {\n // 观察\n return this.theme.asObservable();\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/setting/setting.ts","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 139;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@angular/core/@angular lazy\n// module id = 139\n// module chunks = 11","var map = {\n\t\"../pages/contact-consult/contact-consult.module\": [\n\t\t564,\n\t\t0\n\t],\n\t\"../pages/iconfont/iconfont.module\": [\n\t\t565,\n\t\t10\n\t],\n\t\"../pages/map/map.module\": [\n\t\t566,\n\t\t9\n\t],\n\t\"../pages/start/start.module\": [\n\t\t567,\n\t\t8\n\t],\n\t\"../pages/tabs/about/about.module\": [\n\t\t569,\n\t\t7\n\t],\n\t\"../pages/tabs/class/class.module\": [\n\t\t570,\n\t\t6\n\t],\n\t\"../pages/tabs/home/home.module\": [\n\t\t571,\n\t\t5\n\t],\n\t\"../pages/tabs/login/login.module\": [\n\t\t572,\n\t\t4\n\t],\n\t\"../pages/tabs/order/order.module\": [\n\t\t573,\n\t\t3\n\t],\n\t\"../pages/tabs/tabs.module\": [\n\t\t568,\n\t\t2\n\t],\n\t\"../pages/video/video.module\": [\n\t\t574,\n\t\t1\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tvar ids = map[req];\n\tif(!ids)\n\t\treturn Promise.reject(new Error(\"Cannot find module '\" + req + \"'.\"));\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(ids[0]);\n\t});\n};\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 182;\nmodule.exports = webpackAsyncContext;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src lazy\n// module id = 182\n// module chunks = 11","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app.module';\n\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/main.ts","import { BrowserModule } from '@angular/platform-browser';\r\nimport { ErrorHandler, NgModule } from '@angular/core';\r\nimport { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';\r\nimport { SplashScreen } from '@ionic-native/splash-screen';\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\n\r\nimport { MyApp } from './app.component';\r\nimport { SettingProvider } from '../providers/setting/setting';\r\n\r\n@NgModule({\r\n declarations: [\r\n MyApp,\r\n ],\r\n imports: [\r\n BrowserModule,\r\n IonicModule.forRoot(MyApp, { tabsHideOnSubPages: 'true' }, \n{\n links: [\n { loadChildren: '../pages/contact-consult/contact-consult.module#ContactConsultPageModule', name: 'ContactConsultPage', segment: 'contact-consult', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/iconfont/iconfont.module#IconfontPageModule', name: 'IconfontPage', segment: 'iconfont', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/map/map.module#MapPageModule', name: 'MapPage', segment: 'map', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/start/start.module#StartPageModule', name: 'StartPage', segment: 'start', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/tabs/tabs.module#TabsPageModule', name: 'TabsPage', segment: 'tabs', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/tabs/about/about.module#AboutPageModule', name: 'AboutPage', segment: 'about', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/tabs/class/class.module#ClassPageModule', name: 'ClassPage', segment: 'class', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/tabs/home/home.module#HomePageModule', name: 'HomePage', segment: 'home', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/tabs/login/login.module#LoginPageModule', name: 'LoginPage', segment: 'login', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/tabs/order/order.module#OrderPageModule', name: 'OrderPage', segment: 'order', priority: 'low', defaultHistory: [] },\n { loadChildren: '../pages/video/video.module#VideoPageModule', name: 'VideoPage', segment: 'video', priority: 'low', defaultHistory: [] }\n ]\n})\r\n ],\r\n bootstrap: [IonicApp],\r\n entryComponents: [\r\n MyApp,\r\n ],\r\n providers: [\r\n StatusBar,\r\n SplashScreen,\r\n { provide: ErrorHandler, useClass: IonicErrorHandler },\r\n SettingProvider,\r\n ]\r\n})\r\nexport class AppModule { }\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component } from '@angular/core';\r\nimport { Platform } from 'ionic-angular';\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\nimport { SplashScreen } from '@ionic-native/splash-screen';\r\nimport { SettingProvider } from './../providers/setting/setting';\r\n\r\n\r\n@Component({\r\n templateUrl: 'app.html'\r\n})\r\nexport class MyApp {\r\n \r\n rootPage:any = \"StartPage\";\r\n selectedTheme: String;\r\n\r\n constructor(\r\n platform: Platform, \r\n statusBar: StatusBar,\r\n splashScreen: SplashScreen,\r\n private settings: SettingProvider) {\r\n this.settings.getActiveTheme().subscribe(val => this.selectedTheme = val);\r\n platform.ready().then(() => {\r\n // Okay, so the platform is ready and our plugins are available.\r\n // Here you can do any higher level native things you might need.\r\n statusBar.styleDefault();\r\n splashScreen.hide();\r\n });\r\n }\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts"],"sourceRoot":""}
--------------------------------------------------------------------------------
/src/assets/icon/iconfont.js:
--------------------------------------------------------------------------------
1 | (function(window){var svgSprite='';var script=function(){var scripts=document.getElementsByTagName("script");return scripts[scripts.length-1]}();var shouldInjectCss=script.getAttribute("data-injectcss");var ready=function(fn){if(document.addEventListener){if(~["complete","loaded","interactive"].indexOf(document.readyState)){setTimeout(fn,0)}else{var loadFn=function(){document.removeEventListener("DOMContentLoaded",loadFn,false);fn()};document.addEventListener("DOMContentLoaded",loadFn,false)}}else if(document.attachEvent){IEContentLoaded(window,fn)}function IEContentLoaded(w,fn){var d=w.document,done=false,init=function(){if(!done){done=true;fn()}};var polling=function(){try{d.documentElement.doScroll("left")}catch(e){setTimeout(polling,50);return}init()};polling();d.onreadystatechange=function(){if(d.readyState=="complete"){d.onreadystatechange=null;init()}}}};var before=function(el,target){target.parentNode.insertBefore(el,target)};var prepend=function(el,target){if(target.firstChild){before(el,target.firstChild)}else{target.appendChild(el)}};function appendSvg(){var div,svg;div=document.createElement("div");div.innerHTML=svgSprite;svgSprite=null;svg=div.getElementsByTagName("svg")[0];if(svg){svg.setAttribute("aria-hidden","true");svg.style.position="absolute";svg.style.width=0;svg.style.height=0;svg.style.overflow="hidden";prepend(svg,document.body)}}if(shouldInjectCss&&!window.__iconfont__svg__cssinject__){window.__iconfont__svg__cssinject__=true;try{document.write("")}catch(e){console&&console.log(e)}}ready(appendSvg)})(window)
--------------------------------------------------------------------------------