├── static
└── .gitkeep
├── .eslintignore
├── test
└── unit
│ ├── setup.js
│ ├── .eslintrc
│ ├── specs
│ └── HelloWorld.spec.js
│ └── jest.conf.js
├── config
├── prod.env.js
├── test.env.js
├── dev.env.js
└── index.js
├── src
├── assets
│ ├── demo.gif
│ ├── icon.png
│ └── qrcode.png
├── App.vue
├── components
│ └── vue-route-transition
│ │ ├── index.js
│ │ ├── layout.vue
│ │ └── transition.vue
├── pages
│ ├── home.vue
│ ├── demo.vue
│ ├── button.vue
│ ├── tab.vue
│ ├── swipe.vue
│ ├── rate.vue
│ ├── index.vue
│ └── address.vue
├── main.js
└── router
│ └── index.js
├── .npmignore
├── .editorconfig
├── .gitignore
├── .postcssrc.js
├── index.html
├── .babelrc
├── docs
├── index.html
└── static
│ └── js
│ ├── 1.4bfc59040d282b79e92f.js
│ ├── 4.86adbee3ba7c4f20e496.js
│ ├── 5.3c5d26f26f7c4068eff9.js
│ ├── 2.62516ae1f3e7dbc58449.js
│ ├── 0.fc5eeb2e48cd2dfde7a2.js
│ ├── 6.67abbd8e562724c8aac5.js
│ ├── 3.d9028f60736dea81729e.js
│ ├── manifest.10910c7d45fed56c6292.js
│ ├── 4.86adbee3ba7c4f20e496.js.map
│ ├── 5.3c5d26f26f7c4068eff9.js.map
│ ├── 0.fc5eeb2e48cd2dfde7a2.js.map
│ ├── 1.4bfc59040d282b79e92f.js.map
│ ├── 2.62516ae1f3e7dbc58449.js.map
│ ├── app.bffec86c54f192472363.js
│ ├── 6.67abbd8e562724c8aac5.js.map
│ ├── 3.d9028f60736dea81729e.js.map
│ ├── manifest.10910c7d45fed56c6292.js.map
│ └── app.bffec86c54f192472363.js.map
├── .eslintrc.js
├── LICENSE
├── README.md
├── package.json
└── lib
├── vue_route_transition.min.js
└── vue_route_transition.min.js.map
/static/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
1 | /build/
2 | /config/
3 | /dist/
4 | /*.js
5 | /test/unit/coverage/
6 |
--------------------------------------------------------------------------------
/test/unit/setup.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 |
3 | Vue.config.productionTip = false
4 |
--------------------------------------------------------------------------------
/config/prod.env.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 | module.exports = {
3 | NODE_ENV: '"production"'
4 | }
5 |
--------------------------------------------------------------------------------
/src/assets/demo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dreamback/vue-route-transition/HEAD/src/assets/demo.gif
--------------------------------------------------------------------------------
/src/assets/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dreamback/vue-route-transition/HEAD/src/assets/icon.png
--------------------------------------------------------------------------------
/src/assets/qrcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dreamback/vue-route-transition/HEAD/src/assets/qrcode.png
--------------------------------------------------------------------------------
/test/unit/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "env": {
3 | "jest": true
4 | },
5 | "globals": {
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 |
2 | .*
3 | *.md
4 | *.yml
5 | build/
6 | node_modules/
7 | src/
8 | test/
9 | gulpfile.js
10 | static/
11 | docs/
12 | config/
13 | index.html
--------------------------------------------------------------------------------
/config/test.env.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 | const merge = require('webpack-merge')
3 | const devEnv = require('./dev.env')
4 |
5 | module.exports = merge(devEnv, {
6 | NODE_ENV: '"testing"'
7 | })
8 |
--------------------------------------------------------------------------------
/config/dev.env.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 | const merge = require('webpack-merge')
3 | const prodEnv = require('./prod.env')
4 |
5 | module.exports = merge(prodEnv, {
6 | NODE_ENV: '"development"'
7 | })
8 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | indent_style = space
6 | indent_size = 2
7 | end_of_line = lf
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | /dist/
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | /test/unit/coverage/
8 |
9 | # Editor directories and files
10 | .idea
11 | .vscode
12 | *.suo
13 | *.ntvs*
14 | *.njsproj
15 | *.sln
16 |
--------------------------------------------------------------------------------
/.postcssrc.js:
--------------------------------------------------------------------------------
1 | // https://github.com/michael-ciniawsky/postcss-load-config
2 |
3 | module.exports = {
4 | "plugins": {
5 | "postcss-import": {},
6 | "postcss-url": {},
7 | // to edit target browsers: use "browserslist" field in package.json
8 | "autoprefixer": {}
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | vue-route-transition
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
11 |
12 |
17 |
--------------------------------------------------------------------------------
/src/components/vue-route-transition/index.js:
--------------------------------------------------------------------------------
1 | import RouteTransition from './transition'
2 | import Layout from './layout'
3 |
4 | const install = function (Vue) {
5 | Vue.component(RouteTransition.name, RouteTransition)
6 | Vue.component(Layout.name, Layout)
7 | }
8 |
9 | if (typeof window !== 'undefined' && window.Vue) {
10 | install(window.Vue)
11 | }
12 |
13 | export default {
14 | install
15 | }
16 |
--------------------------------------------------------------------------------
/test/unit/specs/HelloWorld.spec.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import HelloWorld from '@/components/HelloWorld'
3 |
4 | describe('HelloWorld.vue', () => {
5 | it('should render correct contents', () => {
6 | const Constructor = Vue.extend(HelloWorld)
7 | const vm = new Constructor().$mount()
8 | expect(vm.$el.querySelector('.hello h1').textContent)
9 | .toEqual('Welcome to Your Vue.js App')
10 | })
11 | })
12 |
--------------------------------------------------------------------------------
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | ["env", {
4 | "modules": false,
5 | "targets": {
6 | "browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
7 | }
8 | }],
9 | "stage-2"
10 | ],
11 | "plugins": ["transform-vue-jsx", "transform-runtime"],
12 | "env": {
13 | "test": {
14 | "presets": ["env", "stage-2"],
15 | "plugins": ["transform-vue-jsx", "transform-es2015-modules-commonjs", "dynamic-import-node"]
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/src/pages/home.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | 所有页面默认开启了缓存
请向下滚动
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/docs/index.html:
--------------------------------------------------------------------------------
1 | vue-route-transition
--------------------------------------------------------------------------------
/src/pages/demo.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | 返回
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/src/pages/button.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 默认按钮
6 | 主要按钮
7 | 警告按钮
8 | 危险按钮
9 |
10 |
11 |
12 |
13 |
16 |
--------------------------------------------------------------------------------
/src/pages/tab.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 内容 1
5 | 内容 2
6 | 内容 3
7 | 内容 4
8 |
9 |
tabbar路由页面不需要动画
10 |
11 |
12 |
21 |
22 |
25 |
--------------------------------------------------------------------------------
/src/pages/swipe.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 1
5 | 2
6 | 3
7 | 4
8 |
9 |
tabbar路由页面不需要动画
10 |
11 |
12 |
17 |
23 |
--------------------------------------------------------------------------------
/docs/static/js/1.4bfc59040d282b79e92f.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([1],{"+eDV":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("van-swipe",{attrs:{autoplay:3e3,height:200,"indicator-color":"white"}},[n("van-swipe-item",[e._v("1")]),e._v(" "),n("van-swipe-item",[e._v("2")]),e._v(" "),n("van-swipe-item",[e._v("3")]),e._v(" "),n("van-swipe-item",[e._v("4")])],1),e._v(" "),n("p",{staticStyle:{"text-align":"center"}},[e._v("tabbar路由页面不需要动画")])],1)},staticRenderFns:[]};var a=n("VU/8")({},i,!1,function(e){n("23Tm")},null,null);t.default=a.exports},"23Tm":function(e,t){}});
2 | //# sourceMappingURL=1.4bfc59040d282b79e92f.js.map
--------------------------------------------------------------------------------
/src/main.js:
--------------------------------------------------------------------------------
1 | // The Vue build version to load with the `import` command
2 | // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
3 | import Vue from 'vue'
4 | import App from './App'
5 | import router from './router'
6 | // import RouteTransition from 'vue-route-transition'
7 | import RouteTransition from '@/components/vue-route-transition'
8 | import Vant from 'vant'
9 | import 'vant/lib/index.css'
10 | // import RouteTransition from '../lib/vue_route_transition.min'
11 |
12 | Vue.config.productionTip = false
13 | Vue.use(RouteTransition)
14 | Vue.use(Vant)
15 | /* eslint-disable no-new */
16 | new Vue({
17 | el: '#app',
18 | router,
19 | components: { App },
20 | template: ''
21 | })
22 |
--------------------------------------------------------------------------------
/test/unit/jest.conf.js:
--------------------------------------------------------------------------------
1 | const path = require('path')
2 |
3 | module.exports = {
4 | rootDir: path.resolve(__dirname, '../../'),
5 | moduleFileExtensions: [
6 | 'js',
7 | 'json',
8 | 'vue'
9 | ],
10 | moduleNameMapper: {
11 | '^@/(.*)$': '/src/$1'
12 | },
13 | transform: {
14 | '^.+\\.js$': '/node_modules/babel-jest',
15 | '.*\\.(vue)$': '/node_modules/vue-jest'
16 | },
17 | snapshotSerializers: ['/node_modules/jest-serializer-vue'],
18 | setupFiles: ['/test/unit/setup'],
19 | mapCoverage: true,
20 | coverageDirectory: '/test/unit/coverage',
21 | collectCoverageFrom: [
22 | 'src/**/*.{js,vue}',
23 | '!src/main.js',
24 | '!src/router/index.js',
25 | '!**/node_modules/**'
26 | ]
27 | }
28 |
--------------------------------------------------------------------------------
/docs/static/js/4.86adbee3ba7c4f20e496.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([4],{vkyI:function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={render:function(){var t=this.$createElement,e=this._self._c||t;return e("router-layout",[e("van-nav-bar",{attrs:{slot:"header",title:"首页"},slot:"header"}),this._v(" "),e("van-cell-group",[e("van-cell",{attrs:{title:"评分","is-link":"",value:"Rate",to:{path:"/rate"}}})],1),this._v(" "),e("p",{staticStyle:{"text-align":"center","padding-top":"30px"}},[this._v("所有页面默认开启了缓存"),e("br"),this._v("请向下滚动")]),this._v(" "),e("van-cell-group",{staticStyle:{margin:"300px 0 300px"}},[e("van-cell",{attrs:{title:"记录滚动条位置","is-link":"",to:{path:"/rate"}}})],1)],1)},staticRenderFns:[]},n=l("VU/8")(null,a,!1,null,null,null);e.default=n.exports}});
2 | //# sourceMappingURL=4.86adbee3ba7c4f20e496.js.map
--------------------------------------------------------------------------------
/docs/static/js/5.3c5d26f26f7c4068eff9.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([5],{xxzw:function(t,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={render:function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("router-layout",[l("van-nav-bar",{attrs:{title:"demo","left-text":"返回","left-arrow":""},on:{"click-left":function(e){t.$router.go(-1)}}}),t._v(" "),l("van-cell-group",[l("van-cell",{attrs:{title:"按钮","is-link":"",to:{path:"/button"}}}),t._v(" "),l("van-cell",{attrs:{title:"地址编辑","is-link":"",to:{path:"/address"}}})],1),t._v(" "),l("div",{staticStyle:{margin:"15px"}},[l("van-button",{attrs:{type:"primary",size:"large"},on:{click:function(e){t.$router.go(-1)}}},[t._v("返回")])],1)],1)},staticRenderFns:[]},r=l("VU/8")(null,n,!1,null,null,null);e.default=r.exports}});
2 | //# sourceMappingURL=5.3c5d26f26f7c4068eff9.js.map
--------------------------------------------------------------------------------
/docs/static/js/2.62516ae1f3e7dbc58449.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([2],{HcBI:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("van-tabs",{model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},[a("van-tab",{attrs:{title:"标签 1"}},[t._v("内容 1")]),t._v(" "),a("van-tab",{attrs:{title:"标签 2"}},[t._v("内容 2")]),t._v(" "),a("van-tab",{attrs:{title:"标签 3"}},[t._v("内容 3")]),t._v(" "),a("van-tab",{attrs:{title:"标签 4"}},[t._v("内容 4")])],1),t._v(" "),a("p",{staticStyle:{"text-align":"center"}},[t._v("tabbar路由页面不需要动画")])],1)},staticRenderFns:[]};var v=a("VU/8")({data:function(){return{active:0}}},n,!1,function(t){a("l5I5")},null,null);e.default=v.exports},l5I5:function(t,e){}});
2 | //# sourceMappingURL=2.62516ae1f3e7dbc58449.js.map
--------------------------------------------------------------------------------
/docs/static/js/0.fc5eeb2e48cd2dfde7a2.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([0],{GW8G:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("router-layout",[r("van-nav-bar",{attrs:{slot:"header",title:"按钮","left-arrow":""},on:{"click-left":function(e){t.$router.go(-1)}},slot:"header"}),t._v(" "),r("div",{staticStyle:{margin:"15px"}},[r("van-button",{attrs:{size:"large",type:"default"}},[t._v("默认按钮")]),t._v(" "),r("van-button",{attrs:{size:"large",type:"primary"}},[t._v("主要按钮")]),t._v(" "),r("van-button",{attrs:{size:"large",type:"warning"}},[t._v("警告按钮")]),t._v(" "),r("van-button",{attrs:{size:"large",type:"danger"}},[t._v("危险按钮")])],1)],1)},staticRenderFns:[]};var a=r("VU/8")(null,n,!1,function(t){r("tJbJ")},null,null);e.default=a.exports},tJbJ:function(t,e){}});
2 | //# sourceMappingURL=0.fc5eeb2e48cd2dfde7a2.js.map
--------------------------------------------------------------------------------
/src/pages/rate.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | $router.go(-1)
9 |
10 | 该页面路由配置了 meta: {keepAlive: false}
关闭了缓存功能
11 |
12 |
13 |
14 |
15 |
16 |
28 |
--------------------------------------------------------------------------------
/.eslintrc.js:
--------------------------------------------------------------------------------
1 | // https://eslint.org/docs/user-guide/configuring
2 |
3 | module.exports = {
4 | root: true,
5 | parserOptions: {
6 | parser: 'babel-eslint'
7 | },
8 | env: {
9 | browser: true,
10 | },
11 | extends: [
12 | // https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
13 | // consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
14 | 'plugin:vue/essential',
15 | // https://github.com/standard/standard/blob/master/docs/RULES-en.md
16 | 'standard'
17 | ],
18 | // required to lint *.vue files
19 | plugins: [
20 | 'vue'
21 | ],
22 | // add your custom rules here
23 | rules: {
24 | // allow async-await
25 | 'generator-star-spacing': 'off',
26 | // allow debugger during development
27 | 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/pages/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 标签
6 | 标签
7 | 标签
8 |
9 |
10 |
11 |
37 |
--------------------------------------------------------------------------------
/src/router/index.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import Router from 'vue-router'
3 | import index from '@/pages/index'
4 |
5 | Vue.use(Router)
6 |
7 | export default new Router({
8 | routes: [
9 | {
10 | path: '',
11 | component: index,
12 | children: [{
13 | path: '/',
14 | component: r => require(['@/pages/home'], r)
15 | }, {
16 | path: '/tab',
17 | component: r => require(['@/pages/tab'], r)
18 | }, {
19 | path: '/swipe',
20 | component: r => require(['@/pages/swipe'], r)
21 | }]
22 | },
23 | {
24 | path: '/rate',
25 | meta: {keepAlive: false},
26 | component: r => require(['@/pages/rate'], r)
27 | },
28 | {
29 | path: '/button',
30 | component: r => require(['@/pages/button'], r)
31 | },
32 | {
33 | path: '/address',
34 | component: r => require(['@/pages/address'], r)
35 | },
36 | {
37 | path: '/demo',
38 | component: r => require(['@/pages/demo'], r)
39 | }
40 | ]
41 | })
42 |
--------------------------------------------------------------------------------
/src/components/vue-route-transition/layout.vue:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
23 |
24 |
44 |
--------------------------------------------------------------------------------
/docs/static/js/6.67abbd8e562724c8aac5.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([6],{sy9f:function(e,t,d){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={render:function(){var e=this,t=e.$createElement,d=e._self._c||t;return d("router-layout",[d("van-nav-bar",{attrs:{slot:"header",title:"AdddressEdit 地址编辑","left-arrow":""},on:{"click-left":function(t){e.$router.go(-1)}},slot:"header"}),e._v(" "),d("van-address-list",{attrs:{list:e.list,"disabled-list":e.disabledList,"disabled-text":"以下地址超出配送范围"},on:{add:e.onAdd,edit:e.onEdit},model:{value:e.chosenAddressId,callback:function(t){e.chosenAddressId=t},expression:"chosenAddressId"}})],1)},staticRenderFns:[]},n=d("VU/8")({data:function(){return{chosenAddressId:"1",list:[{id:"1",name:"张三",tel:"13000000000",address:"浙江省杭州市西湖区文三路 138 号东方通信大厦 7 楼 501 室"},{id:"2",name:"李四",tel:"1310000000",address:"浙江省杭州市拱墅区莫干山路 50 号"}],disabledList:[{id:"3",name:"王五",tel:"1320000000",address:"浙江省杭州市滨江区江南大道 15 号"}]}},methods:{onAdd:function(){this.Toast("新增地址")},onEdit:function(e,t){this.Toast("编辑地址:"+t)}}},s,!1,null,null,null);t.default=n.exports}});
2 | //# sourceMappingURL=6.67abbd8e562724c8aac5.js.map
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 孟回头
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/docs/static/js/3.d9028f60736dea81729e.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([3],{J4SX:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("router-layout",[a("van-nav-bar",{attrs:{slot:"header",title:"评分","left-text":"返回","left-arrow":""},on:{"click-left":function(e){t.$router.go(-1)}},slot:"header"}),t._v(" "),a("div",{staticStyle:{"text-align":"center",padding:"20px"}},[a("van-rate",{model:{value:t.value,callback:function(e){t.value=e},expression:"value"}})],1),t._v(" "),a("div",{staticStyle:{margin:"0 20px"}},[a("van-button",{attrs:{size:"large",type:"primary"},on:{click:function(e){t.$router.go(-1)}}},[t._v("$router.go(-1)")])],1),t._v(" "),a("p",{staticStyle:{"text-align":"center","padding-top":"30px"}},[t._v("该页面路由配置了 meta: {keepAlive: false}"),a("br"),t._v("关闭了缓存功能")]),t._v(" "),a("van-cell-group",{staticStyle:{margin:"300px 0 300px"}},[a("van-cell",{attrs:{title:"更多","is-link":"",to:{path:"/demo"}}})],1)],1)},staticRenderFns:[]},l=a("VU/8")({data:function(){return{value:3}},mounted:function(){}},n,!1,null,null,null);e.default=l.exports}});
2 | //# sourceMappingURL=3.d9028f60736dea81729e.js.map
--------------------------------------------------------------------------------
/src/pages/address.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
12 |
13 |
14 |
55 |
--------------------------------------------------------------------------------
/docs/static/js/manifest.10910c7d45fed56c6292.js:
--------------------------------------------------------------------------------
1 | !function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var f,i,u,d=0,s=[];d vue router 切换动画
4 |
5 | ## 特性
6 |
7 | * 模拟前进后退动画
8 | * 基于css3流畅动画
9 | * 基于sessionStorage,页面刷新不影响路由记录
10 | * 路由懒加载,返回可记录滚动条位置
11 | * 前进后退的判断与路由路径规则无关
12 | * 支持任意基于Vue的UI框架
13 |
14 | ## demo
15 |
16 |
17 | ## 手机扫码
18 |
19 |
20 | [在线预览](https://dreamback.github.io/vue-route-transition/)
21 |
22 |
23 | ## 说明
24 | 配套包含两个组件
25 | * `vue-route-transition` 负责动画
26 | * `router-layout` 负责页面排版。 主要是解决`transform`动画,`position:fixed`异常问题
27 |
28 | ## 像往常一样使用
29 | ```
30 | npm i vue-route-transition --save
31 | ```
32 | main.js
33 | ``` javascript
34 | import RouteTransition from 'vue-route-transition'
35 | Vue.use(RouteTransition)
36 | ```
37 | App.vue
38 | ``` html
39 |
40 | // keepAlive默认true,开启缓存可以记录滚动条位置
41 | // 同时支持路由配置meta:{keepAlive:false} 关闭某个页面缓存
42 |
43 |
44 |
45 |
46 | ```
47 | 页面,如果有吸附头部,或吸附底部元素的情况下才需要使用`router-layout`组件
48 | ``` html
49 |
50 |
51 |
54 |
55 |
56 | ...
57 |
60 |
61 |
62 | ```
63 | 如果存在子路由,需手动设置router-layout的`id`属性,滚动条定位作用。
64 | ``` html
65 |
66 |
67 |
68 | 标签
69 | 标签
70 | 标签
71 |
72 |
73 | ```
74 |
75 | [github](https://github.com/dreamback/vue-route-transition)
76 |
77 |
78 |
79 | ## 开源协议
80 |
81 | 本项目基于 [MIT](https://zh.wikipedia.org/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89) 协议,请自由地享受和参与开源。
82 |
--------------------------------------------------------------------------------
/config/index.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 | // Template version: 1.3.1
3 | // see http://vuejs-templates.github.io/webpack for documentation.
4 |
5 | const path = require('path')
6 |
7 | module.exports = {
8 | dev: {
9 |
10 | // Paths
11 | assetsSubDirectory: 'static',
12 | assetsPublicPath: '/',
13 | proxyTable: {},
14 |
15 | // Various Dev Server settings
16 | host: 'localhost', // can be overwritten by process.env.HOST
17 | port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
18 | autoOpenBrowser: false,
19 | errorOverlay: true,
20 | notifyOnErrors: true,
21 | poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
22 |
23 | // Use Eslint Loader?
24 | // If true, your code will be linted during bundling and
25 | // linting errors and warnings will be shown in the console.
26 | useEslint: true,
27 | // If true, eslint errors and warnings will also be shown in the error overlay
28 | // in the browser.
29 | showEslintErrorsInOverlay: false,
30 |
31 | /**
32 | * Source Maps
33 | */
34 |
35 | // https://webpack.js.org/configuration/devtool/#development
36 | devtool: 'cheap-module-eval-source-map',
37 |
38 | // If you have problems debugging vue-files in devtools,
39 | // set this to false - it *may* help
40 | // https://vue-loader.vuejs.org/en/options.html#cachebusting
41 | cacheBusting: true,
42 |
43 | cssSourceMap: true
44 | },
45 |
46 | build: {
47 | // Template for index.html
48 | index: path.resolve(__dirname, '../docs/index.html'),
49 |
50 | // Paths
51 | assetsRoot: path.resolve(__dirname, '../docs'),
52 | assetsSubDirectory: 'static',
53 | assetsPublicPath: './',
54 |
55 | /**
56 | * Source Maps
57 | */
58 |
59 | productionSourceMap: true,
60 | // https://webpack.js.org/configuration/devtool/#production
61 | devtool: '#source-map',
62 |
63 | // Gzip off by default as many popular static hosts such as
64 | // Surge or Netlify already gzip all static assets for you.
65 | // Before setting to `true`, make sure to:
66 | // npm install --save-dev compression-webpack-plugin
67 | productionGzip: false,
68 | productionGzipExtensions: ['js', 'css'],
69 |
70 | // Run the build command with an extra argument to
71 | // View the bundle analyzer report after build finishes:
72 | // `npm run build --report`
73 | // Set to `true` or `false` to always turn it on or off
74 | bundleAnalyzerReport: process.env.npm_config_report
75 | }
76 | }
77 |
--------------------------------------------------------------------------------
/docs/static/js/4.86adbee3ba7c4f20e496.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///./src/pages/home.vue?3b5f","webpack:///./src/pages/home.vue"],"names":["home","render","_h","this","$createElement","_c","_self","attrs","slot","title","_v","is-link","value","to","path","staticStyle","text-align","padding-top","margin","staticRenderFns","Component","__webpack_require__","normalizeComponent","__webpack_exports__"],"mappings":"qGAAA,IAGeA,GADEC,OAFjB,WAA0B,IAAaC,EAAbC,KAAaC,eAA0BC,EAAvCF,KAAuCG,MAAAD,IAAAH,EAAwB,OAAAG,EAAA,iBAAAA,EAAA,eAA6CE,OAAOC,KAAA,SAAAC,MAAA,MAA6BD,KAAA,WAAhJL,KAA+JO,GAAA,KAAAL,EAAA,kBAAAA,EAAA,YAAkDE,OAAOE,MAAA,KAAAE,UAAA,GAAAC,MAAA,OAAAC,IAA+CC,KAAA,aAAe,GAAtRX,KAAsRO,GAAA,KAAAL,EAAA,KAA0BU,aAAaC,aAAA,SAAAC,cAAA,UAA7Td,KAAyWO,GAAA,eAAAL,EAAA,MAAzWF,KAAyWO,GAAA,WAAzWP,KAAyWO,GAAA,KAAAL,EAAA,kBAAoFU,aAAaG,OAAA,mBAA0Bb,EAAA,YAAiBE,OAAOE,MAAA,UAAAE,UAAA,GAAAE,IAAqCC,KAAA,aAAe,QAEzjBK,oBCWjBC,EAbyBC,EAAQ,OAajCC,CAXA,KAaEtB,GATF,EAEA,KAEA,KAEA,MAUeuB,EAAA,QAAAH,EAAiB","file":"static/js/4.86adbee3ba7c4f20e496.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-layout',[_c('van-nav-bar',{attrs:{\"slot\":\"header\",\"title\":\"首页\"},slot:\"header\"}),_vm._v(\" \"),_c('van-cell-group',[_c('van-cell',{attrs:{\"title\":\"评分\",\"is-link\":\"\",\"value\":\"Rate\",\"to\":{path:'/rate'}}})],1),_vm._v(\" \"),_c('p',{staticStyle:{\"text-align\":\"center\",\"padding-top\":\"30px\"}},[_vm._v(\"所有页面默认开启了缓存\"),_c('br'),_vm._v(\"请向下滚动\")]),_vm._v(\" \"),_c('van-cell-group',{staticStyle:{\"margin\":\"300px 0 300px\"}},[_c('van-cell',{attrs:{\"title\":\"记录滚动条位置\",\"is-link\":\"\",\"to\":{path:'/rate'}}})],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-4784b653\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/home.vue\n// module id = null\n// module chunks = ","var normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nvar __vue_script__ = null\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4784b653\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./home.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/pages/home.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
--------------------------------------------------------------------------------
/docs/static/js/5.3c5d26f26f7c4068eff9.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///./src/pages/demo.vue?0b52","webpack:///./src/pages/demo.vue"],"names":["demo","render","_vm","this","_h","$createElement","_c","_self","attrs","title","left-text","left-arrow","on","click-left","$event","$router","go","_v","is-link","to","path","staticStyle","margin","type","size","click","staticRenderFns","Component","__webpack_require__","normalizeComponent","__webpack_exports__"],"mappings":"qGAAA,IAGeA,GADEC,OAFjB,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,iBAAAA,EAAA,eAA6CE,OAAOC,MAAA,OAAAC,YAAA,KAAAC,aAAA,IAAgDC,IAAKC,aAAA,SAAAC,GAA8BZ,EAAAa,QAAAC,IAAA,OAAqBd,EAAAe,GAAA,KAAAX,EAAA,kBAAAA,EAAA,YAAkDE,OAAOC,MAAA,KAAAS,UAAA,GAAAC,IAAgCC,KAAA,cAAiBlB,EAAAe,GAAA,KAAAX,EAAA,YAA6BE,OAAOC,MAAA,OAAAS,UAAA,GAAAC,IAAkCC,KAAA,gBAAkB,GAAAlB,EAAAe,GAAA,KAAAX,EAAA,OAA4Be,aAAaC,OAAA,UAAiBhB,EAAA,cAAmBE,OAAOe,KAAA,UAAAC,KAAA,SAAgCZ,IAAKa,MAAA,SAAAX,GAAyBZ,EAAAa,QAAAC,IAAA,OAAqBd,EAAAe,GAAA,iBAE7kBS,oBCWjBC,EAbyBC,EAAQ,OAajCC,CAXA,KAaE7B,GATF,EAEA,KAEA,KAEA,MAUe8B,EAAA,QAAAH,EAAiB","file":"static/js/5.3c5d26f26f7c4068eff9.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-layout',[_c('van-nav-bar',{attrs:{\"title\":\"demo\",\"left-text\":\"返回\",\"left-arrow\":\"\"},on:{\"click-left\":function($event){_vm.$router.go(-1)}}}),_vm._v(\" \"),_c('van-cell-group',[_c('van-cell',{attrs:{\"title\":\"按钮\",\"is-link\":\"\",\"to\":{path:'/button'}}}),_vm._v(\" \"),_c('van-cell',{attrs:{\"title\":\"地址编辑\",\"is-link\":\"\",\"to\":{path:'/address'}}})],1),_vm._v(\" \"),_c('div',{staticStyle:{\"margin\":\"15px\"}},[_c('van-button',{attrs:{\"type\":\"primary\",\"size\":\"large\"},on:{\"click\":function($event){_vm.$router.go(-1)}}},[_vm._v(\"返回\")])],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-7ca6a341\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/demo.vue\n// module id = null\n// module chunks = ","var normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nvar __vue_script__ = null\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7ca6a341\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./demo.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/pages/demo.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "vue-route-transition",
3 | "version": "1.1.1",
4 | "description": "A Vue.js router transition project vue 路由动画",
5 | "author": "dreamback",
6 | "main": "lib/vue_route_transition.min.js",
7 | "keywords": [
8 | "vue-route-transition",
9 | "vue-router-transition",
10 | "vue-router-slide",
11 | "vue-router-animate",
12 | "vue-路由动画",
13 | "路由动画",
14 | "router-transition",
15 | "route-transition"
16 | ],
17 | "scripts": {
18 | "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
19 | "start": "npm run dev",
20 | "unit": "jest --config test/unit/jest.conf.js --coverage",
21 | "test": "npm run unit",
22 | "lint": "eslint --fix --ext .js,.vue src test/unit",
23 | "build": "node build/build.js",
24 | "npm": "node build/webpack.npm.conf.js"
25 | },
26 | "dependencies": {
27 | "vant": "^1.4.8",
28 | "vue": "^2.5.2",
29 | "vue-route-transition": "^1.1.0",
30 | "vue-router": "^3.0.1"
31 | },
32 | "devDependencies": {
33 | "autoprefixer": "^7.1.2",
34 | "babel-core": "^6.22.1",
35 | "babel-eslint": "^8.2.1",
36 | "babel-helper-vue-jsx-merge-props": "^2.0.3",
37 | "babel-jest": "^21.0.2",
38 | "babel-loader": "^7.1.1",
39 | "babel-plugin-dynamic-import-node": "^1.2.0",
40 | "babel-plugin-import": "^1.11.0",
41 | "babel-plugin-syntax-jsx": "^6.18.0",
42 | "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
43 | "babel-plugin-transform-runtime": "^6.22.0",
44 | "babel-plugin-transform-vue-jsx": "^3.5.0",
45 | "babel-preset-env": "^1.3.2",
46 | "babel-preset-stage-2": "^6.22.0",
47 | "chalk": "^2.0.1",
48 | "copy-webpack-plugin": "^4.0.1",
49 | "css-loader": "^0.28.0",
50 | "eslint": "^4.15.0",
51 | "eslint-config-standard": "^10.2.1",
52 | "eslint-friendly-formatter": "^3.0.0",
53 | "eslint-loader": "^1.7.1",
54 | "eslint-plugin-import": "^2.7.0",
55 | "eslint-plugin-node": "^5.2.0",
56 | "eslint-plugin-promise": "^3.4.0",
57 | "eslint-plugin-standard": "^3.0.1",
58 | "eslint-plugin-vue": "^4.0.0",
59 | "extract-text-webpack-plugin": "^3.0.0",
60 | "file-loader": "^1.1.4",
61 | "friendly-errors-webpack-plugin": "^1.6.1",
62 | "html-webpack-plugin": "^2.30.1",
63 | "jest": "^22.0.4",
64 | "jest-serializer-vue": "^0.3.0",
65 | "less": "^3.8.1",
66 | "less-loader": "^4.1.0",
67 | "node-notifier": "^5.1.2",
68 | "optimize-css-assets-webpack-plugin": "^3.2.0",
69 | "ora": "^1.2.0",
70 | "portfinder": "^1.0.13",
71 | "postcss-import": "^11.0.0",
72 | "postcss-loader": "^2.0.8",
73 | "postcss-url": "^7.2.1",
74 | "rimraf": "^2.6.0",
75 | "semver": "^5.3.0",
76 | "shelljs": "^0.7.6",
77 | "uglifyjs-webpack-plugin": "^1.1.1",
78 | "url-loader": "^0.5.8",
79 | "vue-jest": "^1.0.2",
80 | "vue-loader": "^13.3.0",
81 | "vue-style-loader": "^3.0.1",
82 | "vue-template-compiler": "^2.5.2",
83 | "webpack": "^3.6.0",
84 | "webpack-bundle-analyzer": "^2.9.0",
85 | "webpack-dev-server": "^2.9.1",
86 | "webpack-merge": "^4.1.0"
87 | },
88 | "engines": {
89 | "node": ">= 6.0.0",
90 | "npm": ">= 3.0.0"
91 | },
92 | "browserslist": [
93 | "> 1%",
94 | "not ie <= 11",
95 | "Android >= 4.0",
96 | "iOS >= 8"
97 | ],
98 | "homepage": "https://github.com/dreamback/vue-route-transition"
99 | }
100 |
--------------------------------------------------------------------------------
/docs/static/js/0.fc5eeb2e48cd2dfde7a2.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///./src/pages/button.vue?428a","webpack:///./src/pages/button.vue"],"names":["pages_button","render","_vm","this","_h","$createElement","_c","_self","attrs","slot","title","left-arrow","on","click-left","$event","$router","go","_v","staticStyle","margin","size","type","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"qGAAA,IAGeA,GADEC,OAFjB,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,iBAAAA,EAAA,eAA6CE,OAAOC,KAAA,SAAAC,MAAA,KAAAC,aAAA,IAA6CC,IAAKC,aAAA,SAAAC,GAA8BZ,EAAAa,QAAAC,IAAA,KAAoBP,KAAA,WAAeP,EAAAe,GAAA,KAAAX,EAAA,OAAwBY,aAAaC,OAAA,UAAiBb,EAAA,cAAmBE,OAAOY,KAAA,QAAAC,KAAA,aAAiCnB,EAAAe,GAAA,UAAAf,EAAAe,GAAA,KAAAX,EAAA,cAAgDE,OAAOY,KAAA,QAAAC,KAAA,aAAiCnB,EAAAe,GAAA,UAAAf,EAAAe,GAAA,KAAAX,EAAA,cAAgDE,OAAOY,KAAA,QAAAC,KAAA,aAAiCnB,EAAAe,GAAA,UAAAf,EAAAe,GAAA,KAAAX,EAAA,cAAgDE,OAAOY,KAAA,QAAAC,KAAA,YAAgCnB,EAAAe,GAAA,mBAEvmBK,oBCCjB,IAaAC,EAbyBC,EAAQ,OAajCC,CAXA,KAaEzB,GATF,EATA,SAAA0B,GACEF,EAAQ,SAYV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/0.fc5eeb2e48cd2dfde7a2.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-layout',[_c('van-nav-bar',{attrs:{\"slot\":\"header\",\"title\":\"按钮\",\"left-arrow\":\"\"},on:{\"click-left\":function($event){_vm.$router.go(-1)}},slot:\"header\"}),_vm._v(\" \"),_c('div',{staticStyle:{\"margin\":\"15px\"}},[_c('van-button',{attrs:{\"size\":\"large\",\"type\":\"default\"}},[_vm._v(\"默认按钮\")]),_vm._v(\" \"),_c('van-button',{attrs:{\"size\":\"large\",\"type\":\"primary\"}},[_vm._v(\"主要按钮\")]),_vm._v(\" \"),_c('van-button',{attrs:{\"size\":\"large\",\"type\":\"warning\"}},[_vm._v(\"警告按钮\")]),_vm._v(\" \"),_c('van-button',{attrs:{\"size\":\"large\",\"type\":\"danger\"}},[_vm._v(\"危险按钮\")])],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-8ac67bee\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/button.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-8ac67bee\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./button.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nvar __vue_script__ = null\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-8ac67bee\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./button.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/pages/button.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
--------------------------------------------------------------------------------
/docs/static/js/1.4bfc59040d282b79e92f.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///src/pages/swipe.vue","webpack:///./src/pages/swipe.vue?f1f0","webpack:///./src/pages/swipe.vue"],"names":["pages_swipe","render","_vm","this","_h","$createElement","_c","_self","attrs","autoplay","height","indicator-color","_v","staticStyle","text-align","staticRenderFns","Component","__webpack_require__","normalizeComponent","ssrContext","__webpack_exports__"],"mappings":"uGAYA,ICTeA,GADEC,OAFjB,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAAA,EAAA,aAAiCE,OAAOC,SAAA,IAAAC,OAAA,IAAAC,kBAAA,WAAwDL,EAAA,kBAAAJ,EAAAU,GAAA,OAAAV,EAAAU,GAAA,KAAAN,EAAA,kBAAAJ,EAAAU,GAAA,OAAAV,EAAAU,GAAA,KAAAN,EAAA,kBAAAJ,EAAAU,GAAA,OAAAV,EAAAU,GAAA,KAAAN,EAAA,kBAAAJ,EAAAU,GAAA,WAAAV,EAAAU,GAAA,KAAAN,EAAA,KAA0MO,aAAaC,aAAA,YAAuBZ,EAAAU,GAAA,0BAEtZG,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,IAEElB,GATF,EAVA,SAAAmB,GACEF,EAAQ,SAaV,KAEA,MAUeG,EAAA,QAAAJ,EAAiB","file":"static/js/1.4bfc59040d282b79e92f.js","sourcesContent":["\r\n \r\n
\r\n 1\r\n 2\r\n 3\r\n 4\r\n \r\n
tabbar路由页面不需要动画
\r\n
\r\n\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/pages/swipe.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-swipe',{attrs:{\"autoplay\":3000,\"height\":200,\"indicator-color\":\"white\"}},[_c('van-swipe-item',[_vm._v(\"1\")]),_vm._v(\" \"),_c('van-swipe-item',[_vm._v(\"2\")]),_vm._v(\" \"),_c('van-swipe-item',[_vm._v(\"3\")]),_vm._v(\" \"),_c('van-swipe-item',[_vm._v(\"4\")])],1),_vm._v(\" \"),_c('p',{staticStyle:{\"text-align\":\"center\"}},[_vm._v(\"tabbar路由页面不需要动画\")])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-4c3742c2\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/swipe.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-4c3742c2\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./swipe.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./swipe.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./swipe.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4c3742c2\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./swipe.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/pages/swipe.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
--------------------------------------------------------------------------------
/docs/static/js/2.62516ae1f3e7dbc58449.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///src/pages/tab.vue","webpack:///./src/pages/tab.vue?325a","webpack:///./src/pages/tab.vue"],"names":["pages_tab","render","_vm","this","_h","$createElement","_c","_self","model","value","callback","$$v","active","expression","attrs","title","_v","staticStyle","text-align","staticRenderFns","Component","__webpack_require__","normalizeComponent","data","ssrContext","__webpack_exports__"],"mappings":"qGAYA,ICTeA,GADEC,OAFjB,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAAA,EAAA,YAAgCE,OAAOC,MAAAP,EAAA,OAAAQ,SAAA,SAAAC,GAA4CT,EAAAU,OAAAD,GAAeE,WAAA,YAAsBP,EAAA,WAAgBQ,OAAOC,MAAA,UAAgBb,EAAAc,GAAA,UAAAd,EAAAc,GAAA,KAAAV,EAAA,WAA6CQ,OAAOC,MAAA,UAAgBb,EAAAc,GAAA,UAAAd,EAAAc,GAAA,KAAAV,EAAA,WAA6CQ,OAAOC,MAAA,UAAgBb,EAAAc,GAAA,UAAAd,EAAAc,GAAA,KAAAV,EAAA,WAA6CQ,OAAOC,MAAA,UAAgBb,EAAAc,GAAA,cAAAd,EAAAc,GAAA,KAAAV,EAAA,KAA2CW,aAAaC,aAAA,YAAuBhB,EAAAc,GAAA,0BAElgBG,oBCCjB,IAcAC,EAdyBC,EAAQ,OAcjCC,EFJAC,KADA,WAEA,OACAX,OAAA,KEIEZ,GATF,EAVA,SAAAwB,GACEH,EAAQ,SAaV,KAEA,MAUeI,EAAA,QAAAL,EAAiB","file":"static/js/2.62516ae1f3e7dbc58449.js","sourcesContent":["\r\n \r\n
\r\n 内容 1\r\n 内容 2\r\n 内容 3\r\n 内容 4\r\n \r\n
tabbar路由页面不需要动画
\r\n
\r\n\r\n\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/pages/tab.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('van-tabs',{model:{value:(_vm.active),callback:function ($$v) {_vm.active=$$v},expression:\"active\"}},[_c('van-tab',{attrs:{\"title\":\"标签 1\"}},[_vm._v(\"内容 1\")]),_vm._v(\" \"),_c('van-tab',{attrs:{\"title\":\"标签 2\"}},[_vm._v(\"内容 2\")]),_vm._v(\" \"),_c('van-tab',{attrs:{\"title\":\"标签 3\"}},[_vm._v(\"内容 3\")]),_vm._v(\" \"),_c('van-tab',{attrs:{\"title\":\"标签 4\"}},[_vm._v(\"内容 4\")])],1),_vm._v(\" \"),_c('p',{staticStyle:{\"text-align\":\"center\"}},[_vm._v(\"tabbar路由页面不需要动画\")])],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-2ce9d408\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/tab.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-2ce9d408\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./tab.vue\")\n}\nvar normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./tab.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./tab.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-2ce9d408\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./tab.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/pages/tab.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
--------------------------------------------------------------------------------
/docs/static/js/app.bffec86c54f192472363.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([8],{"4ml/":function(t,e){},IvNo:function(t,e){},NHnr:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("7+uW"),i={render:function(){var t=this.$createElement;return(this._self._c||t)("vue-route-transition",{attrs:{id:"app",keepAlive:!0}})},staticRenderFns:[]};var o=n("VU/8")({name:"App"},i,!1,function(t){n("Ug2t")},null,null).exports,r=n("/ocq"),s={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("router-layout",{attrs:{id:"__index"}},[n("router-view"),t._v(" "),n("van-tabbar",{attrs:{slot:"footer",fixed:!1},slot:"footer",model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},[n("van-tabbar-item",{attrs:{to:"/",icon:"shop"}},[t._v("标签")]),t._v(" "),n("van-tabbar-item",{attrs:{to:"/tab",icon:"chat"}},[t._v("标签")]),t._v(" "),n("van-tabbar-item",{attrs:{to:"/swipe",icon:"records"}},[t._v("标签")])],1)],1)},staticRenderFns:[]},u=n("VU/8")({data:function(){return{active:0}},mounted:function(){switch(this.$route.path){case"/":this.active=0;break;case"/tab":this.active=1;break;case"/swipe":this.active=2;break;default:this.active=0}}},s,!1,null,null,null).exports;a.a.use(r.a);var c=new r.a({routes:[{path:"",component:u,children:[{path:"/",component:function(t){return n.e(4).then(function(){var e=[n("vkyI")];t.apply(null,e)}.bind(this)).catch(n.oe)}},{path:"/tab",component:function(t){return n.e(2).then(function(){var e=[n("HcBI")];t.apply(null,e)}.bind(this)).catch(n.oe)}},{path:"/swipe",component:function(t){return n.e(1).then(function(){var e=[n("+eDV")];t.apply(null,e)}.bind(this)).catch(n.oe)}}]},{path:"/rate",meta:{keepAlive:!1},component:function(t){return n.e(3).then(function(){var e=[n("J4SX")];t.apply(null,e)}.bind(this)).catch(n.oe)}},{path:"/button",component:function(t){return n.e(0).then(function(){var e=[n("GW8G")];t.apply(null,e)}.bind(this)).catch(n.oe)}},{path:"/address",component:function(t){return n.e(6).then(function(){var e=[n("sy9f")];t.apply(null,e)}.bind(this)).catch(n.oe)}},{path:"/demo",component:function(t){return n.e(5).then(function(){var e=[n("xxzw")];t.apply(null,e)}.bind(this)).catch(n.oe)}}]}),h=n("mvHQ"),p=n.n(h),l=sessionStorage.getItem("$$routeChain")||[],d={name:"vue-route-transition",props:{keepAlive:{type:Boolean,default:!0}},data:function(){try{l="/"!==this.$route.path?JSON.parse(l):[]}catch(t){l=[]}return{state:{addCount:l.length,routerMap:{},pageDirection:"fade",routeChain:l}}},methods:{addRouteChain:function(t){0===this.state.addCount&&l.length>0?this.state.addCount=1:(0!==this.state.addCount&&this.state.routeChain[this.state.routeChain.length-1].path!==t.path||0===this.state.addCount)&&(this.state.routeChain.push({path:t.path}),sessionStorage.setItem("$$routeChain",p()(this.state.routeChain)),this.state.addCount++)},popRouteChain:function(){this.state.routeChain.pop(),sessionStorage.setItem("$$routeChain",p()(this.state.routeChain))},setPageDirection:function(t){var e=t.dir,n=t.to,a=t.from;this.state.pageDirection=e,this.state.routerMap.to=n.path,this.state.routerMap.from=a.path},setRouterMap:function(){var t=this.state.pageDirection,e=this.state.routerMap.to.replace(/\//g,"_"),n=this.state.routerMap.from.replace(/\//g,"_");try{"slide-left"===t?this.state.routerMap[n]=document.getElementById(n).scrollTop:"slide-right"===t&&!0===this.keepAlive&&!1!==this.$route.meta.keepAlive&&(document.getElementById(e).scrollTop=this.state.routerMap[e])}catch(t){}}},mounted:function(){var t=this;this.$router.beforeEach(function(e,n,a){var i=t.state.routeChain.length;if(0===i||0===t.state.addCount)t.setPageDirection({dir:"slide-left",to:e,from:n}),t.addRouteChain(n),t.addRouteChain(e);else if(1===i)t.setPageDirection({dir:"slide-left",to:e,from:n}),t.addRouteChain(e);else{t.state.routeChain[i-2].path===e.path&&!0!==e.meta.slideLeft?(t.popRouteChain(),t.setPageDirection({dir:"slide-right",to:e,from:n})):(t.addRouteChain(e),t.setPageDirection({dir:"slide-left",to:e,from:n}))}a()})}},f={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"vue-route-transition"},[e("transition",{attrs:{name:this.state.pageDirection},on:{leave:this.setRouterMap}},[!0===this.keepAlive&&!1!==this.$route.meta.keepAlive?e("keep-alive",[e("router-view")],1):e("router-view")],1)],1)},staticRenderFns:[]};var v=n("VU/8")(d,f,!1,function(t){n("QDFS")},null,null).exports,m={name:"router-layout",props:{id:String},data:function(){return{cId:this.id||this.$route.path.replace(/\//g,"_")||"_null_"}}},C={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"vue-route-transition-wrapper"},[this._t("header"),this._v(" "),e("div",{staticClass:"vue-route-transition-content",attrs:{id:this.cId}},[this._t("default")],2),this._v(" "),this._t("footer")],2)},staticRenderFns:[]};var g=n("VU/8")(m,C,!1,function(t){n("IvNo")},null,null).exports,_=function(t){t.component(v.name,v),t.component(g.name,g)};"undefined"!=typeof window&&window.Vue&&_(window.Vue);var b={install:_},w=n("Fd2+");n("4ml/");a.a.config.productionTip=!1,a.a.use(b),a.a.use(w.a),new a.a({el:"#app",router:c,components:{App:o},template:""})},QDFS:function(t,e){},Ug2t:function(t,e){}},["NHnr"]);
2 | //# sourceMappingURL=app.bffec86c54f192472363.js.map
--------------------------------------------------------------------------------
/docs/static/js/6.67abbd8e562724c8aac5.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///src/pages/address.vue","webpack:///./src/pages/address.vue?d94b","webpack:///./src/pages/address.vue"],"names":["pages_address","render","_vm","this","_h","$createElement","_c","_self","attrs","slot","title","left-arrow","on","click-left","$event","$router","go","_v","list","disabled-list","disabledList","disabled-text","add","onAdd","edit","onEdit","model","value","callback","$$v","chosenAddressId","expression","staticRenderFns","Component","__webpack_require__","normalizeComponent","data","id","name","tel","address","methods","Toast","item","index","__webpack_exports__"],"mappings":"qGAcA,ICXeA,GADEC,OAFjB,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,iBAAAA,EAAA,eAA6CE,OAAOC,KAAA,SAAAC,MAAA,oBAAAC,aAAA,IAA4DC,IAAKC,aAAA,SAAAC,GAA8BZ,EAAAa,QAAAC,IAAA,KAAoBP,KAAA,WAAeP,EAAAe,GAAA,KAAAX,EAAA,oBAAqCE,OAAOU,KAAAhB,EAAAgB,KAAAC,gBAAAjB,EAAAkB,aAAAC,gBAAA,cAA8ET,IAAKU,IAAApB,EAAAqB,MAAAC,KAAAtB,EAAAuB,QAAkCC,OAAQC,MAAAzB,EAAA,gBAAA0B,SAAA,SAAAC,GAAqD3B,EAAA4B,gBAAAD,GAAwBE,WAAA,sBAA+B,IAEnhBC,oBCYjBC,EAdyBC,EAAQ,OAcjCC,EFCAC,KADA,WAEA,OACAN,gBAAA,IACAZ,OAEAmB,GAAA,IACAC,KAAA,KACAC,IAAA,cACAC,QAAA,uCAGAH,GAAA,IACAC,KAAA,KACAC,IAAA,aACAC,QAAA,uBAGApB,eAEAiB,GAAA,IACAC,KAAA,KACAC,IAAA,aACAC,QAAA,yBAMAC,SACAlB,MADA,WAEApB,KAAAuC,MAAA,SAGAjB,OALA,SAKAkB,EAAAC,GACAzC,KAAAuC,MAAA,QAAAE,MEjCE5C,GATF,EAEA,KAEA,KAEA,MAUe6C,EAAA,QAAAZ,EAAiB","file":"static/js/6.67abbd8e562724c8aac5.js","sourcesContent":["\r\n \r\n \r\n \r\n \r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/pages/address.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-layout',[_c('van-nav-bar',{attrs:{\"slot\":\"header\",\"title\":\"AdddressEdit 地址编辑\",\"left-arrow\":\"\"},on:{\"click-left\":function($event){_vm.$router.go(-1)}},slot:\"header\"}),_vm._v(\" \"),_c('van-address-list',{attrs:{\"list\":_vm.list,\"disabled-list\":_vm.disabledList,\"disabled-text\":\"以下地址超出配送范围\"},on:{\"add\":_vm.onAdd,\"edit\":_vm.onEdit},model:{value:(_vm.chosenAddressId),callback:function ($$v) {_vm.chosenAddressId=$$v},expression:\"chosenAddressId\"}})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-efc39c54\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/address.vue\n// module id = null\n// module chunks = ","var normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./address.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./address.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-efc39c54\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./address.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/pages/address.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
--------------------------------------------------------------------------------
/docs/static/js/3.d9028f60736dea81729e.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///src/pages/rate.vue","webpack:///./src/pages/rate.vue?f4d4","webpack:///./src/pages/rate.vue"],"names":["pages_rate","render","_vm","this","_h","$createElement","_c","_self","attrs","slot","title","left-text","left-arrow","on","click-left","$event","$router","go","_v","staticStyle","text-align","padding","model","value","callback","$$v","expression","margin","size","type","click","padding-top","is-link","to","path","staticRenderFns","Component","__webpack_require__","normalizeComponent","data","mounted","__webpack_exports__"],"mappings":"qGAgBA,ICbeA,GADEC,OAFjB,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,iBAAAA,EAAA,eAA6CE,OAAOC,KAAA,SAAAC,MAAA,KAAAC,YAAA,KAAAC,aAAA,IAA8DC,IAAKC,aAAA,SAAAC,GAA8Bb,EAAAc,QAAAC,IAAA,KAAoBR,KAAA,WAAeP,EAAAgB,GAAA,KAAAZ,EAAA,OAAwBa,aAAaC,aAAA,SAAAC,QAAA,UAAwCf,EAAA,YAAiBgB,OAAOC,MAAArB,EAAA,MAAAsB,SAAA,SAAAC,GAA2CvB,EAAAqB,MAAAE,GAAcC,WAAA,YAAqB,GAAAxB,EAAAgB,GAAA,KAAAZ,EAAA,OAA4Ba,aAAaQ,OAAA,YAAmBrB,EAAA,cAAmBE,OAAOoB,KAAA,QAAAC,KAAA,WAAgChB,IAAKiB,MAAA,SAAAf,GAAyBb,EAAAc,QAAAC,IAAA,OAAqBf,EAAAgB,GAAA,wBAAAhB,EAAAgB,GAAA,KAAAZ,EAAA,KAAqDa,aAAaC,aAAA,SAAAW,cAAA,UAA4C7B,EAAAgB,GAAA,qCAA2CZ,EAAA,MAAAJ,EAAAgB,GAAA,aAAAhB,EAAAgB,GAAA,KAAAZ,EAAA,kBAAiEa,aAAaQ,OAAA,mBAA0BrB,EAAA,YAAiBE,OAAOE,MAAA,KAAAsB,UAAA,GAAAC,IAAgCC,KAAA,aAAe,QAEp6BC,oBCYjBC,EAdyBC,EAAQ,OAcjCC,EFGAC,KADA,WAEA,OACAhB,MAAA,IAGAiB,QANA,cEAExC,GATF,EAEA,KAEA,KAEA,MAUeyC,EAAA,QAAAL,EAAiB","file":"static/js/3.d9028f60736dea81729e.js","sourcesContent":["\r\n \r\n \r\n \r\n \r\n
\r\n \r\n $router.go(-1)\r\n
\r\n 该页面路由配置了 meta: {keepAlive: false}
关闭了缓存功能
\r\n \r\n \r\n \r\n \r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/pages/rate.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-layout',[_c('van-nav-bar',{attrs:{\"slot\":\"header\",\"title\":\"评分\",\"left-text\":\"返回\",\"left-arrow\":\"\"},on:{\"click-left\":function($event){_vm.$router.go(-1)}},slot:\"header\"}),_vm._v(\" \"),_c('div',{staticStyle:{\"text-align\":\"center\",\"padding\":\"20px\"}},[_c('van-rate',{model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:\"value\"}})],1),_vm._v(\" \"),_c('div',{staticStyle:{\"margin\":\"0 20px\"}},[_c('van-button',{attrs:{\"size\":\"large\",\"type\":\"primary\"},on:{\"click\":function($event){_vm.$router.go(-1)}}},[_vm._v(\"$router.go(-1)\")])],1),_vm._v(\" \"),_c('p',{staticStyle:{\"text-align\":\"center\",\"padding-top\":\"30px\"}},[_vm._v(\"该页面路由配置了 meta: {keepAlive: false}\"),_c('br'),_vm._v(\"关闭了缓存功能\")]),_vm._v(\" \"),_c('van-cell-group',{staticStyle:{\"margin\":\"300px 0 300px\"}},[_c('van-cell',{attrs:{\"title\":\"更多\",\"is-link\":\"\",\"to\":{path:'/demo'}}})],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-f46a9420\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/rate.vue\n// module id = null\n// module chunks = ","var normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./rate.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./rate.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-f46a9420\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./rate.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/pages/rate.vue\n// module id = null\n// module chunks = "],"sourceRoot":""}
--------------------------------------------------------------------------------
/src/components/vue-route-transition/transition.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
106 |
107 |
222 |
--------------------------------------------------------------------------------
/docs/static/js/manifest.10910c7d45fed56c6292.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///webpack/bootstrap b66fe2b8acd9bbc72094"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","9","exports","module","l","e","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","script","createElement","type","charset","async","timeout","nc","setAttribute","src","p","0","1","2","3","4","5","6","setTimeout","onScriptComplete","onerror","onload","clearTimeout","chunk","Error","undefined","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aACA,I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AAyB,EAAA,aAAAtC,EAAA,KAAwEuC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,wBAA6L7C,GAAA,MACrQ,IAAAkC,EAAAY,WAAAC,EAAA,MAEA,SAAAA,IAEAlB,EAAAmB,QAAAnB,EAAAoB,OAAA,KACAC,aAAAhB,GACA,IAAAiB,EAAA9C,EAAAL,GACA,IAAAmD,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAApD,EAAA,aAEAK,EAAAL,QAAAqD,GAKA,OAfAxB,EAAAmB,QAAAnB,EAAAoB,OAAAF,EAaArB,EAAA4B,YAAAzB,GAEAL,GAIAX,EAAA0C,EAAA5C,EAGAE,EAAA2C,EAAAzC,EAGAF,EAAA4C,EAAA,SAAAxC,EAAAyC,EAAAC,GACA9C,EAAA+C,EAAA3C,EAAAyC,IACAnD,OAAAsD,eAAA5C,EAAAyC,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMA9C,EAAAoD,EAAA,SAAA/C,GACA,IAAAyC,EAAAzC,KAAAgD,WACA,WAA2B,OAAAhD,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAA4C,EAAAE,EAAA,IAAAA,GACAA,GAIA9C,EAAA+C,EAAA,SAAAO,EAAAC,GAAsD,OAAA7D,OAAAC,UAAAC,eAAAC,KAAAyD,EAAAC,IAGtDvD,EAAAyB,EAAA,KAGAzB,EAAAwD,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.10910c7d45fed56c6292.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t9: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = \"text/javascript\";\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"fc5eeb2e48cd2dfde7a2\",\"1\":\"4bfc59040d282b79e92f\",\"2\":\"62516ae1f3e7dbc58449\",\"3\":\"d9028f60736dea81729e\",\"4\":\"86adbee3ba7c4f20e496\",\"5\":\"3c5d26f26f7c4068eff9\",\"6\":\"67abbd8e562724c8aac5\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"./\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap b66fe2b8acd9bbc72094"],"sourceRoot":""}
--------------------------------------------------------------------------------
/lib/vue_route_transition.min.js:
--------------------------------------------------------------------------------
1 | !function(n,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e=t();for(var r in e)("object"==typeof exports?exports:n)[r]=e[r]}}("undefined"!=typeof self?self:this,function(){return function(n){var t={};function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:r})},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=5)}([function(n,t){n.exports=function(n){var t=[];return t.toString=function(){return this.map(function(t){var e=function(n,t){var e=n[1]||"",r=n[3];if(!r)return e;if(t&&"function"==typeof btoa){var o=(i=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),a=r.sources.map(function(n){return"/*# sourceURL="+r.sourceRoot+n+" */"});return[e].concat(a).concat([o]).join("\n")}var i;return[e].join("\n")}(t,n);return t[2]?"@media "+t[2]+"{"+e+"}":e}).join("")},t.i=function(n,e){"string"==typeof n&&(n=[[null,n,""]]);for(var r={},o=0;oe.parts.length&&(r.parts.length=e.parts.length)}else{var i=[];for(o=0;o0?this.state.addCount=1:(0!==this.state.addCount&&this.state.routeChain[this.state.routeChain.length-1].path!==n.path||0===this.state.addCount)&&(this.state.routeChain.push({path:n.path}),sessionStorage.setItem("$$routeChain",o()(this.state.routeChain)),this.state.addCount++)},popRouteChain:function(){this.state.routeChain.pop(),sessionStorage.setItem("$$routeChain",o()(this.state.routeChain))},setPageDirection:function(n){var t=n.dir,e=n.to,r=n.from;this.state.pageDirection=t,this.state.routerMap.to=e.path,this.state.routerMap.from=r.path},setRouterMap:function(){var n=this.state.pageDirection,t=this.state.routerMap.to.replace(/\//g,"_"),e=this.state.routerMap.from.replace(/\//g,"_");try{"slide-left"===n?this.state.routerMap[e]=document.getElementById(e).scrollTop:"slide-right"===n&&(document.getElementById(t).scrollTop=this.state.routerMap[t])}catch(n){}}},mounted:function(){var n=this;this.$router.beforeEach(function(t,e,r){var o=n.state.routeChain.length;if(0===o||0===n.state.addCount)n.setPageDirection({dir:"slide-left",to:t,from:e}),n.addRouteChain(e),n.addRouteChain(t);else if(1===o)n.setPageDirection({dir:"slide-left",to:t,from:e}),n.addRouteChain(t);else{n.state.routeChain[o-2].path===t.path?(n.popRouteChain(),n.setPageDirection({dir:"slide-right",to:t,from:e})):(n.addRouteChain(t),n.setPageDirection({dir:"slide-left",to:t,from:e}))}r()})}}},function(n,t,e){"use strict";t.a={name:"router-layout",props:{id:String},data:function(){return{cId:this.id||this.$route.path.replace(/\//g,"_")||"_null_"}}}},function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=e(6),o=e(14),a=function(n){n.component(r.a.name,r.a),n.component(o.a.name,o.a)};"undefined"!=typeof window&&window.Vue&&a(window.Vue),t.default={install:a}},function(n,t,e){"use strict";var r=e(3),o=e(13),a=!1;var i=function(n){a||e(7)},A=e(2)(r.a,o.a,!1,i,null,null);A.options.__file="src/components/vue-route-transition/transition.vue",t.a=A.exports},function(n,t,e){var r=e(8);"string"==typeof r&&(r=[[n.i,r,""]]),r.locals&&(n.exports=r.locals);e(1)("33501e62",r,!1,{})},function(n,t,e){(n.exports=e(0)(!0)).push([n.i,"\nhtml,\nbody {\n width: 100%;\n height: 100%;\n}\n.vue-route-transition {\n position: absolute;\n width: 100%;\n height: 100%;\n display: -webkit-box;\n display: -webkit-flex;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -webkit-flex-direction: column;\n flex-direction: column;\n overflow: hidden;\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n -webkit-perspective: 1000;\n perspective: 1000;\n}\n.fade-enter-active {\n -webkit-animation: pageFadeIn 400ms forwards;\n animation: pageFadeIn 400ms forwards;\n}\n@-webkit-keyframes pageFadeIn {\nfrom {\n opacity: 0;\n}\nto {\n opacity: 1;\n}\n}\n@keyframes pageFadeIn {\nfrom {\n opacity: 0;\n}\nto {\n opacity: 1;\n}\n}\n/*路由前进,退出*/\n.slide-left-leave-active {\n -webkit-animation: pageFromCenterToLeft 400ms forwards;\n animation: pageFromCenterToLeft 400ms forwards;\n z-index: 1;\n}\n/*路由后退,进入*/\n.slide-right-enter-active {\n -webkit-animation: pageFromLeftToCenter 400ms forwards;\n animation: pageFromLeftToCenter 400ms forwards;\n z-index: 1;\n}\n/*路由后退,退出*/\n.slide-right-leave-active {\n -webkit-animation: pageFromCenterToRight 400ms forwards;\n animation: pageFromCenterToRight 400ms forwards;\n z-index: 10;\n box-shadow: -3px 0 5px rgba(0, 0, 0, 0.1);\n}\n/*路由前进,进入*/\n.slide-left-enter-active {\n -webkit-animation: pageFromRightToCenter 400ms forwards;\n animation: pageFromRightToCenter 400ms forwards;\n z-index: 10;\n box-shadow: -3px 0 5px rgba(0, 0, 0, 0.1);\n}\n/*-------------------------------*/\n/*路由前进,进入*/\n@-webkit-keyframes pageFromRightToCenter {\nfrom {\n /* left: 100%; */\n -webkit-transform: translate3d(100%, 0, 0);\n transform: translate3d(100%, 0, 0);\n opacity: 1;\n}\nto {\n /* left: 0; */\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n opacity: 1;\n}\n}\n@keyframes pageFromRightToCenter {\nfrom {\n /* left: 100%; */\n -webkit-transform: translate3d(100%, 0, 0);\n transform: translate3d(100%, 0, 0);\n opacity: 1;\n}\nto {\n /* left: 0; */\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n opacity: 1;\n}\n}\n/*路由前进,退出*/\n@-webkit-keyframes pageFromCenterToLeft {\nfrom {\n opacity: 1;\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n /* left:0; */\n}\nto {\n opacity: 0.5;\n -webkit-transform: translate3d(-20%, 0, 0);\n transform: translate3d(-20%, 0, 0);\n /* left:-20%; */\n}\n}\n@keyframes pageFromCenterToLeft {\nfrom {\n opacity: 1;\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n /* left:0; */\n}\nto {\n opacity: 0.5;\n -webkit-transform: translate3d(-20%, 0, 0);\n transform: translate3d(-20%, 0, 0);\n /* left:-20%; */\n}\n}\n/*路由后退,进入*/\n@-webkit-keyframes pageFromLeftToCenter {\nfrom {\n opacity: 0.5;\n -webkit-transform: translate3d(-20%, 0, 0);\n transform: translate3d(-20%, 0, 0);\n /* left: -20%; */\n}\nto {\n opacity: 1;\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n /* left: 0; */\n}\n}\n@keyframes pageFromLeftToCenter {\nfrom {\n opacity: 0.5;\n -webkit-transform: translate3d(-20%, 0, 0);\n transform: translate3d(-20%, 0, 0);\n /* left: -20%; */\n}\nto {\n opacity: 1;\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n /* left: 0; */\n}\n}\n/*路由后退,退出*/\n@-webkit-keyframes pageFromCenterToRight {\nfrom {\n /* left: 0; */\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n opacity: 1;\n}\nto {\n /* left: 100%; */\n -webkit-transform: translate3d(100%, 0, 0);\n transform: translate3d(100%, 0, 0);\n opacity: 1;\n}\n}\n@keyframes pageFromCenterToRight {\nfrom {\n /* left: 0; */\n -webkit-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0);\n opacity: 1;\n}\nto {\n /* left: 100%; */\n -webkit-transform: translate3d(100%, 0, 0);\n transform: translate3d(100%, 0, 0);\n opacity: 1;\n}\n}\n","",{version:3,sources:["E:/github/vue-route-transition/src/components/vue-route-transition/transition.vue"],names:[],mappings:";AAAA;;EAEE,YAAY;EACZ,aAAa;CACd;AACD;EACE,mBAAmB;EACnB,YAAY;EACZ,aAAa;EACb,qBAAc;EAAd,sBAAc;EAAd,cAAc;EACd,6BAAuB;EAAvB,8BAAuB;EAAvB,+BAAuB;UAAvB,uBAAuB;EACvB,iBAAiB;EACjB,oCAA4B;UAA5B,4BAA4B;EAC5B,0BAAkB;UAAlB,kBAAkB;CACnB;AACD;EACE,6CAAqC;UAArC,qCAAqC;CACtC;AACD;AACE;IACE,WAAW;CACZ;AACD;IACE,WAAW;CACZ;CACF;AAPD;AACE;IACE,WAAW;CACZ;AACD;IACE,WAAW;CACZ;CACF;AACD,WAAW;AACX;EACE,uDAA+C;UAA/C,+CAA+C;EAC/C,WAAW;CACZ;AACD,WAAW;AACX;EACE,uDAA+C;UAA/C,+CAA+C;EAC/C,WAAW;CACZ;AACD,WAAW;AACX;EACE,wDAAgD;UAAhD,gDAAgD;EAChD,YAAY;EACZ,0CAA0C;CAC3C;AACD,WAAW;AACX;EACE,wDAAgD;UAAhD,gDAAgD;EAChD,YAAY;EACZ,0CAA0C;CAC3C;AACD,mCAAmC;AACnC,WAAW;AACX;AACE;IACE,iBAAiB;IACjB,2CAAmC;YAAnC,mCAAmC;IACnC,WAAW;CACZ;AACD;IACE,cAAc;IACd,wCAAgC;YAAhC,gCAAgC;IAChC,WAAW;CACZ;CACF;AAXD;AACE;IACE,iBAAiB;IACjB,2CAAmC;YAAnC,mCAAmC;IACnC,WAAW;CACZ;AACD;IACE,cAAc;IACd,wCAAgC;YAAhC,gCAAgC;IAChC,WAAW;CACZ;CACF;AACD,WAAW;AACX;AACE;IACE,WAAW;IACX,wCAAgC;YAAhC,gCAAgC;IAChC,aAAa;CACd;AACD;IACE,aAAa;IACb,2CAAmC;YAAnC,mCAAmC;IACnC,gBAAgB;CACjB;CACF;AAXD;AACE;IACE,WAAW;IACX,wCAAgC;YAAhC,gCAAgC;IAChC,aAAa;CACd;AACD;IACE,aAAa;IACb,2CAAmC;YAAnC,mCAAmC;IACnC,gBAAgB;CACjB;CACF;AACD,WAAW;AACX;AACE;IACE,aAAa;IACb,2CAAmC;YAAnC,mCAAmC;IACnC,iBAAiB;CAClB;AACD;IACE,WAAW;IACX,wCAAgC;YAAhC,gCAAgC;IAChC,cAAc;CACf;CACF;AAXD;AACE;IACE,aAAa;IACb,2CAAmC;YAAnC,mCAAmC;IACnC,iBAAiB;CAClB;AACD;IACE,WAAW;IACX,wCAAgC;YAAhC,gCAAgC;IAChC,cAAc;CACf;CACF;AACD,WAAW;AACX;AACE;IACE,cAAc;IACd,wCAAgC;YAAhC,gCAAgC;IAChC,WAAW;CACZ;AACD;IACE,iBAAiB;IACjB,2CAAmC;YAAnC,mCAAmC;IACnC,WAAW;CACZ;CACF;AAXD;AACE;IACE,cAAc;IACd,wCAAgC;YAAhC,gCAAgC;IAChC,WAAW;CACZ;AACD;IACE,iBAAiB;IACjB,2CAAmC;YAAnC,mCAAmC;IACnC,WAAW;CACZ;CACF",file:"transition.vue",sourcesContent:["html,\nbody {\n width: 100%;\n height: 100%;\n}\n.vue-route-transition {\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n backface-visibility: hidden;\n perspective: 1000;\n}\n.fade-enter-active {\n animation: pageFadeIn 400ms forwards;\n}\n@keyframes pageFadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n/*路由前进,退出*/\n.slide-left-leave-active {\n animation: pageFromCenterToLeft 400ms forwards;\n z-index: 1;\n}\n/*路由后退,进入*/\n.slide-right-enter-active {\n animation: pageFromLeftToCenter 400ms forwards;\n z-index: 1;\n}\n/*路由后退,退出*/\n.slide-right-leave-active {\n animation: pageFromCenterToRight 400ms forwards;\n z-index: 10;\n box-shadow: -3px 0 5px rgba(0, 0, 0, 0.1);\n}\n/*路由前进,进入*/\n.slide-left-enter-active {\n animation: pageFromRightToCenter 400ms forwards;\n z-index: 10;\n box-shadow: -3px 0 5px rgba(0, 0, 0, 0.1);\n}\n/*-------------------------------*/\n/*路由前进,进入*/\n@keyframes pageFromRightToCenter {\n from {\n /* left: 100%; */\n transform: translate3d(100%, 0, 0);\n opacity: 1;\n }\n to {\n /* left: 0; */\n transform: translate3d(0, 0, 0);\n opacity: 1;\n }\n}\n/*路由前进,退出*/\n@keyframes pageFromCenterToLeft {\n from {\n opacity: 1;\n transform: translate3d(0, 0, 0);\n /* left:0; */\n }\n to {\n opacity: 0.5;\n transform: translate3d(-20%, 0, 0);\n /* left:-20%; */\n }\n}\n/*路由后退,进入*/\n@keyframes pageFromLeftToCenter {\n from {\n opacity: 0.5;\n transform: translate3d(-20%, 0, 0);\n /* left: -20%; */\n }\n to {\n opacity: 1;\n transform: translate3d(0, 0, 0);\n /* left: 0; */\n }\n}\n/*路由后退,退出*/\n@keyframes pageFromCenterToRight {\n from {\n /* left: 0; */\n transform: translate3d(0, 0, 0);\n opacity: 1;\n }\n to {\n /* left: 100%; */\n transform: translate3d(100%, 0, 0);\n opacity: 1;\n }\n}\n"],sourceRoot:""}])},function(n,t){n.exports=function(n,t){for(var e=[],r={},o=0;o\n \n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/App.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-layout',{attrs:{\"id\":\"__index\"}},[_c('router-view'),_vm._v(\" \"),_c('van-tabbar',{attrs:{\"slot\":\"footer\",\"fixed\":false},slot:\"footer\",model:{value:(_vm.active),callback:function ($$v) {_vm.active=$$v},expression:\"active\"}},[_c('van-tabbar-item',{attrs:{\"to\":\"/\",\"icon\":\"shop\"}},[_vm._v(\"标签\")]),_vm._v(\" \"),_c('van-tabbar-item',{attrs:{\"to\":\"/tab\",\"icon\":\"chat\"}},[_vm._v(\"标签\")]),_vm._v(\" \"),_c('van-tabbar-item',{attrs:{\"to\":\"/swipe\",\"icon\":\"records\"}},[_vm._v(\"标签\")])],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-295cdd0c\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/index.vue\n// module id = null\n// module chunks = ","var normalizeComponent = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-295cdd0c\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/pages/index.vue\n// module id = null\n// module chunks = ","\r\n \r\n \r\n \r\n 标签\r\n 标签\r\n 标签\r\n \r\n \r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// src/pages/index.vue","import Vue from 'vue'\nimport Router from 'vue-router'\nimport index from '@/pages/index'\n\nVue.use(Router)\n\nexport default new Router({\n routes: [\n {\n path: '',\n component: index,\n children: [{\n path: '/',\n component: r => require(['@/pages/home'], r)\n }, {\n path: '/tab',\n component: r => require(['@/pages/tab'], r)\n }, {\n path: '/swipe',\n component: r => require(['@/pages/swipe'], r)\n }]\n },\n {\n path: '/rate',\n meta: {keepAlive: false},\n component: r => require(['@/pages/rate'], r)\n },\n {\n path: '/button',\n component: r => require(['@/pages/button'], r)\n },\n {\n path: '/address',\n component: r => require(['@/pages/address'], r)\n },\n {\n path: '/demo',\n component: r => require(['@/pages/demo'], r)\n }\n ]\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","\n \n \n \n \n \n \n \n
\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/components/vue-route-transition/transition.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"vue-route-transition\"},[_c('transition',{attrs:{\"name\":_vm.state.pageDirection},on:{\"leave\":_vm.setRouterMap}},[(this.keepAlive===true && _vm.$route.meta.keepAlive!==false)?_c('keep-alive',[_c('router-view')],1):_c('router-view')],1)],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-0d080c0c\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/vue-route-transition/transition.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-0d080c0c\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./transition.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./transition.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./transition.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0d080c0c\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./transition.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/vue-route-transition/transition.vue\n// module id = null\n// module chunks = ","\n \n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/components/vue-route-transition/layout.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"vue-route-transition-wrapper\"},[_vm._t(\"header\"),_vm._v(\" \"),_c('div',{staticClass:\"vue-route-transition-content\",attrs:{\"id\":_vm.cId}},[_vm._t(\"default\")],2),_vm._v(\" \"),_vm._t(\"footer\")],2)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-45637b5d\",\"hasScoped\":false,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/vue-route-transition/layout.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-45637b5d\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./layout.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./layout.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./layout.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-45637b5d\\\",\\\"hasScoped\\\":false,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./layout.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/vue-route-transition/layout.vue\n// module id = null\n// module chunks = ","import RouteTransition from './transition'\nimport Layout from './layout'\n\nconst install = function (Vue) {\n Vue.component(RouteTransition.name, RouteTransition)\n Vue.component(Layout.name, Layout)\n}\n\nif (typeof window !== 'undefined' && window.Vue) {\n install(window.Vue)\n}\n\nexport default {\n install\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/vue-route-transition/index.js","// The Vue build version to load with the `import` command\n// (runtime-only or standalone) has been set in webpack.base.conf with an alias.\nimport Vue from 'vue'\nimport App from './App'\nimport router from './router'\n// import RouteTransition from 'vue-route-transition'\nimport RouteTransition from '@/components/vue-route-transition'\nimport Vant from 'vant'\nimport 'vant/lib/index.css'\n// import RouteTransition from '../lib/vue_route_transition.min'\n\nVue.config.productionTip = false\nVue.use(RouteTransition)\nVue.use(Vant)\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n components: { App },\n template: ''\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js"],"sourceRoot":""}
--------------------------------------------------------------------------------
/lib/vue_route_transition.min.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap 8d5b566c0d5d72a909c4","webpack:///./node_modules/css-loader/lib/css-base.js","webpack:///./node_modules/vue-style-loader/lib/addStylesClient.js","webpack:///./node_modules/vue-loader/lib/component-normalizer.js","webpack:///src/components/vue-route-transition/transition.vue","webpack:///src/components/vue-route-transition/layout.vue","webpack:///./src/components/vue-route-transition/index.js","webpack:///./src/components/vue-route-transition/transition.vue","webpack:///./src/components/vue-route-transition/transition.vue?28e6","webpack:///./src/components/vue-route-transition/transition.vue?128a","webpack:///./node_modules/vue-style-loader/lib/listToStyles.js","webpack:///./node_modules/babel-runtime/core-js/json/stringify.js","webpack:///./node_modules/core-js/library/fn/json/stringify.js","webpack:///./node_modules/core-js/library/modules/_core.js","webpack:///./src/components/vue-route-transition/transition.vue?1766","webpack:///./src/components/vue-route-transition/layout.vue","webpack:///./src/components/vue-route-transition/layout.vue?65b7","webpack:///./src/components/vue-route-transition/layout.vue?5b93","webpack:///./src/components/vue-route-transition/layout.vue?6a7f"],"names":["root","factory","exports","module","define","amd","a","i","self","this","installedModules","__webpack_require__","moduleId","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","useSourceMap","list","toString","map","item","content","cssMapping","btoa","sourceMapping","sourceMap","unescape","encodeURIComponent","JSON","stringify","sourceURLs","sources","source","sourceRoot","concat","join","cssWithMappingToString","mediaQuery","alreadyImportedModules","length","id","push","hasDocument","document","DEBUG","Error","listToStyles","stylesInDom","head","getElementsByTagName","singletonElement","singletonCounter","isProduction","noop","options","ssrIdKey","isOldIE","navigator","test","userAgent","toLowerCase","addStylesToDom","styles","domStyle","refs","j","parts","addStyle","createStyleElement","styleElement","createElement","type","appendChild","obj","update","remove","querySelector","parentNode","removeChild","styleIndex","applyToSingletonTag","bind","css","media","setAttribute","ssrId","styleSheet","cssText","firstChild","createTextNode","newObj","parentId","_isProduction","_options","newList","mayRemove","textStore","replaceText","index","replacement","filter","Boolean","cssNode","childNodes","insertBefore","rawScriptExports","compiledTemplate","functionalTemplate","injectStyles","scopeId","moduleIdentifier","esModule","scriptExports","default","hook","render","staticRenderFns","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","existing","beforeCreate","_injectStyles","h","localSessionRouteChain","sessionStorage","getItem","location","hash","parse","error","__webpack_exports__","data","state","addCount","routerMap","pageDirection","routeChain","methods","addRouteChain","route","path","setItem","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_core_js_json_stringify___default","popRouteChain","pop","setPageDirection","_ref","dir","to","from","setRouterMap","replace","getElementById","scrollTop","mounted","_this","$router","beforeEach","next","routeLength","props","String","cId","$route","value","__WEBPACK_IMPORTED_MODULE_0__transition__","__WEBPACK_IMPORTED_MODULE_1__layout__","install","Vue","component","RouteTransition","Layout","window","__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_transition_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_c83563b8_hasScoped_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_transition_vue__","disposed","__vue_styles__","Component","normalizeComponent","__file","locals","version","names","mappings","file","sourcesContent","newStyles","part","core","$JSON","it","apply","arguments","__e","_h","$createElement","_c","_self","staticClass","attrs","on","leave","meta","keepAlive","_withStripped","esExports","__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_layout_vue__","__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_479a460e_hasScoped_false_buble_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,EACA,IAAAC,GAAiBnG,SAAAC,oBACFuB,EAAA","file":"vue_route_transition.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse {\n\t\tvar a = factory();\n\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n\t}\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 5);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 8d5b566c0d5d72a909c4","/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/css-loader/lib/css-base.js\n// module id = 0\n// module chunks = 0","/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n Modified by Evan You @yyx990803\n*/\n\nvar hasDocument = typeof document !== 'undefined'\n\nif (typeof DEBUG !== 'undefined' && DEBUG) {\n if (!hasDocument) {\n throw new Error(\n 'vue-style-loader cannot be used in a non-browser environment. ' +\n \"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\"\n ) }\n}\n\nvar listToStyles = require('./listToStyles')\n\n/*\ntype StyleObject = {\n id: number;\n parts: Array\n}\n\ntype StyleObjectPart = {\n css: string;\n media: string;\n sourceMap: ?string\n}\n*/\n\nvar stylesInDom = {/*\n [id: number]: {\n id: number,\n refs: number,\n parts: Array<(obj?: StyleObjectPart) => void>\n }\n*/}\n\nvar head = hasDocument && (document.head || document.getElementsByTagName('head')[0])\nvar singletonElement = null\nvar singletonCounter = 0\nvar isProduction = false\nvar noop = function () {}\nvar options = null\nvar ssrIdKey = 'data-vue-ssr-id'\n\n// Force single-tag solution on IE6-9, which has a hard limit on the # of \n\n\n\n// WEBPACK FOOTER //\n// src/components/vue-route-transition/transition.vue","\n \n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// src/components/vue-route-transition/layout.vue","import RouteTransition from './transition'\nimport Layout from './layout'\n\nconst install = function (Vue) {\n Vue.component(RouteTransition.name, RouteTransition)\n Vue.component(Layout.name, Layout)\n}\n\nif (typeof window !== 'undefined' && window.Vue) {\n install(window.Vue)\n}\n\nexport default {\n install\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/vue-route-transition/index.js","var disposed = false\nfunction injectStyle (ssrContext) {\n if (disposed) return\n require(\"!!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-c83563b8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!less-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./transition.vue\")\n}\nvar normalizeComponent = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./transition.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./transition.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-c83563b8\\\",\\\"hasScoped\\\":false,\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./transition.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\nComponent.options.__file = \"src/components/vue-route-transition/transition.vue\"\n\n/* hot reload */\nif (module.hot) {(function () {\n var hotAPI = require(\"vue-hot-reload-api\")\n hotAPI.install(require(\"vue\"), false)\n if (!hotAPI.compatible) return\n module.hot.accept()\n if (!module.hot.data) {\n hotAPI.createRecord(\"data-v-c83563b8\", Component.options)\n } else {\n hotAPI.reload(\"data-v-c83563b8\", Component.options)\n }\n module.hot.dispose(function (data) {\n disposed = true\n })\n})()}\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/vue-route-transition/transition.vue\n// module id = 6\n// module chunks = 0","// style-loader: Adds some css to the DOM by adding a