├── .babelrc ├── .editorconfig ├── .gitignore ├── .postcssrc.js ├── README.md ├── config ├── dev.env.js ├── index.js ├── prod.env.js └── test.env.js ├── index.html ├── package.json ├── src ├── App.vue ├── assets │ └── styles │ │ ├── border.css │ │ ├── iconfont.css │ │ ├── iconfont │ │ ├── iconfont.eot │ │ ├── iconfont.svg │ │ ├── iconfont.ttf │ │ └── iconfont.woff │ │ ├── mixins.styl │ │ ├── reset.css │ │ └── varibles.styl ├── common │ ├── fade │ │ └── Fade.vue │ └── gallary │ │ └── Gallary.vue ├── main.js ├── pages │ ├── Detail │ │ ├── Detail.vue │ │ └── components │ │ │ ├── Banner.vue │ │ │ ├── Header.vue │ │ │ └── List.vue │ ├── city │ │ ├── City.vue │ │ └── components │ │ │ ├── Alphabet.vue │ │ │ ├── Header.vue │ │ │ ├── List.vue │ │ │ └── Search.vue │ └── home │ │ ├── Home.vue │ │ └── components │ │ ├── Header.vue │ │ ├── Icons.vue │ │ ├── Recommend.vue │ │ ├── Swiper.vue │ │ └── Weekend.vue ├── router │ └── index.js └── store │ ├── index.js │ ├── mutations.js │ └── state.js ├── static └── .gitkeep └── test └── e2e ├── custom-assertions └── elementCount.js ├── nightwatch.conf.js ├── runner.js └── specs └── test.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/.babelrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/.gitignore -------------------------------------------------------------------------------- /.postcssrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/.postcssrc.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/README.md -------------------------------------------------------------------------------- /config/dev.env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/config/dev.env.js -------------------------------------------------------------------------------- /config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/config/index.js -------------------------------------------------------------------------------- /config/prod.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = { 3 | NODE_ENV: '"production"' 4 | } 5 | -------------------------------------------------------------------------------- /config/test.env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/config/test.env.js -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/package.json -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/App.vue -------------------------------------------------------------------------------- /src/assets/styles/border.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/assets/styles/border.css -------------------------------------------------------------------------------- /src/assets/styles/iconfont.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/assets/styles/iconfont.css -------------------------------------------------------------------------------- /src/assets/styles/iconfont/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/assets/styles/iconfont/iconfont.eot -------------------------------------------------------------------------------- /src/assets/styles/iconfont/iconfont.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/assets/styles/iconfont/iconfont.svg -------------------------------------------------------------------------------- /src/assets/styles/iconfont/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/assets/styles/iconfont/iconfont.ttf -------------------------------------------------------------------------------- /src/assets/styles/iconfont/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/assets/styles/iconfont/iconfont.woff -------------------------------------------------------------------------------- /src/assets/styles/mixins.styl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/assets/styles/mixins.styl -------------------------------------------------------------------------------- /src/assets/styles/reset.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/assets/styles/reset.css -------------------------------------------------------------------------------- /src/assets/styles/varibles.styl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/assets/styles/varibles.styl -------------------------------------------------------------------------------- /src/common/fade/Fade.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/common/fade/Fade.vue -------------------------------------------------------------------------------- /src/common/gallary/Gallary.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/common/gallary/Gallary.vue -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/main.js -------------------------------------------------------------------------------- /src/pages/Detail/Detail.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/pages/Detail/Detail.vue -------------------------------------------------------------------------------- /src/pages/Detail/components/Banner.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/pages/Detail/components/Banner.vue -------------------------------------------------------------------------------- /src/pages/Detail/components/Header.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/pages/Detail/components/Header.vue -------------------------------------------------------------------------------- /src/pages/Detail/components/List.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/pages/Detail/components/List.vue -------------------------------------------------------------------------------- /src/pages/city/City.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/pages/city/City.vue -------------------------------------------------------------------------------- /src/pages/city/components/Alphabet.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/pages/city/components/Alphabet.vue -------------------------------------------------------------------------------- /src/pages/city/components/Header.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/pages/city/components/Header.vue -------------------------------------------------------------------------------- /src/pages/city/components/List.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/pages/city/components/List.vue -------------------------------------------------------------------------------- /src/pages/city/components/Search.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/pages/city/components/Search.vue -------------------------------------------------------------------------------- /src/pages/home/Home.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/pages/home/Home.vue -------------------------------------------------------------------------------- /src/pages/home/components/Header.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/pages/home/components/Header.vue -------------------------------------------------------------------------------- /src/pages/home/components/Icons.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/pages/home/components/Icons.vue -------------------------------------------------------------------------------- /src/pages/home/components/Recommend.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/pages/home/components/Recommend.vue -------------------------------------------------------------------------------- /src/pages/home/components/Swiper.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/pages/home/components/Swiper.vue -------------------------------------------------------------------------------- /src/pages/home/components/Weekend.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/pages/home/components/Weekend.vue -------------------------------------------------------------------------------- /src/router/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/router/index.js -------------------------------------------------------------------------------- /src/store/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/store/index.js -------------------------------------------------------------------------------- /src/store/mutations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/store/mutations.js -------------------------------------------------------------------------------- /src/store/state.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/src/store/state.js -------------------------------------------------------------------------------- /static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/e2e/custom-assertions/elementCount.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/test/e2e/custom-assertions/elementCount.js -------------------------------------------------------------------------------- /test/e2e/nightwatch.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/test/e2e/nightwatch.conf.js -------------------------------------------------------------------------------- /test/e2e/runner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/test/e2e/runner.js -------------------------------------------------------------------------------- /test/e2e/specs/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcops/travel/HEAD/test/e2e/specs/test.js --------------------------------------------------------------------------------