From 22487c667ede2a452ec263d03b421cf1d2256adc Mon Sep 17 00:00:00 2001 From: iczer <1126263215@qq.com> Date: Wed, 24 Jun 2020 23:49:33 +0800 Subject: [PATCH] Updates --- css/theme-colors.css | 6 +++--- index.html | 2 +- ...nk-ca53d95a.28868e52.css => chunk-da61332e.8dd47056.css} | 2 +- static/js/{app.52312d17.js => app.cbe97131.js} | 2 +- static/js/chunk-ca53d95a.6169c1b5.js | 1 - static/js/chunk-da61332e.217c33af.js | 1 + 6 files changed, 7 insertions(+), 7 deletions(-) rename static/css/{chunk-ca53d95a.28868e52.css => chunk-da61332e.8dd47056.css} (89%) rename static/js/{app.52312d17.js => app.cbe97131.js} (99%) delete mode 100644 static/js/chunk-ca53d95a.6169c1b5.js create mode 100644 static/js/chunk-da61332e.217c33af.js diff --git a/css/theme-colors.css b/css/theme-colors.css index 074cab4..ed9843f 100644 --- a/css/theme-colors.css +++ b/css/theme-colors.css @@ -408,9 +408,9 @@ html{--antd-wave-shadow-color:#1890ff} .beauty-scroll[data-v-33e52b0e]{scrollbar-color:#1890ff #bae7ff} .beauty-scroll[data-v-33e52b0e]::-webkit-scrollbar-thumb{background:#1890ff} .beauty-scroll[data-v-33e52b0e]::-webkit-scrollbar-track{background:#91d5ff} -.beauty-scroll[data-v-05290de3]{scrollbar-color:#1890ff #bae7ff} -.beauty-scroll[data-v-05290de3]::-webkit-scrollbar-thumb{background:#1890ff} -.beauty-scroll[data-v-05290de3]::-webkit-scrollbar-track{background:#91d5ff} +.beauty-scroll[data-v-5688c698]{scrollbar-color:#1890ff #bae7ff} +.beauty-scroll[data-v-5688c698]::-webkit-scrollbar-thumb{background:#1890ff} +.beauty-scroll[data-v-5688c698]::-webkit-scrollbar-track{background:#91d5ff} .beauty-scroll[data-v-68dcc2ec]{scrollbar-color:#1890ff #bae7ff} .beauty-scroll[data-v-68dcc2ec]::-webkit-scrollbar-thumb{background:#1890ff} .beauty-scroll[data-v-68dcc2ec]::-webkit-scrollbar-track{background:#91d5ff} diff --git a/index.html b/index.html index 7b73885..77c4652 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -vue-antd-admin
\ No newline at end of file +vue-antd-admin
\ No newline at end of file diff --git a/static/css/chunk-ca53d95a.28868e52.css b/static/css/chunk-da61332e.8dd47056.css similarity index 89% rename from static/css/chunk-ca53d95a.28868e52.css rename to static/css/chunk-da61332e.8dd47056.css index d2f1627..d7f4031 100644 --- a/static/css/chunk-ca53d95a.28868e52.css +++ b/static/css/chunk-da61332e.8dd47056.css @@ -1 +1 @@ -.chart-card-header .meta[data-v-28d40fea],.chart-card-header[data-v-28d40fea]{position:relative;overflow:hidden;width:100%}.chart-card-header .meta[data-v-28d40fea]{color:rgba(0,0,0,.45);font-size:14px;line-height:22px}.chart-card-action[data-v-28d40fea]{cursor:pointer;position:absolute;top:0;right:0}.total[data-v-28d40fea]{overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap;color:#000;margin-top:4px;margin-bottom:0;font-size:30px;line-height:38px;height:38px}.chart-card-footer[data-v-28d40fea]{border-top:1px solid #e8e8e8;padding-top:9px;margin-top:8px}.chart-card-content[data-v-28d40fea]{margin-bottom:12px;position:relative;height:46px;width:100%}.chart-card-content .content-fix[data-v-28d40fea]{position:absolute;left:0;bottom:0;width:100%}.mini-chart[data-v-982a0418]{position:relative;width:100%}.mini-chart .chart-content[data-v-982a0418]{position:absolute;bottom:-28px;width:100%}.week-mode[data-v-2c2d614e]{overflow:hidden;-webkit-filter:invert(80%);filter:invert(80%)}.beauty-scroll[data-v-2c2d614e]{scrollbar-color:#1890ff #bae7ff;scrollbar-width:thin;-ms-overflow-style:none;position:relative}.beauty-scroll[data-v-2c2d614e]::-webkit-scrollbar{width:3px;height:1px}.beauty-scroll[data-v-2c2d614e]::-webkit-scrollbar-thumb{border-radius:3px;background:#1890ff}.beauty-scroll[data-v-2c2d614e]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 1px transparent;border-radius:3px;background:#91d5ff}.split-right[data-v-2c2d614e]:not(:last-child){border-right:1px solid rgba(98,98,98,.2)}.mini-chart[data-v-2c2d614e]{position:relative;width:100%}.mini-chart .chart-content[data-v-2c2d614e]{position:absolute;bottom:-28px;width:100%}.week-mode[data-v-6785bcb4]{overflow:hidden;-webkit-filter:invert(80%);filter:invert(80%)}.beauty-scroll[data-v-6785bcb4]{scrollbar-color:#1890ff #bae7ff;scrollbar-width:thin;-ms-overflow-style:none;position:relative}.beauty-scroll[data-v-6785bcb4]::-webkit-scrollbar{width:3px;height:1px}.beauty-scroll[data-v-6785bcb4]::-webkit-scrollbar-thumb{border-radius:3px;background:#1890ff}.beauty-scroll[data-v-6785bcb4]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 1px transparent;border-radius:3px;background:#91d5ff}.split-right[data-v-6785bcb4]:not(:last-child){border-right:1px solid rgba(98,98,98,.2)}.mini-progress[data-v-6785bcb4]{padding:5px 0;position:relative;width:100%}.mini-progress .wrap[data-v-6785bcb4]{background-color:#f5f5f5;position:relative}.mini-progress .progress[data-v-6785bcb4]{-webkit-transition:all .4s cubic-bezier(.08,.82,.17,1) 0s;transition:all .4s cubic-bezier(.08,.82,.17,1) 0s;border-radius:1px 0 0 1px;background-color:#13c2c2;width:0;height:100%}.mini-progress .target[data-v-6785bcb4]{position:absolute;top:0;bottom:0}.mini-progress .target span[data-v-6785bcb4]{border-radius:100px;position:absolute;top:0;left:0;height:4px;width:2px}.mini-progress .target span[data-v-6785bcb4]:last-child{top:auto;bottom:0}.week-mode[data-v-e2aaaab2]{overflow:hidden;-webkit-filter:invert(80%);filter:invert(80%)}.beauty-scroll[data-v-e2aaaab2]{scrollbar-color:#1890ff #bae7ff;scrollbar-width:thin;-ms-overflow-style:none;position:relative}.beauty-scroll[data-v-e2aaaab2]::-webkit-scrollbar{width:3px;height:1px}.beauty-scroll[data-v-e2aaaab2]::-webkit-scrollbar-thumb{border-radius:3px;background:#1890ff}.beauty-scroll[data-v-e2aaaab2]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 1px transparent;border-radius:3px;background:#91d5ff}.split-right[data-v-e2aaaab2]:not(:last-child){border-right:1px solid rgba(98,98,98,.2)}.rank[data-v-e2aaaab2]{padding:0 32px 32px 72px}.rank .list[data-v-e2aaaab2]{margin:25px 0 0;padding:0;list-style:none}.rank .list li[data-v-e2aaaab2]{margin-top:16px}.rank .list li span[data-v-e2aaaab2]{color:rgba(0,0,0,.65);font-size:14px;line-height:22px}.rank .list li span[data-v-e2aaaab2]:first-child{background-color:#f5f5f5;border-radius:20px;display:inline-block;font-size:12px;font-weight:600;margin-right:24px;height:20px;line-height:20px;width:20px;text-align:center}.rank .list li span.active[data-v-e2aaaab2]{background-color:#314659;color:#fff}.rank .list li span[data-v-e2aaaab2]:last-child{float:right}.week-mode[data-v-13bb55ca]{overflow:hidden;-webkit-filter:invert(80%);filter:invert(80%)}.beauty-scroll[data-v-13bb55ca]{scrollbar-color:#1890ff #bae7ff;scrollbar-width:thin;-ms-overflow-style:none;position:relative}.beauty-scroll[data-v-13bb55ca]::-webkit-scrollbar{width:3px;height:1px}.beauty-scroll[data-v-13bb55ca]::-webkit-scrollbar-thumb{border-radius:3px;background:#1890ff}.beauty-scroll[data-v-13bb55ca]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 1px transparent;border-radius:3px;background:#91d5ff}.split-right[data-v-13bb55ca]:not(:last-child){border-right:1px solid rgba(98,98,98,.2)}.num-info .title[data-v-13bb55ca]{color:rgba(0,0,0,.45);font-size:14px;height:22px;line-height:22px;overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap}.num-info .value .total[data-v-13bb55ca]{color:rgba(0,0,0,.85);display:inline-block;line-height:32px;height:32px;font-size:24px;margin-right:32px}.num-info .value .subtotal[data-v-13bb55ca]{color:rgba(0,0,0,.45);font-size:16px;vertical-align:top;margin-right:0}.num-info .value .subtotal i[data-v-13bb55ca]{font-size:12px;color:red;-webkit-transform:scale(.82);transform:scale(.82);margin-left:4px}.week-mode[data-v-33e52b0e]{overflow:hidden;-webkit-filter:invert(80%);filter:invert(80%)}.beauty-scroll[data-v-33e52b0e]{scrollbar-color:#1890ff #bae7ff;scrollbar-width:thin;-ms-overflow-style:none;position:relative}.beauty-scroll[data-v-33e52b0e]::-webkit-scrollbar{width:3px;height:1px}.beauty-scroll[data-v-33e52b0e]::-webkit-scrollbar-thumb{border-radius:3px;background:#1890ff}.beauty-scroll[data-v-33e52b0e]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 1px transparent;border-radius:3px;background:#91d5ff}.split-right[data-v-33e52b0e]:not(:last-child){border-right:1px solid rgba(98,98,98,.2)}.chart-trend[data-v-33e52b0e]{display:inline-block;font-size:14px}.chart-trend .chart-trend-icon[data-v-33e52b0e]{font-size:12px}.chart-trend .chart-trend-icon.up[data-v-33e52b0e]{color:#f5222d}.chart-trend .chart-trend-icon.down[data-v-33e52b0e]{color:#52c41a}.week-mode[data-v-05290de3]{overflow:hidden;-webkit-filter:invert(80%);filter:invert(80%)}.beauty-scroll[data-v-05290de3]{scrollbar-color:#1890ff #bae7ff;scrollbar-width:thin;-ms-overflow-style:none;position:relative}.beauty-scroll[data-v-05290de3]::-webkit-scrollbar{width:3px;height:1px}.beauty-scroll[data-v-05290de3]::-webkit-scrollbar-thumb{border-radius:3px;background:#1890ff}.beauty-scroll[data-v-05290de3]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 1px transparent;border-radius:3px;background:#91d5ff}.split-right[data-v-05290de3]:not(:last-child){border-right:1px solid rgba(98,98,98,.2)}.extra-wrap .extra-item[data-v-05290de3]{display:inline-block;margin-right:24px}.extra-wrap .extra-item a[data-v-05290de3]:not(:first-child){margin-left:24px}@media screen and (max-width:992px){.extra-item[data-v-05290de3]{display:none}}@media screen and (max-width:576px){.extra-wrap[data-v-05290de3]{display:none}} \ No newline at end of file +.chart-card-header .meta[data-v-28d40fea],.chart-card-header[data-v-28d40fea]{position:relative;overflow:hidden;width:100%}.chart-card-header .meta[data-v-28d40fea]{color:rgba(0,0,0,.45);font-size:14px;line-height:22px}.chart-card-action[data-v-28d40fea]{cursor:pointer;position:absolute;top:0;right:0}.total[data-v-28d40fea]{overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap;color:#000;margin-top:4px;margin-bottom:0;font-size:30px;line-height:38px;height:38px}.chart-card-footer[data-v-28d40fea]{border-top:1px solid #e8e8e8;padding-top:9px;margin-top:8px}.chart-card-content[data-v-28d40fea]{margin-bottom:12px;position:relative;height:46px;width:100%}.chart-card-content .content-fix[data-v-28d40fea]{position:absolute;left:0;bottom:0;width:100%}.mini-chart[data-v-982a0418]{position:relative;width:100%}.mini-chart .chart-content[data-v-982a0418]{position:absolute;bottom:-28px;width:100%}.week-mode[data-v-2c2d614e]{overflow:hidden;-webkit-filter:invert(80%);filter:invert(80%)}.beauty-scroll[data-v-2c2d614e]{scrollbar-color:#1890ff #bae7ff;scrollbar-width:thin;-ms-overflow-style:none;position:relative}.beauty-scroll[data-v-2c2d614e]::-webkit-scrollbar{width:3px;height:1px}.beauty-scroll[data-v-2c2d614e]::-webkit-scrollbar-thumb{border-radius:3px;background:#1890ff}.beauty-scroll[data-v-2c2d614e]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 1px transparent;border-radius:3px;background:#91d5ff}.split-right[data-v-2c2d614e]:not(:last-child){border-right:1px solid rgba(98,98,98,.2)}.mini-chart[data-v-2c2d614e]{position:relative;width:100%}.mini-chart .chart-content[data-v-2c2d614e]{position:absolute;bottom:-28px;width:100%}.week-mode[data-v-6785bcb4]{overflow:hidden;-webkit-filter:invert(80%);filter:invert(80%)}.beauty-scroll[data-v-6785bcb4]{scrollbar-color:#1890ff #bae7ff;scrollbar-width:thin;-ms-overflow-style:none;position:relative}.beauty-scroll[data-v-6785bcb4]::-webkit-scrollbar{width:3px;height:1px}.beauty-scroll[data-v-6785bcb4]::-webkit-scrollbar-thumb{border-radius:3px;background:#1890ff}.beauty-scroll[data-v-6785bcb4]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 1px transparent;border-radius:3px;background:#91d5ff}.split-right[data-v-6785bcb4]:not(:last-child){border-right:1px solid rgba(98,98,98,.2)}.mini-progress[data-v-6785bcb4]{padding:5px 0;position:relative;width:100%}.mini-progress .wrap[data-v-6785bcb4]{background-color:#f5f5f5;position:relative}.mini-progress .progress[data-v-6785bcb4]{-webkit-transition:all .4s cubic-bezier(.08,.82,.17,1) 0s;transition:all .4s cubic-bezier(.08,.82,.17,1) 0s;border-radius:1px 0 0 1px;background-color:#13c2c2;width:0;height:100%}.mini-progress .target[data-v-6785bcb4]{position:absolute;top:0;bottom:0}.mini-progress .target span[data-v-6785bcb4]{border-radius:100px;position:absolute;top:0;left:0;height:4px;width:2px}.mini-progress .target span[data-v-6785bcb4]:last-child{top:auto;bottom:0}.week-mode[data-v-e2aaaab2]{overflow:hidden;-webkit-filter:invert(80%);filter:invert(80%)}.beauty-scroll[data-v-e2aaaab2]{scrollbar-color:#1890ff #bae7ff;scrollbar-width:thin;-ms-overflow-style:none;position:relative}.beauty-scroll[data-v-e2aaaab2]::-webkit-scrollbar{width:3px;height:1px}.beauty-scroll[data-v-e2aaaab2]::-webkit-scrollbar-thumb{border-radius:3px;background:#1890ff}.beauty-scroll[data-v-e2aaaab2]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 1px transparent;border-radius:3px;background:#91d5ff}.split-right[data-v-e2aaaab2]:not(:last-child){border-right:1px solid rgba(98,98,98,.2)}.rank[data-v-e2aaaab2]{padding:0 32px 32px 72px}.rank .list[data-v-e2aaaab2]{margin:25px 0 0;padding:0;list-style:none}.rank .list li[data-v-e2aaaab2]{margin-top:16px}.rank .list li span[data-v-e2aaaab2]{color:rgba(0,0,0,.65);font-size:14px;line-height:22px}.rank .list li span[data-v-e2aaaab2]:first-child{background-color:#f5f5f5;border-radius:20px;display:inline-block;font-size:12px;font-weight:600;margin-right:24px;height:20px;line-height:20px;width:20px;text-align:center}.rank .list li span.active[data-v-e2aaaab2]{background-color:#314659;color:#fff}.rank .list li span[data-v-e2aaaab2]:last-child{float:right}.week-mode[data-v-13bb55ca]{overflow:hidden;-webkit-filter:invert(80%);filter:invert(80%)}.beauty-scroll[data-v-13bb55ca]{scrollbar-color:#1890ff #bae7ff;scrollbar-width:thin;-ms-overflow-style:none;position:relative}.beauty-scroll[data-v-13bb55ca]::-webkit-scrollbar{width:3px;height:1px}.beauty-scroll[data-v-13bb55ca]::-webkit-scrollbar-thumb{border-radius:3px;background:#1890ff}.beauty-scroll[data-v-13bb55ca]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 1px transparent;border-radius:3px;background:#91d5ff}.split-right[data-v-13bb55ca]:not(:last-child){border-right:1px solid rgba(98,98,98,.2)}.num-info .title[data-v-13bb55ca]{color:rgba(0,0,0,.45);font-size:14px;height:22px;line-height:22px;overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap}.num-info .value .total[data-v-13bb55ca]{color:rgba(0,0,0,.85);display:inline-block;line-height:32px;height:32px;font-size:24px;margin-right:32px}.num-info .value .subtotal[data-v-13bb55ca]{color:rgba(0,0,0,.45);font-size:16px;vertical-align:top;margin-right:0}.num-info .value .subtotal i[data-v-13bb55ca]{font-size:12px;color:red;-webkit-transform:scale(.82);transform:scale(.82);margin-left:4px}.week-mode[data-v-33e52b0e]{overflow:hidden;-webkit-filter:invert(80%);filter:invert(80%)}.beauty-scroll[data-v-33e52b0e]{scrollbar-color:#1890ff #bae7ff;scrollbar-width:thin;-ms-overflow-style:none;position:relative}.beauty-scroll[data-v-33e52b0e]::-webkit-scrollbar{width:3px;height:1px}.beauty-scroll[data-v-33e52b0e]::-webkit-scrollbar-thumb{border-radius:3px;background:#1890ff}.beauty-scroll[data-v-33e52b0e]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 1px transparent;border-radius:3px;background:#91d5ff}.split-right[data-v-33e52b0e]:not(:last-child){border-right:1px solid rgba(98,98,98,.2)}.chart-trend[data-v-33e52b0e]{display:inline-block;font-size:14px}.chart-trend .chart-trend-icon[data-v-33e52b0e]{font-size:12px}.chart-trend .chart-trend-icon.up[data-v-33e52b0e]{color:#f5222d}.chart-trend .chart-trend-icon.down[data-v-33e52b0e]{color:#52c41a}.week-mode[data-v-5688c698]{overflow:hidden;-webkit-filter:invert(80%);filter:invert(80%)}.beauty-scroll[data-v-5688c698]{scrollbar-color:#1890ff #bae7ff;scrollbar-width:thin;-ms-overflow-style:none;position:relative}.beauty-scroll[data-v-5688c698]::-webkit-scrollbar{width:3px;height:1px}.beauty-scroll[data-v-5688c698]::-webkit-scrollbar-thumb{border-radius:3px;background:#1890ff}.beauty-scroll[data-v-5688c698]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 1px transparent;border-radius:3px;background:#91d5ff}.split-right[data-v-5688c698]:not(:last-child){border-right:1px solid rgba(98,98,98,.2)}.extra-wrap .extra-item[data-v-5688c698]{display:inline-block;margin-right:24px}.extra-wrap .extra-item a[data-v-5688c698]:not(:first-child){margin-left:24px}@media screen and (max-width:992px){.extra-wrap .extra-item[data-v-5688c698]{display:none}}@media screen and (max-width:576px){.extra-wrap[data-v-5688c698]{display:none}} \ No newline at end of file diff --git a/static/js/app.52312d17.js b/static/js/app.cbe97131.js similarity index 99% rename from static/js/app.52312d17.js rename to static/js/app.cbe97131.js index 132cc69..63a900f 100644 --- a/static/js/app.52312d17.js +++ b/static/js/app.cbe97131.js @@ -1 +1 @@ -(function(e){function t(t){for(var n,i,r=t[0],c=t[1],l=t[2],u=0,d=[];u-1}},reverse:{type:Boolean,default:!0}},computed:{enterAnimate:function(){return this.activeClass(!1)},leaveAnimate:function(){return this.activeClass(!0)}},methods:{activeClass:function(e){var t=this,a=_.a.find((function(e){return t.animate==e.name}));if(void 0==a)return"";var n="";n=void 0==this.direction?a.directions[0]:a.directions.find((function(e){return e==t.direction})),n=void 0==n||"default"===n?"":n,""!=n&&(n=e&&this.reverse?this.reversePosition(n,a.directions):n,n=n[0].toUpperCase()+n.substring(1));var i=e?"Out":"In";return a.name+i+n},reversePosition:function(e,t){if(0==e.length||"x"==e||"y"==e)return e;var a=t.indexOf(e);return a=a%2==1?a-1:a+1,t[a]}}},O=S,L=(a("39be"),Object(p["a"])(O,C,w,!1,null,null,null)),$=L.exports,P={name:"PageView",components:{PageToggleTransition:$,PageLayout:j["a"]},data:function(){return{path:"",desc:"",linkList:[],extraImage:""}},computed:Object(o["a"])({title:function(){var e=this.path.substring(1).replace(new RegExp("/","g"),".")+".name";return this.$t(e)}},Object(h["c"])("setting",["multiPage","animate","routesI18n"])),created:function(){var e=this,t=this.routesI18n;Object.keys(t).forEach((function(a){e.$i18n.mergeLocaleMessage(a,t[a])}))},mounted:function(){this.getPageHeaderInfo()},updated:function(){this.getPageHeaderInfo()},methods:{getPageHeaderInfo:function(){this.path=this.$route.path;var e=this.$refs.page;e&&(this.desc=e.desc,this.linkList=e.linkList,this.extraImage=e.extraImage)}}},M=P,z=(a("784d"),Object(p["a"])(M,k,y,!1,null,"7b67a2ed",null)),E=z.exports,I=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("page-toggle-transition",{attrs:{animate:e.animate.name,direction:e.animate.direction}},[e.multiPage?a("keep-alive",[a("router-view")],1):a("router-view")],1)},A=[],T={name:"RouteView",components:{PageToggleTransition:$},computed:Object(o["a"])({},Object(h["c"])("setting",["multiPage","animate"]))},N=T,D=Object(p["a"])(N,I,A,!1,null,"2860d8b4",null),K=D.exports,H=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("global-layout",[a("contextmenu",{attrs:{itemList:e.menuItemList,visible:e.menuVisible},on:{"update:visible":function(t){e.menuVisible=t},select:e.onMenuSelect}}),e.multiPage?a("a-tabs",{style:"margin: -16px auto 8px; "+("head"==e.layout?"max-width: 1400px;":""),attrs:{"active-key":e.activePage,"hide-add":!0,type:"editable-card"},on:{change:e.changePage,edit:e.editPage},nativeOn:{contextmenu:function(t){return function(t){return e.onContextmenu(t)}(t)}}},e._l(e.pageList,(function(t){return a("a-tab-pane",{key:t.fullPath},[a("span",{attrs:{slot:"tab",pagekey:t.fullPath},slot:"tab"},[e._v(e._s(t.name))])])})),1):e._e(),a("div",{staticClass:"menu-view-content"},[a("page-toggle-transition",{attrs:{animate:e.animate.name,direction:e.animate.direction}},[e.multiPage?a("keep-alive",[a("router-view")],1):a("router-view")],1)],1)],1)},B=[],q=(a("4de4"),a("fb6a"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-layout",{class:["global-layout",e.fixedSideBar?"fixed-side-bar":""]},[e.isMobile?a("drawer",{attrs:{openDrawer:e.collapsed},on:{change:e.onDrawerChange}},[a("sider-menu",{attrs:{theme:e.theme,menuData:e.menuData,collapsed:!1,collapsible:!1},on:{menuSelect:e.onMenuSelect}})],1):"side"===e.layout?a("sider-menu",{attrs:{theme:e.theme,menuData:e.menuData,collapsed:e.collapsed,collapsible:!0}}):e._e(),a("drawer",{attrs:{"open-drawer":e.showSetting,placement:"right"},on:{change:e.onSettingDrawerChange}},[a("div",{staticClass:"setting",attrs:{slot:"handler"},slot:"handler"},[a("a-icon",{attrs:{type:e.showSetting?"close":"setting"}})],1),a("setting")],1),a("a-layout",{staticClass:"global-layout-main beauty-scroll"},[a("global-header",{style:e.headerStyle,attrs:{menuData:e.menuData,collapsed:e.collapsed},on:{toggleCollapse:e.toggleCollapse}}),e.fixedHeader?a("a-layout-header"):e._e(),a("a-layout-content",{staticClass:"global-layout-content"},[a("div",{style:"min-height: "+e.minHeight+"px; position: relative"},[e._t("default")],2)]),a("a-layout-footer",{staticStyle:{padding:"0px"}},[a("global-footer",{attrs:{"link-list":e.footerLinks,copyright:e.copyright}})],1)],1)],1)}),U=[],R=(a("99af"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-layout-header",{class:[e.headerTheme,"global-header"]},[n("div",{class:["global-header-wide",e.layout]},[e.isMobile||"head"===e.layout?n("router-link",{class:["logo",e.isMobile?null:"pc",e.headerTheme],attrs:{to:"/"}},[n("img",{attrs:{width:"32",src:a("4ffd")}}),e.isMobile?e._e():n("h1",[e._v(e._s(e.systemName))])]):e._e(),e.isMobile?n("a-divider",{attrs:{type:"vertical"}}):e._e(),"side"===e.layout?n("a-icon",{staticClass:"trigger",attrs:{type:e.collapsed?"menu-unfold":"menu-fold"},on:{click:e.toggleCollapse}}):e._e(),"head"!=e.layout||e.isMobile?e._e():n("div",{staticClass:"global-header-menu"},[n("i-menu",{staticStyle:{height:"64px","line-height":"64px"},attrs:{i18n:e.menuI18n,theme:e.headerTheme,mode:"horizontal",options:e.menuData},on:{i18nComplete:e.setRoutesI18n,select:e.onSelect}})],1),n("div",{class:["global-header-right",e.headerTheme]},[n("header-search",{staticClass:"header-item"}),n("a-tooltip",{staticClass:"header-item",attrs:{title:"帮助文档",placement:"bottom"}},[n("a",[n("a-icon",{attrs:{type:"question-circle-o"}})],1)]),n("header-notice",{staticClass:"header-item"}),n("header-avatar",{staticClass:"header-item"}),n("a-dropdown",{staticClass:"lang header-item"},[n("div",[n("a-icon",{attrs:{type:"global"}}),e._v(" "+e._s(e.langAlias)+" ")],1),n("a-menu",{attrs:{slot:"overlay","selected-keys":[e.lang]},on:{click:function(t){return e.setLang(t.key)}},slot:"overlay"},e._l(e.langList,(function(t){return n("a-menu-item",{key:t.key},[e._v(e._s(t.key.toLowerCase()+" "+t.name))])})),1)],1)],1)],1)])}),F=[],V=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"header-search"},[a("a-icon",{staticClass:"search-icon",attrs:{type:"search"},on:{click:e.enterSearchMode}}),a("a-auto-complete",{ref:"input",class:["search-input",e.searchMode?"enter":"leave"],attrs:{dataSource:e.dataSource,placeholder:"站内搜索"},on:{blur:e.leaveSearchMode}})],1)},W=[],G={name:"HeaderSearch",data:function(){return{dataSource:["选项一","选项二"],searchMode:!1}},methods:{enterSearchMode:function(){var e=this;this.searchMode=!0,setTimeout((function(){return e.$refs.input.focus()}),300)},leaveSearchMode:function(){this.searchMode=!1}}},J=G,X=(a("bf50"),Object(p["a"])(J,V,W,!1,null,null,null)),Y=X.exports,Z=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-dropdown",{attrs:{trigger:["click"]},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[a("div",{attrs:{slot:"overlay"},slot:"overlay"},[a("a-spin",{attrs:{spinning:e.loading}},[a("a-tabs",{staticClass:"dropdown-tabs",style:{backgroundColor:"white",width:"297px"},attrs:{tabBarStyle:{textAlign:"center"}}},[a("a-tab-pane",{key:"1",attrs:{tab:"通知"}},[a("a-list",{staticClass:"tab-pane"},[a("a-list-item",[a("a-list-item-meta",{attrs:{title:"你收到了 14 份新周报",description:"一年前"}},[a("a-avatar",{staticStyle:{"background-color":"white"},attrs:{slot:"avatar",src:"https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png"},slot:"avatar"})],1)],1),a("a-list-item",[a("a-list-item-meta",{attrs:{title:"你推荐的 曲妮妮 已通过第三轮面试",description:"一年前"}},[a("a-avatar",{staticStyle:{"background-color":"white"},attrs:{slot:"avatar",src:"https://gw.alipayobjects.com/zos/rmsportal/OKJXDXrmkNshAMvwtvhu.png"},slot:"avatar"})],1)],1),a("a-list-item",[a("a-list-item-meta",{attrs:{title:"这种模板可以区分多种通知类型",description:"一年前"}},[a("a-avatar",{staticStyle:{"background-color":"white"},attrs:{slot:"avatar",src:"https://gw.alipayobjects.com/zos/rmsportal/kISTdvpyTAhtGxpovNWd.png"},slot:"avatar"})],1)],1)],1)],1),a("a-tab-pane",{key:"2",attrs:{tab:"消息"}},[a("div",{staticClass:"tab-pane"},[e._v("暂无消息")])]),a("a-tab-pane",{key:"3",attrs:{tab:"待办"}},[a("div",{staticClass:"tab-pane"},[e._v("暂无消息")])])],1)],1)],1),a("span",{staticClass:"header-notice",on:{click:e.fetchNotice}},[a("a-badge",{attrs:{count:"12"}},[a("a-icon",{class:["header-notice-icon"],attrs:{type:"bell"}})],1)],1)])},Q=[],ee={name:"HeaderNotice",data:function(){return{loading:!1,show:!1}},computed:{},methods:{fetchNotice:function(){var e=this;this.loading?this.loading=!1:(this.loadding=!0,setTimeout((function(){e.loadding=!1}),1e3))}}},te=ee,ae=(a("1535"),Object(p["a"])(te,Z,Q,!1,null,"61275666",null)),ne=ae.exports,ie=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-dropdown",[a("div",{staticClass:"header-avatar",staticStyle:{cursor:"pointer"}},[a("a-avatar",{staticClass:"avatar",attrs:{size:"small",shape:"circle",src:e.user.avatar}}),a("span",{staticClass:"name"},[e._v(e._s(e.user.name))])],1),a("a-menu",{class:["avatar-menu"],attrs:{slot:"overlay"},slot:"overlay"},[a("a-menu-item",[a("a-icon",{attrs:{type:"user"}}),a("span",[e._v("个人中心")])],1),a("a-menu-item",[a("a-icon",{attrs:{type:"setting"}}),a("span",[e._v("设置")])],1),a("a-menu-divider"),a("a-menu-item",[a("router-link",{attrs:{to:"/login"}},[a("a-icon",{attrs:{type:"poweroff"}}),a("span",[e._v("退出登录")])],1)],1)],1)],1)},se=[],oe={name:"HeaderAvatar",computed:Object(o["a"])(Object(o["a"])({},Object(h["c"])("setting",["weekMode"])),Object(h["c"])("account",["user"]))},re=oe,ce=(a("a5d6"),Object(p["a"])(re,ie,se,!1,null,null,null)),le=ce.exports,ue=(a("1276"),a("55f1")),de=a("0c63"),he=(a("6db9"),ue["a"].Item),me=ue["a"].SubMenu,fe={name:"IMenu",i18n:{},props:{options:{type:Array,required:!0},theme:{type:String,required:!1,default:"dark"},mode:{type:String,required:!1,default:"inline"},collapsed:{type:Boolean,required:!1,default:!1},i18n:Object},data:function(){return{openKeys:[],selectedKeys:[],cachedOpenKeys:[]}},computed:{rootSubmenuKeys:function(e){var t=[];return e.options.forEach((function(e){t.push(e.path)})),t}},beforeMount:function(){var e=this,t=this.generateI18n(new Object,this.options,"name"),a=this.generateI18n(new Object,this.options,"path");this.$i18n.setLocaleMessage("CN",t),this.$i18n.setLocaleMessage("US",a),this.i18n&&Object.keys(this.i18n).forEach((function(t){e.$i18n.mergeLocaleMessage(t,e.i18n[t])})),this.$emit("i18nComplete",this.$i18n._getMessages())},created:function(){this.updateMenu(),this.formatOptions(this.options,"")},watch:{collapsed:function(e){e?(this.cachedOpenKeys=this.openKeys,this.openKeys=[]):this.openKeys=this.cachedOpenKeys},$route:function(){this.updateMenu()}},methods:{renderIcon:function(e,t){return t&&"none"!=t?e(de["a"],{props:{type:t}}):null},renderMenuItem:function(e,t){return e(he,{key:t.fullPath},[e("a",{attrs:{href:"#"+t.fullPath}},[this.renderIcon(e,t.meta?t.meta.icon:"none"),e("span",[this.$t(t.fullPath.substring(1).replace(new RegExp("/","g"),".")+".name")])])])},renderSubMenu:function(e,t){var a=this,n=[e("span",{slot:"title"},[this.renderIcon(e,t.meta?t.meta.icon:"none"),e("span",[this.$t(t.fullPath.substring(1).replace(new RegExp("/","g"),".")+".name")])])],i=[];return t.children.forEach((function(t){i.push(a.renderItem(e,t))})),e(me,{key:t.fullPath},n.concat(i))},renderItem:function(e,t){var a=t.meta;if(!a||!a.invisible){var n=!1,i=t.children;if(void 0!=i)for(var s=0;s0?e.defaultValues.indexOf(this.value)>=0:this.sChecked,e.options.push(this))},methods:{toggle:function(){this.sChecked=!this.sChecked}}},Xe=Je,Ye=(a("1291"),Object(p["a"])(Xe,Ve,We,!1,null,"25af3dac",null)),Ze=Ye.exports,Qe=a("b311"),et=a.n(Qe),tt=a("9d12"),at=a.n(tt),nt=Fe["a"].Group,it=Ze.Group,st=["#f5222d","#fa541c","#faad14","#13c2c2","#52c41a","#1890ff","#2f54eb","#722ed1"],ot={name:"Setting",i18n:a("d87f"),components:{ImgCheckboxGroup:it,ImgCheckbox:Ze,ColorCheckboxGroup:nt,ColorCheckbox:Fe["a"],SettingItem:Re},data:function(){return{animate:this.$store.state.setting.animate.name,direction:this.$store.state.setting.animate.direction,themeColorIndex:[st.indexOf(this.$store.state.setting.themeColor)],colors:st}},computed:Object(o["a"])({directions:function(){var e=this;return this.animates.find((function(t){return t.name==e.animate})).directions}},Object(h["c"])("setting",["animates","multiPage","weekMode","fixedHeader","fixedSideBar"])),methods:Object(o["a"])({onColorChange:function(e,t){if(t.length>0){var a=this.$message.info("您选择了主题色 ".concat(t,", 正在切换...")),n=this;at.a.changeThemeColor(t[0]).then((function(){n.setThemeColor(t[0]),a()}))}},copyCode:function(){var e=new et.a("#copyBtn"),t=this;e.on("success",(function(){t.$message.success("复制成功"),e.destroy()}))},setAnimate:function(e,t){void 0==t&&(this.direction=this.directions[0]),this.setAnimate({name:this.animate,direction:this.direction})}},Object(h["b"])("setting",["setTheme","setThemeColor","setLayout","setMultiPage","setWeekMode","setFixedSideBar","setFixedHeader","setAnimate"]))},rt=ot,ct=(a("5f66"),Object(p["a"])(rt,Ne,De,!1,null,"27942bb7",null)),lt=ct.exports,ut=window.innerHeight-64-24-122,dt=[],ht={name:"GlobalLayout",components:{Setting:lt,SiderMenu:Te,Drawer:Pe,GlobalFooter:xe,GlobalHeader:ve},data:function(){return{minHeight:ut,collapsed:!1,menuData:dt,showSetting:!1}},provide:function(){return{layoutMinHeight:ut,menuI18n:a("08e1").default}},computed:Object(o["a"])(Object(o["a"])({},Object(h["c"])("setting",["isMobile","theme","layout","footerLinks","copyright","fixedHeader","fixedSideBar"])),{},{sideMenuWidth:function(){return this.collapsed?"80px":"256px"},headerStyle:function(){var e=this.fixedHeader&&"side"==this.layout&&!this.isMobile?"calc(100% - ".concat(this.sideMenuWidth,")"):"100%",t=this.fixedHeader?"fixed":"static",a=this.fixedHeader?"transition: width 0.2s":"";return"width: ".concat(e,"; position: ").concat(t,"; ").concat(a)}}),methods:{toggleCollapse:function(){this.collapsed=!this.collapsed},onDrawerChange:function(e){this.collapsed=e},onMenuSelect:function(){this.toggleCollapse()},onSettingDrawerChange:function(e){this.showSetting=e}},beforeCreate:function(){dt=this.$router.options.routes.find((function(e){return"/"===e.path})).children}},mt=ht,ft=(a("dd88"),Object(p["a"])(mt,q,U,!1,null,"1d4f48d6",null)),pt=ft.exports,gt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-menu",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:e.style,attrs:{selectedKeys:e.selectedKeys},on:{click:e.handleClick}},e._l(e.itemList,(function(t){return a("a-menu-item",{key:t.key},[t.icon?a("a-icon",{attrs:{role:"menuitemicon",type:t.icon}}):e._e(),e._v(e._s(t.text)+" ")],1)})),1)},bt=[],vt={name:"Contextmenu",props:{visible:{type:Boolean,required:!1,default:!1},itemList:{type:Array,required:!0,default:function(){return[]}}},data:function(){return{left:0,top:0,target:null,selectedKeys:[]}},computed:{style:function(){return{left:this.left+"px",top:this.top+"px"}}},created:function(){var e=this;window.addEventListener("mousedown",(function(t){return e.closeMenu(t)})),window.addEventListener("contextmenu",(function(t){return e.setPosition(t)}))},methods:{closeMenu:function(e){["menuitemicon","menuitem"].indexOf(e.target.getAttribute("role"))<0&&this.$emit("update:visible",!1)},setPosition:function(e){this.left=e.clientX,this.top=e.clientY,this.target=e.target},handleClick:function(e){var t=e.key;this.$emit("select",t,this.target),this.$emit("update:visible",!1)}}},kt=vt,yt=(a("4635"),Object(p["a"])(kt,gt,bt,!1,null,"73dd8bda",null)),jt=yt.exports,Ct={name:"MenuView",components:{PageToggleTransition:$,Contextmenu:jt,GlobalLayout:pt},data:function(){return{pageList:[],linkList:[],activePage:"",menuVisible:!1,menuItemList:[{key:"1",icon:"arrow-left",text:"关闭左侧"},{key:"2",icon:"arrow-right",text:"关闭右侧"},{key:"3",icon:"close",text:"关闭其它"}]}},computed:Object(o["a"])({},Object(h["c"])("setting",["multiPage","animate","layout"])),created:function(){this.pageList.push(this.$route),this.linkList.push(this.$route.fullPath),this.activePage=this.$route.fullPath},watch:{$route:function(e){this.activePage=e.fullPath,this.multiPage?this.linkList.indexOf(e.fullPath)<0&&(this.linkList.push(e.fullPath),this.pageList.push(e)):(this.linkList=[e.fullPath],this.pageList=[e])},activePage:function(){},multiPage:function(e){e||(this.linkList=[this.$route.fullPath],this.pageList=[this.$route])}},methods:{changePage:function(e){this.$router.push(e),this.activePage=e},editPage:function(e,t){this[t](e)},remove:function(e){if(1!==this.pageList.length){this.pageList=this.pageList.filter((function(t){return t.fullPath!==e}));var t=this.linkList.indexOf(e);this.linkList=this.linkList.filter((function(t){return t!==e})),t=t>=this.linkList.length?this.linkList.length-1:t,this.activePage=this.linkList[t]}else this.$message.warning("这是最后一页,不能再关闭了啦")},onContextmenu:function(e){var t=this.getPageKey(e.target);null!==t&&(e.preventDefault(),this.menuVisible=!0)},getPageKey:function(e,t){if(t=t||0,t>2)return null;var a=e.getAttribute("pagekey");return a=a||(e.previousElementSibling?e.previousElementSibling.getAttribute("pagekey"):null),a||(e.firstElementChild?this.getPageKey(e.firstElementChild,++t):null)},onMenuSelect:function(e,t){var a=this.getPageKey(t);switch(e){case"1":this.closeLeft(a);break;case"2":this.closeRight(a);break;case"3":this.closeOthers(a);break;default:break}},closeOthers:function(e){var t=this.linkList.indexOf(e);this.linkList=this.linkList.slice(t,t+1),this.pageList=this.pageList.slice(t,t+1),this.activePage=this.linkList[0]},closeLeft:function(e){var t=this.linkList.indexOf(e);this.linkList=this.linkList.slice(t),this.pageList=this.pageList.slice(t),this.linkList.indexOf(this.activePage)<0&&(this.activePage=this.linkList[0])},closeRight:function(e){var t=this.linkList.indexOf(e);this.linkList=this.linkList.slice(0,t+1),this.pageList=this.pageList.slice(0,t+1),this.linkList.indexOf(this.activePage<0)&&(this.activePage=this.linkList[this.linkList.length-1])}}},wt=Ct,xt=(a("9ae1"),Object(p["a"])(wt,H,B,!1,null,"30cfd570",null)),_t=xt.exports,St=function(){var e=this,t=this,n=t.$createElement,i=t._self._c||n;return i("div",{staticClass:"container"},[i("div",{staticClass:"content"},[i("div",{staticClass:"top"},[i("div",{staticClass:"header"},[i("img",{staticClass:"logo",attrs:{alt:"logo",src:a("4ffd")}}),i("span",{staticClass:"title"},[t._v(t._s(t.systemName))])]),i("div",{staticClass:"desc"},[t._v("Ant Design 是西湖区最具影响力的 Web 设计规范")])]),i("div",{staticClass:"login"},[i("a-form",{attrs:{autoFormCreate:function(t){return e.form=t}},on:{submit:t.onSubmit}},[i("a-tabs",{staticStyle:{padding:"0 2px"},attrs:{size:"large",tabBarStyle:{textAlign:"center"}}},[i("a-tab-pane",{key:"1",attrs:{tab:"账户密码登录"}},[i("a-alert",{directives:[{name:"show",rawName:"v-show",value:t.error,expression:"error"}],staticStyle:{"margin-bottom":"24px"},attrs:{type:"error",closable:!0,message:t.error,showIcon:""}}),i("a-form-item",{attrs:{fieldDecoratorId:"name",fieldDecoratorOptions:{rules:[{required:!0,message:"请输入账户名",whitespace:!0}]}}},[i("a-input",{attrs:{size:"large",placeholder:"admin"}},[i("a-icon",{attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),i("a-form-item",{attrs:{fieldDecoratorId:"password",fieldDecoratorOptions:{rules:[{required:!0,message:"请输入密码",whitespace:!0}]}}},[i("a-input",{attrs:{size:"large",placeholder:"888888",type:"password"}},[i("a-icon",{attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1)],1),i("a-tab-pane",{key:"2",attrs:{tab:"手机号登录"}},[i("a-form-item",[i("a-input",{attrs:{size:"large",placeholder:"mobile number"}},[i("a-icon",{attrs:{slot:"prefix",type:"mobile"},slot:"prefix"})],1)],1),i("a-form-item",[i("a-row",{staticStyle:{margin:"0 -4px"},attrs:{gutter:8}},[i("a-col",{attrs:{span:16}},[i("a-input",{attrs:{size:"large",placeholder:"captcha"}},[i("a-icon",{attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),i("a-col",{staticStyle:{"padding-left":"4px"},attrs:{span:8}},[i("a-button",{staticClass:"captcha-button",staticStyle:{width:"100%"},attrs:{size:"large"}},[t._v("获取验证码")])],1)],1)],1)],1)],1),i("div",[i("a-checkbox",{attrs:{checked:!0}},[t._v("自动登录")]),i("a",{staticStyle:{float:"right"}},[t._v("忘记密码")])],1),i("a-form-item",[i("a-button",{staticStyle:{width:"100%","margin-top":"24px"},attrs:{loading:t.logging,size:"large",htmlType:"submit",type:"primary"}},[t._v("登录")])],1),i("div",[t._v(" 其他登录方式 "),i("a-icon",{staticClass:"icon",attrs:{type:"alipay-circle"}}),i("a-icon",{staticClass:"icon",attrs:{type:"taobao-circle"}}),i("a-icon",{staticClass:"icon",attrs:{type:"weibo-circle"}}),i("router-link",{staticStyle:{float:"right"},attrs:{to:"/dashboard/workplace"}},[t._v("注册账户")])],1)],1)],1)]),i("global-footer",{attrs:{"link-list":t.linkList,copyright:t.copyright}})],1)},Ot=[],Lt={name:"Login",components:{GlobalFooter:xe},data:function(){return{logging:!1,error:""}},computed:{systemName:function(){return this.$store.state.setting.systemName},linkList:function(){return this.$store.state.setting.footerLinks},copyright:function(){return this.$store.state.setting.copyright}},methods:{onSubmit:function(e){var t=this;e.preventDefault(),this.form.validateFields((function(e){e||(t.logging=!0,t.$axios.post("/login",{name:t.form.getFieldValue("name"),password:t.form.getFieldValue("password")}).then((function(e){t.logging=!1;var a=e.data;if(a.code>=0){var n=a.data.user;t.$router.push("/dashboard/workplace"),t.$store.commit("account/setUser",n),t.$message.success(a.message,3)}else t.error=a.message})))}))}}},$t=Lt,Pt=(a("ecc2"),Object(p["a"])($t,St,Ot,!1,null,"cdc79f34",null)),Mt=Pt.exports;n["a"].use(v["a"]);var zt=new v["a"]({routes:[{path:"/login",name:"登录页",component:Mt,invisible:!0},{path:"/",name:"首页",component:_t,redirect:"/login",children:[{path:"dashboard",name:"Dashboard",meta:{icon:"dashboard"},component:K,children:[{path:"workplace",name:"工作台",component:function(){return Promise.all([a.e("chunk-2d0d5f54"),a.e("chunk-0325d932")]).then(a.bind(null,"b87b"))}},{path:"analysis",name:"分析页",component:function(){return Promise.all([a.e("chunk-2d0d5f54"),a.e("chunk-ca53d95a")]).then(a.bind(null,"ccfa"))}}]},{path:"form",name:"表单页",meta:{icon:"form"},component:E,children:[{path:"basic",name:"基础表单",component:function(){return a.e("chunk-1ca14a27").then(a.bind(null,"6b9b"))}},{path:"step",name:"分步表单",component:function(){return a.e("chunk-a95e2efe").then(a.bind(null,"f8b4"))}},{path:"advance",name:"高级表单",component:function(){return a.e("chunk-05b90a64").then(a.bind(null,"ae40d"))}}]},{path:"list",name:"列表页",meta:{icon:"table"},component:E,children:[{path:"query",name:"查询表格",component:function(){return a.e("chunk-1edce97a").then(a.bind(null,"499e"))}},{path:"primary",name:"标准列表",component:function(){return a.e("chunk-658f9e99").then(a.bind(null,"71f9"))}},{path:"card",name:"卡片列表",component:function(){return a.e("chunk-2cdd102c").then(a.bind(null,"2c9e"))}},{path:"search",name:"搜索列表",component:function(){return a.e("chunk-3be032c6").then(a.bind(null,"4a1f"))},children:[{path:"article",name:"文章",component:function(){return a.e("chunk-1b4f1803").then(a.bind(null,"ad3a"))}},{path:"application",name:"应用",component:function(){return a.e("chunk-9a7f6dec").then(a.bind(null,"acf8"))}},{path:"project",name:"项目",component:function(){return a.e("chunk-1348d22c").then(a.bind(null,"ad44"))}}]}]},{path:"details",name:"详情页",meta:{icon:"profile"},component:K,children:[{path:"basic",name:"基础详情页",component:function(){return a.e("chunk-c05aee98").then(a.bind(null,"d7b9"))}},{path:"advance",name:"高级详情页",component:function(){return a.e("chunk-60e83aaa").then(a.bind(null,"4090"))}}]},{path:"result",name:"结果页",meta:{icon:"check-circle-o"},component:E,children:[{path:"success",name:"成功",component:function(){return a.e("chunk-55f3d8bb").then(a.bind(null,"46d1"))}},{path:"error",name:"失败",component:function(){return a.e("chunk-bd864942").then(a.bind(null,"2a9a"))}}]},{path:"exception",name:"异常页",meta:{icon:"warning"},component:K,children:[{path:"404",name:"404",component:function(){return a.e("chunk-4af0f3d2").then(a.bind(null,"a42a"))}},{path:"403",name:"403",component:function(){return a.e("chunk-bd47e734").then(a.bind(null,"3f9a"))}},{path:"500",name:"500",component:function(){return a.e("chunk-4fca5620").then(a.bind(null,"5827"))}}]},{path:"components",name:"小组件",meta:{icon:"appstore-o"},component:E,children:[{path:"taskCard",name:"任务卡片",component:function(){return a.e("chunk-e03a0e82").then(a.bind(null,"5f34"))}},{path:"palette",name:"颜色复选框",component:function(){return a.e("chunk-49a07930").then(a.bind(null,"e842"))}}]}]}]}),Et=(a("1ccf"),a("f23d")),It=a("3654"),At=a("bc3a"),Tt=a.n(At),Nt=a("96eb"),Dt=a.n(Nt),Kt=(a("d81d"),["https://gw.alipayobjects.com/zos/rmsportal/cnrhVkzwxjPwAaCfPbdc.png","https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png","https://gw.alipayobjects.com/zos/rmsportal/gaOngJwsRYRaVAuXXcmB.png","https://gw.alipayobjects.com/zos/rmsportal/WhxKECPNujWoWEFNdnJE.png","https://gw.alipayobjects.com/zos/rmsportal/ubnKSIfAJTxIgXOKlciN.png","https://gw.alipayobjects.com/zos/rmsportal/jZUIxmJycoymBprLOUbT.png"]),Ht=[{CN:"Java工程师 | 蚂蚁金服-计算服务事业群-微信平台部",HK:"Java工程師 | 螞蟻金服-計算服務事業群-微信平台部",US:"Java engineer | Ant financial - Computing services business group - WeChat platform division"},{CN:"前端工程师 | 蚂蚁金服-计算服务事业群-VUE平台",HK:"前端工程師 | 螞蟻金服-計算服務事業群-VUE平台",US:"Front-end engineer | Ant Financial - Computing services business group - VUE platform"},{CN:"前端工程师 | 蚂蚁金服-计算服务事业群-REACT平台",HK:"前端工程師 | 螞蟻金服-計算服務事業群-REACT平台",US:"Front-end engineer | Ant Financial - Computing services business group - REACT platform"},{CN:"产品分析师 | 蚂蚁金服-计算服务事业群-IOS平台部",HK:"產品分析師 | 螞蟻金服-計算服務事業群-IOS平台部",US:"Product analyst | Ant Financial - Computing services business group - IOS platform division"}],Bt=["那是一种内在的东西,他们到达不了,也无法触及的","希望是一个好东西,也许是最好的,好东西是不会消亡的","城镇中有那么多的酒馆,她却偏偏走进了我的酒馆","那时候我只会想自己想要什么,从不想自己拥有什么"],qt=["https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png","https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png","https://gw.alipayobjects.com/zos/rmsportal/dURIMkkrRFpPgTuzkwnB.png","https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png","https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png"],Ut=["ICZER","JACK","LUIS","DAVID"],Rt=["高逼格设计天团","中二少女团","科学搬砖组","骗你学计算机","程序员日常"],Ft=[{name:"曲丽丽",avatar:Kt[0],groupId:0},{name:"付晓晓",avatar:Kt[1],groupId:0},{name:"林东东",avatar:Kt[2],groupId:1},{name:"周星星",avatar:Kt[3],groupId:2},{name:"朱偏右",avatar:Kt[4],groupId:3},{name:"勒个",avatar:Kt[5],groupId:4}],Vt=Rt.map((function(e,t){return{name:e,avatar:Kt[t]}})),Wt=Dt.a.Random,Gt=[{CN:"早上好",HK:"早晨啊",US:"Good morning"},{CN:"上午好",HK:"上午好",US:"Good morning"},{CN:"中午好",HK:"中午好",US:"Good afternoon"},{CN:"晚上好",HK:"晚上好",US:"Good evening"}],Jt=[{CN:"休息一会儿吧",HK:"休息一會兒吧",US:"you may need a break"},{CN:"准备吃什么呢",HK:"準備吃什麼呢",US:"what are you going to eat"},{CN:"要不要打一把 DOTA",HK:"要不要打一把 DOTA",US:"how about a game of DOTA"},{CN:"我猜你可能累了",HK:"我猜你可能累了",US:"i guess you might be tired"}];Wt.extend({admin:function(){return this.pick(Ut)},welcome:function(){return this.pick(Jt)},timeFix:function(){var e=new Date,t=e.getHours();return t<9?Gt[0]:t<=11?Gt[1]:t<=13?Gt[2]:t<=20?Gt[3]:Gt[4]},avatar:function(){return this.pick(Kt)},position:function(){return this.pick(Ht)},saying:function(){return this.pick(Bt)},logo:function(){return this.pick(qt)}});var Xt=Dt.a.mock({"list|2-10":[{name:"@ADMIN",avatar:"@AVATAR",address:"@CITY",welcome:"@WELCOME",timeFix:"@TIMEFIX",position:"@position"}]}).list;Dt.a.mock("/user/current","get",(function(){return Xt[0]}));var Yt=Dt.a.mock({"list|6":[{logo:"@LOGO",desc:"@SAYING"}]}).list;Dt.a.mock("/project","get",(function(){return Yt}));var Zt=Dt.a.mock({name:"@ADMIN",avatar:"@AVATAR",address:"@CITY",welcome:"@WELCOME",timeFix:"@TIMEFIX",position:"@POSITION"});Dt.a.mock("/login","post",(function(e){var t=e.body,a={},n=JSON.parse(t),i=n.name,s=n.password;return"admin"!==i||"888888"!==s?(a.code=-1,a.message="账户名或密码错误(admin/888888)"):(a.code=0,a.message=Dt.a.mock("@TIMEFIX")+",欢迎回来",a.data={},a.data.user=Zt),a}));var Qt=[{type:0,event:"八月迭代"},{type:1,event:"留言"},{type:2,event:"项目进展"}],ea=Ft.map((function(e,t){return{user:Object.assign({},e,{group:Rt[e.groupId]}),activity:Qt[t%Qt.length],template:""}})),ta=[function(e,t){return"".concat(e.name," 在 ").concat(e.group," 新建项目 ").concat(t.event,"")},function(e,t){return"".concat(e.name," 在 ").concat(e.group," 发布了 ").concat(t.event,"")},function(e,t){return"".concat(e.name," 将 ").concat(t.event," 更新至已发布状态")}];ea.forEach((function(e){e.template=ta[e.activity.type](e.user,e.activity)})),Dt.a.mock("/work/activity","get",(function(){return ea})),Dt.a.mock("/work/team","get",(function(){return Vt})),Dt.a.setup({timeout:"300-600"});var aa=a("16b2"),na=new aa["a"]("adminDb"),ia={namespaced:!0,state:{user:{}},mutations:{setUser:function(e,t){e.user=t,na.get("currUser").then((function(e){na.put({_id:"currUser",_rev:e._rev,user:t})})).catch((function(e){if(404!==e.status)throw e;na.put({_id:"currUser",user:t})}))}}},sa=a("f121"),oa=a.n(sa),ra={namespaced:!0,state:Object(o["a"])(Object(o["a"])({isMobile:!1,animates:a("3148")},oa.a),{},{routesI18n:{}}),mutations:{setDevice:function(e,t){e.isMobile=t},setTheme:function(e,t){e.theme=t},setLayout:function(e,t){e.layout=t},setMultiPage:function(e,t){e.multiPage=t},setAnimate:function(e,t){e.animate=t},setThemeColor:function(e,t){e.themeColor=t},setWeekMode:function(e,t){e.weekMode=t},setFixedHeader:function(e,t){e.fixedHeader=t},setFixedSideBar:function(e,t){e.fixedSideBar=t},setLang:function(e,t){e.lang=t},setRoutesI18n:function(e,t){e.routesI18n=t}}};n["a"].use(h["a"]);var ca=new h["a"].Store({modules:{account:ia,setting:ra}}),la=(a("81ca"),a("a925")),ua={STATEMENTS:"s",PHRASAL:"p"},da={install:function(e){e.mixin({methods:{$ta:function(e,t){var a=t||ua.STATEMENTS,n=e.split("|"),i=this,s=this.$i18n.locale,o="",r="US"==s?" ":"";return n.forEach((function(e){o+=i.$t(e)+r})),n.length>0&&a==ua.STATEMENTS&&"US"==s&&(o=o.charAt(0).toUpperCase()+o.toLowerCase().substring(1)),o}}})}},ha=da,ma={install:function(e){e.use(ha)}},fa=ma;n["a"].prototype.$axios=Tt.a,n["a"].config.productionTip=!1,n["a"].use(It["a"]),n["a"].use(Et["a"]),n["a"].use(la["a"]),n["a"].use(fa);var pa=new la["a"]({locale:"CN",fallbackLocale:"US",silentFallbackWarn:!0});new n["a"]({router:zt,store:ca,i18n:pa,render:function(e){return e(b)},mounted:function(){var e=this,t=new aa["a"]("adminDb");t.get("currUser").then((function(t){e.$store.commit("account/setUser",t.user)}))}}).$mount("#app")},"59d6":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"theme-color",style:{backgroundColor:e.color},on:{click:e.toggle}},[e.sChecked?a("a-icon",{attrs:{type:"check"}}):e._e()],1)},i=[],s=(a("4de4"),a("4160"),a("c975"),a("a9e3"),a("d3b7"),a("159b"),a("ddb0"),{name:"ColorCheckboxGroup",props:{defaultValues:{type:Array,required:!1,default:function(){return[]}},multiple:{type:Boolean,required:!1,default:!1}},data:function(){return{values:[],options:[]}},computed:{colors:function(){var e=[];return this.options.forEach((function(t){t.sChecked&&e.push(t.color)})),e}},provide:function(){return{groupContext:this}},watch:{values:function(){this.$emit("change",this.values,this.colors)},defaultValues:function(e){this.multiple?this.options.forEach((function(t){t.sChecked=e.indexOf(t.value)>-1})):this.options.forEach((function(t){var a=e[0];t.sChecked=a&&a==t.value}))}},methods:{handleChange:function(e){e.checked?this.multiple?this.values.push(e.value):this.options.forEach((function(t){t.value!=e.value&&(t.sChecked=!1)})):this.values=this.values.filter((function(t){return t!==e.value}))}},render:function(e){var t=e("div",{attrs:{style:"clear: both"}});return e("div",{},[this.$slots.default,t])}}),o={name:"ColorCheckbox",Group:s,props:{color:{type:String,required:!0},value:{type:[String,Number],required:!0},checked:{type:Boolean,required:!1,default:!1}},data:function(){return{sChecked:this.initChecked()}},computed:{},inject:["groupContext"],watch:{sChecked:function(){var e={value:this.value,color:this.color,checked:this.sChecked};this.$emit("change",e);var t=this.groupContext;t&&t.handleChange(e)}},created:function(){var e=this.groupContext;e&&e.options.push(this)},methods:{toggle:function(){this.sChecked=!this.sChecked},initChecked:function(){var e=this.groupContext;return e?e.multiple?e.defaultValues.indexOf(this.value)>-1:e.defaultValues[0]==this.value:this.check}}},r=o,c=(a("f1b2"),a("2877")),l=Object(c["a"])(r,n,i,!1,null,"2f0f620e",null);t["a"]=l.exports},"5f66":function(e,t,a){"use strict";var n=a("0da9"),i=a.n(n);i.a},"67fe":function(e,t,a){},"6a08":function(e,t,a){},"6c82":function(e,t,a){},"6db9":function(e,t){Object.defineProperty(Object.prototype,"assignProps",{writable:!1,enumerable:!1,configurable:!0,value:function(e,t){for(var a=this,n=0;n .ant-steps-icon":case".ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon":return":not(.ant-steps-item-process)"+e;case".ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item-open,.ant-menu-horizontal>.ant-menu-item-selected,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu-active,.ant-menu-horizontal>.ant-menu-submenu-open,.ant-menu-horizontal>.ant-menu-submenu-selected,.ant-menu-horizontal>.ant-menu-submenu:hover":case".ant-menu-horizontal > .ant-menu-item-active,.ant-menu-horizontal > .ant-menu-item-open,.ant-menu-horizontal > .ant-menu-item-selected,.ant-menu-horizontal > .ant-menu-item:hover,.ant-menu-horizontal > .ant-menu-submenu-active,.ant-menu-horizontal > .ant-menu-submenu-open,.ant-menu-horizontal > .ant-menu-submenu-selected,.ant-menu-horizontal > .ant-menu-submenu:hover":return".ant-menu-horizontal > .ant-menu-item-active,.ant-menu-horizontal > .ant-menu-item-open,.ant-menu-horizontal > .ant-menu-item-selected,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover,.ant-menu-horizontal > .ant-menu-submenu-active,.ant-menu-horizontal > .ant-menu-submenu-open,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-selected,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu:hover";case".ant-menu-horizontal > .ant-menu-item-selected > a":case".ant-menu-horizontal>.ant-menu-item-selected>a":return".ant-menu-horizontal:not(ant-menu-light):not(.ant-menu-dark) > .ant-menu-item-selected > a";case".ant-menu-horizontal > .ant-menu-item > a:hover":case".ant-menu-horizontal>.ant-menu-item>a:hover":return".ant-menu-horizontal:not(ant-menu-light):not(.ant-menu-dark) > .ant-menu-item > a:hover";default:return e}}}},a08b:function(e,t,a){},a14d:function(e,t,a){"use strict";var n=a("8140"),i=a.n(n);i.a},a5d6:function(e,t,a){"use strict";var n=a("67fe"),i=a.n(n);i.a},bd03:function(e,t,a){},be7f:function(e,t,a){"use strict";var n=a("80b0"),i=a.n(n);i.a},bf50:function(e,t,a){"use strict";var n=a("3693"),i=a.n(n);i.a},d1a0:function(e,t,a){"use strict";var n=a("1742"),i=a.n(n);i.a},d87f:function(e,t){e.exports={messages:{CN:{theme:{title:"整体风格设置",light:"亮色菜单风格",dark:"暗色菜单风格",color:"主题色"},navigate:{title:"导航设置",side:"侧边导航",head:"顶部导航",content:{title:"内容区域宽度",fluid:"流式",fixed:"定宽"},fixedHeader:"固定Header",fixedSideBar:"固定侧边栏"},other:{title:"其他设置",weekMode:"色弱模式",multiPages:"多页签模式"},animate:{title:"页面切换动画",effect:"动画效果",direction:"动画方向"},copy:"拷贝配置"},HK:{theme:{title:"整體風格設置",light:"亮色菜單風格",dark:"暗色菜單風格",color:"主題色"},navigate:{title:"導航設置",side:"側邊導航",head:"頂部導航",content:{title:"內容區域寬度",fluid:"流式",fixed:"定寬"},fixedHeader:"固定Header",fixedSideBar:"固定側邊欄"},other:{title:"其他設置",weekMode:"色弱模式",multiPages:"多頁簽模式"},animate:{title:"頁面切換動畫",effect:"動畫效果",direction:"動畫方向"},copy:"拷貝配置"},US:{theme:{title:"Page Style Setting",light:"Light Style",dark:"Dark Style",color:"Theme Color"},navigate:{title:"Navigation Mode",side:"Side Menu Layout",head:"Top Menu Layout",content:{title:"Content Width",fluid:"Fluid",fixed:"Fixed"},fixedHeader:"Fixed Header",fixedSideBar:"Fixed SideBar"},other:{title:"Other Setting",weekMode:"Week Mode",multiPages:"Multi Pages"},animate:{title:"Page Toggle Animation",effect:"Effect",direction:"Direction"},copy:"Copy Setting"}}}},dba6:function(e,t,a){},dd88:function(e,t,a){"use strict";var n=a("9d05"),i=a.n(n);i.a},ecc2:function(e,t,a){"use strict";var n=a("2082"),i=a.n(n);i.a},ee40:function(e,t,a){},f121:function(e,t){e.exports={lang:"CN",themeColor:"#1890ff",theme:"dark",layout:"side",fixedHeader:!1,fixedSideBar:!0,weekMode:!1,multiPage:!1,systemName:"Vue Antd Admin",copyright:"2018 ICZER 工作室出品",animate:{name:"bounce",direction:"left"},footerLinks:[{link:"https://pro.ant.design",name:"Pro首页"},{link:"https://github.com/iczer/vue-antd-admin",icon:"github"},{link:"https://ant.design",name:"Ant Design"}]}},f1b2:function(e,t,a){"use strict";var n=a("86ab"),i=a.n(n);i.a}}); \ No newline at end of file +(function(e){function t(t){for(var n,i,r=t[0],c=t[1],l=t[2],u=0,d=[];u-1}},reverse:{type:Boolean,default:!0}},computed:{enterAnimate:function(){return this.activeClass(!1)},leaveAnimate:function(){return this.activeClass(!0)}},methods:{activeClass:function(e){var t=this,a=_.a.find((function(e){return t.animate==e.name}));if(void 0==a)return"";var n="";n=void 0==this.direction?a.directions[0]:a.directions.find((function(e){return e==t.direction})),n=void 0==n||"default"===n?"":n,""!=n&&(n=e&&this.reverse?this.reversePosition(n,a.directions):n,n=n[0].toUpperCase()+n.substring(1));var i=e?"Out":"In";return a.name+i+n},reversePosition:function(e,t){if(0==e.length||"x"==e||"y"==e)return e;var a=t.indexOf(e);return a=a%2==1?a-1:a+1,t[a]}}},O=S,L=(a("39be"),Object(p["a"])(O,C,w,!1,null,null,null)),$=L.exports,P={name:"PageView",components:{PageToggleTransition:$,PageLayout:j["a"]},data:function(){return{path:"",desc:"",linkList:[],extraImage:""}},computed:Object(o["a"])({title:function(){var e=this.path.substring(1).replace(new RegExp("/","g"),".")+".name";return this.$t(e)}},Object(h["c"])("setting",["multiPage","animate","routesI18n"])),created:function(){var e=this,t=this.routesI18n;Object.keys(t).forEach((function(a){e.$i18n.mergeLocaleMessage(a,t[a])}))},mounted:function(){this.getPageHeaderInfo()},updated:function(){this.getPageHeaderInfo()},methods:{getPageHeaderInfo:function(){this.path=this.$route.path;var e=this.$refs.page;e&&(this.desc=e.desc,this.linkList=e.linkList,this.extraImage=e.extraImage)}}},M=P,z=(a("784d"),Object(p["a"])(M,k,y,!1,null,"7b67a2ed",null)),E=z.exports,I=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("page-toggle-transition",{attrs:{animate:e.animate.name,direction:e.animate.direction}},[e.multiPage?a("keep-alive",[a("router-view")],1):a("router-view")],1)},A=[],T={name:"RouteView",components:{PageToggleTransition:$},computed:Object(o["a"])({},Object(h["c"])("setting",["multiPage","animate"]))},N=T,D=Object(p["a"])(N,I,A,!1,null,"2860d8b4",null),K=D.exports,H=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("global-layout",[a("contextmenu",{attrs:{itemList:e.menuItemList,visible:e.menuVisible},on:{"update:visible":function(t){e.menuVisible=t},select:e.onMenuSelect}}),e.multiPage?a("a-tabs",{style:"margin: -16px auto 8px; "+("head"==e.layout?"max-width: 1400px;":""),attrs:{"active-key":e.activePage,"hide-add":!0,type:"editable-card"},on:{change:e.changePage,edit:e.editPage},nativeOn:{contextmenu:function(t){return function(t){return e.onContextmenu(t)}(t)}}},e._l(e.pageList,(function(t){return a("a-tab-pane",{key:t.fullPath},[a("span",{attrs:{slot:"tab",pagekey:t.fullPath},slot:"tab"},[e._v(e._s(t.name))])])})),1):e._e(),a("div",{staticClass:"menu-view-content"},[a("page-toggle-transition",{attrs:{animate:e.animate.name,direction:e.animate.direction}},[e.multiPage?a("keep-alive",[a("router-view")],1):a("router-view")],1)],1)],1)},B=[],q=(a("4de4"),a("fb6a"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-layout",{class:["global-layout",e.fixedSideBar?"fixed-side-bar":""]},[e.isMobile?a("drawer",{attrs:{openDrawer:e.collapsed},on:{change:e.onDrawerChange}},[a("sider-menu",{attrs:{theme:e.theme,menuData:e.menuData,collapsed:!1,collapsible:!1},on:{menuSelect:e.onMenuSelect}})],1):"side"===e.layout?a("sider-menu",{attrs:{theme:e.theme,menuData:e.menuData,collapsed:e.collapsed,collapsible:!0}}):e._e(),a("drawer",{attrs:{"open-drawer":e.showSetting,placement:"right"},on:{change:e.onSettingDrawerChange}},[a("div",{staticClass:"setting",attrs:{slot:"handler"},slot:"handler"},[a("a-icon",{attrs:{type:e.showSetting?"close":"setting"}})],1),a("setting")],1),a("a-layout",{staticClass:"global-layout-main beauty-scroll"},[a("global-header",{style:e.headerStyle,attrs:{menuData:e.menuData,collapsed:e.collapsed},on:{toggleCollapse:e.toggleCollapse}}),e.fixedHeader?a("a-layout-header"):e._e(),a("a-layout-content",{staticClass:"global-layout-content"},[a("div",{style:"min-height: "+e.minHeight+"px; position: relative"},[e._t("default")],2)]),a("a-layout-footer",{staticStyle:{padding:"0px"}},[a("global-footer",{attrs:{"link-list":e.footerLinks,copyright:e.copyright}})],1)],1)],1)}),U=[],R=(a("99af"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a-layout-header",{class:[e.headerTheme,"global-header"]},[n("div",{class:["global-header-wide",e.layout]},[e.isMobile||"head"===e.layout?n("router-link",{class:["logo",e.isMobile?null:"pc",e.headerTheme],attrs:{to:"/"}},[n("img",{attrs:{width:"32",src:a("4ffd")}}),e.isMobile?e._e():n("h1",[e._v(e._s(e.systemName))])]):e._e(),e.isMobile?n("a-divider",{attrs:{type:"vertical"}}):e._e(),"side"===e.layout?n("a-icon",{staticClass:"trigger",attrs:{type:e.collapsed?"menu-unfold":"menu-fold"},on:{click:e.toggleCollapse}}):e._e(),"head"!=e.layout||e.isMobile?e._e():n("div",{staticClass:"global-header-menu"},[n("i-menu",{staticStyle:{height:"64px","line-height":"64px"},attrs:{i18n:e.menuI18n,theme:e.headerTheme,mode:"horizontal",options:e.menuData},on:{i18nComplete:e.setRoutesI18n,select:e.onSelect}})],1),n("div",{class:["global-header-right",e.headerTheme]},[n("header-search",{staticClass:"header-item"}),n("a-tooltip",{staticClass:"header-item",attrs:{title:"帮助文档",placement:"bottom"}},[n("a",[n("a-icon",{attrs:{type:"question-circle-o"}})],1)]),n("header-notice",{staticClass:"header-item"}),n("header-avatar",{staticClass:"header-item"}),n("a-dropdown",{staticClass:"lang header-item"},[n("div",[n("a-icon",{attrs:{type:"global"}}),e._v(" "+e._s(e.langAlias)+" ")],1),n("a-menu",{attrs:{slot:"overlay","selected-keys":[e.lang]},on:{click:function(t){return e.setLang(t.key)}},slot:"overlay"},e._l(e.langList,(function(t){return n("a-menu-item",{key:t.key},[e._v(e._s(t.key.toLowerCase()+" "+t.name))])})),1)],1)],1)],1)])}),F=[],V=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"header-search"},[a("a-icon",{staticClass:"search-icon",attrs:{type:"search"},on:{click:e.enterSearchMode}}),a("a-auto-complete",{ref:"input",class:["search-input",e.searchMode?"enter":"leave"],attrs:{dataSource:e.dataSource,placeholder:"站内搜索"},on:{blur:e.leaveSearchMode}})],1)},W=[],G={name:"HeaderSearch",data:function(){return{dataSource:["选项一","选项二"],searchMode:!1}},methods:{enterSearchMode:function(){var e=this;this.searchMode=!0,setTimeout((function(){return e.$refs.input.focus()}),300)},leaveSearchMode:function(){this.searchMode=!1}}},J=G,X=(a("bf50"),Object(p["a"])(J,V,W,!1,null,null,null)),Y=X.exports,Z=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-dropdown",{attrs:{trigger:["click"]},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[a("div",{attrs:{slot:"overlay"},slot:"overlay"},[a("a-spin",{attrs:{spinning:e.loading}},[a("a-tabs",{staticClass:"dropdown-tabs",style:{backgroundColor:"white",width:"297px"},attrs:{tabBarStyle:{textAlign:"center"}}},[a("a-tab-pane",{key:"1",attrs:{tab:"通知"}},[a("a-list",{staticClass:"tab-pane"},[a("a-list-item",[a("a-list-item-meta",{attrs:{title:"你收到了 14 份新周报",description:"一年前"}},[a("a-avatar",{staticStyle:{"background-color":"white"},attrs:{slot:"avatar",src:"https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png"},slot:"avatar"})],1)],1),a("a-list-item",[a("a-list-item-meta",{attrs:{title:"你推荐的 曲妮妮 已通过第三轮面试",description:"一年前"}},[a("a-avatar",{staticStyle:{"background-color":"white"},attrs:{slot:"avatar",src:"https://gw.alipayobjects.com/zos/rmsportal/OKJXDXrmkNshAMvwtvhu.png"},slot:"avatar"})],1)],1),a("a-list-item",[a("a-list-item-meta",{attrs:{title:"这种模板可以区分多种通知类型",description:"一年前"}},[a("a-avatar",{staticStyle:{"background-color":"white"},attrs:{slot:"avatar",src:"https://gw.alipayobjects.com/zos/rmsportal/kISTdvpyTAhtGxpovNWd.png"},slot:"avatar"})],1)],1)],1)],1),a("a-tab-pane",{key:"2",attrs:{tab:"消息"}},[a("div",{staticClass:"tab-pane"},[e._v("暂无消息")])]),a("a-tab-pane",{key:"3",attrs:{tab:"待办"}},[a("div",{staticClass:"tab-pane"},[e._v("暂无消息")])])],1)],1)],1),a("span",{staticClass:"header-notice",on:{click:e.fetchNotice}},[a("a-badge",{attrs:{count:"12"}},[a("a-icon",{class:["header-notice-icon"],attrs:{type:"bell"}})],1)],1)])},Q=[],ee={name:"HeaderNotice",data:function(){return{loading:!1,show:!1}},computed:{},methods:{fetchNotice:function(){var e=this;this.loading?this.loading=!1:(this.loadding=!0,setTimeout((function(){e.loadding=!1}),1e3))}}},te=ee,ae=(a("1535"),Object(p["a"])(te,Z,Q,!1,null,"61275666",null)),ne=ae.exports,ie=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-dropdown",[a("div",{staticClass:"header-avatar",staticStyle:{cursor:"pointer"}},[a("a-avatar",{staticClass:"avatar",attrs:{size:"small",shape:"circle",src:e.user.avatar}}),a("span",{staticClass:"name"},[e._v(e._s(e.user.name))])],1),a("a-menu",{class:["avatar-menu"],attrs:{slot:"overlay"},slot:"overlay"},[a("a-menu-item",[a("a-icon",{attrs:{type:"user"}}),a("span",[e._v("个人中心")])],1),a("a-menu-item",[a("a-icon",{attrs:{type:"setting"}}),a("span",[e._v("设置")])],1),a("a-menu-divider"),a("a-menu-item",[a("router-link",{attrs:{to:"/login"}},[a("a-icon",{attrs:{type:"poweroff"}}),a("span",[e._v("退出登录")])],1)],1)],1)],1)},se=[],oe={name:"HeaderAvatar",computed:Object(o["a"])(Object(o["a"])({},Object(h["c"])("setting",["weekMode"])),Object(h["c"])("account",["user"]))},re=oe,ce=(a("a5d6"),Object(p["a"])(re,ie,se,!1,null,null,null)),le=ce.exports,ue=(a("1276"),a("55f1")),de=a("0c63"),he=(a("6db9"),ue["a"].Item),me=ue["a"].SubMenu,fe={name:"IMenu",i18n:{},props:{options:{type:Array,required:!0},theme:{type:String,required:!1,default:"dark"},mode:{type:String,required:!1,default:"inline"},collapsed:{type:Boolean,required:!1,default:!1},i18n:Object},data:function(){return{openKeys:[],selectedKeys:[],cachedOpenKeys:[]}},computed:{rootSubmenuKeys:function(e){var t=[];return e.options.forEach((function(e){t.push(e.path)})),t}},beforeMount:function(){var e=this,t=this.generateI18n(new Object,this.options,"name"),a=this.generateI18n(new Object,this.options,"path");this.$i18n.setLocaleMessage("CN",t),this.$i18n.setLocaleMessage("US",a),this.i18n&&Object.keys(this.i18n).forEach((function(t){e.$i18n.mergeLocaleMessage(t,e.i18n[t])})),this.$emit("i18nComplete",this.$i18n._getMessages())},created:function(){this.updateMenu(),this.formatOptions(this.options,"")},watch:{collapsed:function(e){e?(this.cachedOpenKeys=this.openKeys,this.openKeys=[]):this.openKeys=this.cachedOpenKeys},$route:function(){this.updateMenu()}},methods:{renderIcon:function(e,t){return t&&"none"!=t?e(de["a"],{props:{type:t}}):null},renderMenuItem:function(e,t){return e(he,{key:t.fullPath},[e("a",{attrs:{href:"#"+t.fullPath}},[this.renderIcon(e,t.meta?t.meta.icon:"none"),e("span",[this.$t(t.fullPath.substring(1).replace(new RegExp("/","g"),".")+".name")])])])},renderSubMenu:function(e,t){var a=this,n=[e("span",{slot:"title"},[this.renderIcon(e,t.meta?t.meta.icon:"none"),e("span",[this.$t(t.fullPath.substring(1).replace(new RegExp("/","g"),".")+".name")])])],i=[];return t.children.forEach((function(t){i.push(a.renderItem(e,t))})),e(me,{key:t.fullPath},n.concat(i))},renderItem:function(e,t){var a=t.meta;if(!a||!a.invisible){var n=!1,i=t.children;if(void 0!=i)for(var s=0;s0?e.defaultValues.indexOf(this.value)>=0:this.sChecked,e.options.push(this))},methods:{toggle:function(){this.sChecked=!this.sChecked}}},Xe=Je,Ye=(a("1291"),Object(p["a"])(Xe,Ve,We,!1,null,"25af3dac",null)),Ze=Ye.exports,Qe=a("b311"),et=a.n(Qe),tt=a("9d12"),at=a.n(tt),nt=Fe["a"].Group,it=Ze.Group,st=["#f5222d","#fa541c","#faad14","#13c2c2","#52c41a","#1890ff","#2f54eb","#722ed1"],ot={name:"Setting",i18n:a("d87f"),components:{ImgCheckboxGroup:it,ImgCheckbox:Ze,ColorCheckboxGroup:nt,ColorCheckbox:Fe["a"],SettingItem:Re},data:function(){return{animate:this.$store.state.setting.animate.name,direction:this.$store.state.setting.animate.direction,themeColorIndex:[st.indexOf(this.$store.state.setting.themeColor)],colors:st}},computed:Object(o["a"])({directions:function(){var e=this;return this.animates.find((function(t){return t.name==e.animate})).directions}},Object(h["c"])("setting",["animates","multiPage","weekMode","fixedHeader","fixedSideBar"])),methods:Object(o["a"])({onColorChange:function(e,t){if(t.length>0){var a=this.$message.info("您选择了主题色 ".concat(t,", 正在切换...")),n=this;at.a.changeThemeColor(t[0]).then((function(){n.setThemeColor(t[0]),a()}))}},copyCode:function(){var e=new et.a("#copyBtn"),t=this;e.on("success",(function(){t.$message.success("复制成功"),e.destroy()}))},setAnimate:function(e,t){void 0==t&&(this.direction=this.directions[0]),this.setAnimate({name:this.animate,direction:this.direction})}},Object(h["b"])("setting",["setTheme","setThemeColor","setLayout","setMultiPage","setWeekMode","setFixedSideBar","setFixedHeader","setAnimate"]))},rt=ot,ct=(a("5f66"),Object(p["a"])(rt,Ne,De,!1,null,"27942bb7",null)),lt=ct.exports,ut=window.innerHeight-64-24-122,dt=[],ht={name:"GlobalLayout",components:{Setting:lt,SiderMenu:Te,Drawer:Pe,GlobalFooter:xe,GlobalHeader:ve},data:function(){return{minHeight:ut,collapsed:!1,menuData:dt,showSetting:!1}},provide:function(){return{layoutMinHeight:ut,menuI18n:a("08e1").default}},computed:Object(o["a"])(Object(o["a"])({},Object(h["c"])("setting",["isMobile","theme","layout","footerLinks","copyright","fixedHeader","fixedSideBar"])),{},{sideMenuWidth:function(){return this.collapsed?"80px":"256px"},headerStyle:function(){var e=this.fixedHeader&&"side"==this.layout&&!this.isMobile?"calc(100% - ".concat(this.sideMenuWidth,")"):"100%",t=this.fixedHeader?"fixed":"static",a=this.fixedHeader?"transition: width 0.2s":"";return"width: ".concat(e,"; position: ").concat(t,"; ").concat(a)}}),methods:{toggleCollapse:function(){this.collapsed=!this.collapsed},onDrawerChange:function(e){this.collapsed=e},onMenuSelect:function(){this.toggleCollapse()},onSettingDrawerChange:function(e){this.showSetting=e}},beforeCreate:function(){dt=this.$router.options.routes.find((function(e){return"/"===e.path})).children}},mt=ht,ft=(a("dd88"),Object(p["a"])(mt,q,U,!1,null,"1d4f48d6",null)),pt=ft.exports,gt=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-menu",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:e.style,attrs:{selectedKeys:e.selectedKeys},on:{click:e.handleClick}},e._l(e.itemList,(function(t){return a("a-menu-item",{key:t.key},[t.icon?a("a-icon",{attrs:{role:"menuitemicon",type:t.icon}}):e._e(),e._v(e._s(t.text)+" ")],1)})),1)},bt=[],vt={name:"Contextmenu",props:{visible:{type:Boolean,required:!1,default:!1},itemList:{type:Array,required:!0,default:function(){return[]}}},data:function(){return{left:0,top:0,target:null,selectedKeys:[]}},computed:{style:function(){return{left:this.left+"px",top:this.top+"px"}}},created:function(){var e=this;window.addEventListener("mousedown",(function(t){return e.closeMenu(t)})),window.addEventListener("contextmenu",(function(t){return e.setPosition(t)}))},methods:{closeMenu:function(e){["menuitemicon","menuitem"].indexOf(e.target.getAttribute("role"))<0&&this.$emit("update:visible",!1)},setPosition:function(e){this.left=e.clientX,this.top=e.clientY,this.target=e.target},handleClick:function(e){var t=e.key;this.$emit("select",t,this.target),this.$emit("update:visible",!1)}}},kt=vt,yt=(a("4635"),Object(p["a"])(kt,gt,bt,!1,null,"73dd8bda",null)),jt=yt.exports,Ct={name:"MenuView",components:{PageToggleTransition:$,Contextmenu:jt,GlobalLayout:pt},data:function(){return{pageList:[],linkList:[],activePage:"",menuVisible:!1,menuItemList:[{key:"1",icon:"arrow-left",text:"关闭左侧"},{key:"2",icon:"arrow-right",text:"关闭右侧"},{key:"3",icon:"close",text:"关闭其它"}]}},computed:Object(o["a"])({},Object(h["c"])("setting",["multiPage","animate","layout"])),created:function(){this.pageList.push(this.$route),this.linkList.push(this.$route.fullPath),this.activePage=this.$route.fullPath},watch:{$route:function(e){this.activePage=e.fullPath,this.multiPage?this.linkList.indexOf(e.fullPath)<0&&(this.linkList.push(e.fullPath),this.pageList.push(e)):(this.linkList=[e.fullPath],this.pageList=[e])},activePage:function(){},multiPage:function(e){e||(this.linkList=[this.$route.fullPath],this.pageList=[this.$route])}},methods:{changePage:function(e){this.$router.push(e),this.activePage=e},editPage:function(e,t){this[t](e)},remove:function(e){if(1!==this.pageList.length){this.pageList=this.pageList.filter((function(t){return t.fullPath!==e}));var t=this.linkList.indexOf(e);this.linkList=this.linkList.filter((function(t){return t!==e})),t=t>=this.linkList.length?this.linkList.length-1:t,this.activePage=this.linkList[t]}else this.$message.warning("这是最后一页,不能再关闭了啦")},onContextmenu:function(e){var t=this.getPageKey(e.target);null!==t&&(e.preventDefault(),this.menuVisible=!0)},getPageKey:function(e,t){if(t=t||0,t>2)return null;var a=e.getAttribute("pagekey");return a=a||(e.previousElementSibling?e.previousElementSibling.getAttribute("pagekey"):null),a||(e.firstElementChild?this.getPageKey(e.firstElementChild,++t):null)},onMenuSelect:function(e,t){var a=this.getPageKey(t);switch(e){case"1":this.closeLeft(a);break;case"2":this.closeRight(a);break;case"3":this.closeOthers(a);break;default:break}},closeOthers:function(e){var t=this.linkList.indexOf(e);this.linkList=this.linkList.slice(t,t+1),this.pageList=this.pageList.slice(t,t+1),this.activePage=this.linkList[0]},closeLeft:function(e){var t=this.linkList.indexOf(e);this.linkList=this.linkList.slice(t),this.pageList=this.pageList.slice(t),this.linkList.indexOf(this.activePage)<0&&(this.activePage=this.linkList[0])},closeRight:function(e){var t=this.linkList.indexOf(e);this.linkList=this.linkList.slice(0,t+1),this.pageList=this.pageList.slice(0,t+1),this.linkList.indexOf(this.activePage<0)&&(this.activePage=this.linkList[this.linkList.length-1])}}},wt=Ct,xt=(a("9ae1"),Object(p["a"])(wt,H,B,!1,null,"30cfd570",null)),_t=xt.exports,St=function(){var e=this,t=this,n=t.$createElement,i=t._self._c||n;return i("div",{staticClass:"container"},[i("div",{staticClass:"content"},[i("div",{staticClass:"top"},[i("div",{staticClass:"header"},[i("img",{staticClass:"logo",attrs:{alt:"logo",src:a("4ffd")}}),i("span",{staticClass:"title"},[t._v(t._s(t.systemName))])]),i("div",{staticClass:"desc"},[t._v("Ant Design 是西湖区最具影响力的 Web 设计规范")])]),i("div",{staticClass:"login"},[i("a-form",{attrs:{autoFormCreate:function(t){return e.form=t}},on:{submit:t.onSubmit}},[i("a-tabs",{staticStyle:{padding:"0 2px"},attrs:{size:"large",tabBarStyle:{textAlign:"center"}}},[i("a-tab-pane",{key:"1",attrs:{tab:"账户密码登录"}},[i("a-alert",{directives:[{name:"show",rawName:"v-show",value:t.error,expression:"error"}],staticStyle:{"margin-bottom":"24px"},attrs:{type:"error",closable:!0,message:t.error,showIcon:""}}),i("a-form-item",{attrs:{fieldDecoratorId:"name",fieldDecoratorOptions:{rules:[{required:!0,message:"请输入账户名",whitespace:!0}]}}},[i("a-input",{attrs:{size:"large",placeholder:"admin"}},[i("a-icon",{attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),i("a-form-item",{attrs:{fieldDecoratorId:"password",fieldDecoratorOptions:{rules:[{required:!0,message:"请输入密码",whitespace:!0}]}}},[i("a-input",{attrs:{size:"large",placeholder:"888888",type:"password"}},[i("a-icon",{attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1)],1),i("a-tab-pane",{key:"2",attrs:{tab:"手机号登录"}},[i("a-form-item",[i("a-input",{attrs:{size:"large",placeholder:"mobile number"}},[i("a-icon",{attrs:{slot:"prefix",type:"mobile"},slot:"prefix"})],1)],1),i("a-form-item",[i("a-row",{staticStyle:{margin:"0 -4px"},attrs:{gutter:8}},[i("a-col",{attrs:{span:16}},[i("a-input",{attrs:{size:"large",placeholder:"captcha"}},[i("a-icon",{attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),i("a-col",{staticStyle:{"padding-left":"4px"},attrs:{span:8}},[i("a-button",{staticClass:"captcha-button",staticStyle:{width:"100%"},attrs:{size:"large"}},[t._v("获取验证码")])],1)],1)],1)],1)],1),i("div",[i("a-checkbox",{attrs:{checked:!0}},[t._v("自动登录")]),i("a",{staticStyle:{float:"right"}},[t._v("忘记密码")])],1),i("a-form-item",[i("a-button",{staticStyle:{width:"100%","margin-top":"24px"},attrs:{loading:t.logging,size:"large",htmlType:"submit",type:"primary"}},[t._v("登录")])],1),i("div",[t._v(" 其他登录方式 "),i("a-icon",{staticClass:"icon",attrs:{type:"alipay-circle"}}),i("a-icon",{staticClass:"icon",attrs:{type:"taobao-circle"}}),i("a-icon",{staticClass:"icon",attrs:{type:"weibo-circle"}}),i("router-link",{staticStyle:{float:"right"},attrs:{to:"/dashboard/workplace"}},[t._v("注册账户")])],1)],1)],1)]),i("global-footer",{attrs:{"link-list":t.linkList,copyright:t.copyright}})],1)},Ot=[],Lt={name:"Login",components:{GlobalFooter:xe},data:function(){return{logging:!1,error:""}},computed:{systemName:function(){return this.$store.state.setting.systemName},linkList:function(){return this.$store.state.setting.footerLinks},copyright:function(){return this.$store.state.setting.copyright}},methods:{onSubmit:function(e){var t=this;e.preventDefault(),this.form.validateFields((function(e){e||(t.logging=!0,t.$axios.post("/login",{name:t.form.getFieldValue("name"),password:t.form.getFieldValue("password")}).then((function(e){t.logging=!1;var a=e.data;if(a.code>=0){var n=a.data.user;t.$router.push("/dashboard/workplace"),t.$store.commit("account/setUser",n),t.$message.success(a.message,3)}else t.error=a.message})))}))}}},$t=Lt,Pt=(a("ecc2"),Object(p["a"])($t,St,Ot,!1,null,"cdc79f34",null)),Mt=Pt.exports;n["a"].use(v["a"]);var zt=new v["a"]({routes:[{path:"/login",name:"登录页",component:Mt,invisible:!0},{path:"/",name:"首页",component:_t,redirect:"/login",children:[{path:"dashboard",name:"Dashboard",meta:{icon:"dashboard"},component:K,children:[{path:"workplace",name:"工作台",component:function(){return Promise.all([a.e("chunk-2d0d5f54"),a.e("chunk-0325d932")]).then(a.bind(null,"b87b"))}},{path:"analysis",name:"分析页",component:function(){return Promise.all([a.e("chunk-2d0d5f54"),a.e("chunk-da61332e")]).then(a.bind(null,"ccfa"))}}]},{path:"form",name:"表单页",meta:{icon:"form"},component:E,children:[{path:"basic",name:"基础表单",component:function(){return a.e("chunk-1ca14a27").then(a.bind(null,"6b9b"))}},{path:"step",name:"分步表单",component:function(){return a.e("chunk-a95e2efe").then(a.bind(null,"f8b4"))}},{path:"advance",name:"高级表单",component:function(){return a.e("chunk-05b90a64").then(a.bind(null,"ae40d"))}}]},{path:"list",name:"列表页",meta:{icon:"table"},component:E,children:[{path:"query",name:"查询表格",component:function(){return a.e("chunk-1edce97a").then(a.bind(null,"499e"))}},{path:"primary",name:"标准列表",component:function(){return a.e("chunk-658f9e99").then(a.bind(null,"71f9"))}},{path:"card",name:"卡片列表",component:function(){return a.e("chunk-2cdd102c").then(a.bind(null,"2c9e"))}},{path:"search",name:"搜索列表",component:function(){return a.e("chunk-3be032c6").then(a.bind(null,"4a1f"))},children:[{path:"article",name:"文章",component:function(){return a.e("chunk-1b4f1803").then(a.bind(null,"ad3a"))}},{path:"application",name:"应用",component:function(){return a.e("chunk-9a7f6dec").then(a.bind(null,"acf8"))}},{path:"project",name:"项目",component:function(){return a.e("chunk-1348d22c").then(a.bind(null,"ad44"))}}]}]},{path:"details",name:"详情页",meta:{icon:"profile"},component:K,children:[{path:"basic",name:"基础详情页",component:function(){return a.e("chunk-c05aee98").then(a.bind(null,"d7b9"))}},{path:"advance",name:"高级详情页",component:function(){return a.e("chunk-60e83aaa").then(a.bind(null,"4090"))}}]},{path:"result",name:"结果页",meta:{icon:"check-circle-o"},component:E,children:[{path:"success",name:"成功",component:function(){return a.e("chunk-55f3d8bb").then(a.bind(null,"46d1"))}},{path:"error",name:"失败",component:function(){return a.e("chunk-bd864942").then(a.bind(null,"2a9a"))}}]},{path:"exception",name:"异常页",meta:{icon:"warning"},component:K,children:[{path:"404",name:"404",component:function(){return a.e("chunk-4af0f3d2").then(a.bind(null,"a42a"))}},{path:"403",name:"403",component:function(){return a.e("chunk-bd47e734").then(a.bind(null,"3f9a"))}},{path:"500",name:"500",component:function(){return a.e("chunk-4fca5620").then(a.bind(null,"5827"))}}]},{path:"components",name:"小组件",meta:{icon:"appstore-o"},component:E,children:[{path:"taskCard",name:"任务卡片",component:function(){return a.e("chunk-e03a0e82").then(a.bind(null,"5f34"))}},{path:"palette",name:"颜色复选框",component:function(){return a.e("chunk-49a07930").then(a.bind(null,"e842"))}}]}]}]}),Et=(a("1ccf"),a("f23d")),It=a("3654"),At=a("bc3a"),Tt=a.n(At),Nt=a("96eb"),Dt=a.n(Nt),Kt=(a("d81d"),["https://gw.alipayobjects.com/zos/rmsportal/cnrhVkzwxjPwAaCfPbdc.png","https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png","https://gw.alipayobjects.com/zos/rmsportal/gaOngJwsRYRaVAuXXcmB.png","https://gw.alipayobjects.com/zos/rmsportal/WhxKECPNujWoWEFNdnJE.png","https://gw.alipayobjects.com/zos/rmsportal/ubnKSIfAJTxIgXOKlciN.png","https://gw.alipayobjects.com/zos/rmsportal/jZUIxmJycoymBprLOUbT.png"]),Ht=[{CN:"Java工程师 | 蚂蚁金服-计算服务事业群-微信平台部",HK:"Java工程師 | 螞蟻金服-計算服務事業群-微信平台部",US:"Java engineer | Ant financial - Computing services business group - WeChat platform division"},{CN:"前端工程师 | 蚂蚁金服-计算服务事业群-VUE平台",HK:"前端工程師 | 螞蟻金服-計算服務事業群-VUE平台",US:"Front-end engineer | Ant Financial - Computing services business group - VUE platform"},{CN:"前端工程师 | 蚂蚁金服-计算服务事业群-REACT平台",HK:"前端工程師 | 螞蟻金服-計算服務事業群-REACT平台",US:"Front-end engineer | Ant Financial - Computing services business group - REACT platform"},{CN:"产品分析师 | 蚂蚁金服-计算服务事业群-IOS平台部",HK:"產品分析師 | 螞蟻金服-計算服務事業群-IOS平台部",US:"Product analyst | Ant Financial - Computing services business group - IOS platform division"}],Bt=["那是一种内在的东西,他们到达不了,也无法触及的","希望是一个好东西,也许是最好的,好东西是不会消亡的","城镇中有那么多的酒馆,她却偏偏走进了我的酒馆","那时候我只会想自己想要什么,从不想自己拥有什么"],qt=["https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png","https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png","https://gw.alipayobjects.com/zos/rmsportal/dURIMkkrRFpPgTuzkwnB.png","https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png","https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png"],Ut=["ICZER","JACK","LUIS","DAVID"],Rt=["高逼格设计天团","中二少女团","科学搬砖组","骗你学计算机","程序员日常"],Ft=[{name:"曲丽丽",avatar:Kt[0],groupId:0},{name:"付晓晓",avatar:Kt[1],groupId:0},{name:"林东东",avatar:Kt[2],groupId:1},{name:"周星星",avatar:Kt[3],groupId:2},{name:"朱偏右",avatar:Kt[4],groupId:3},{name:"勒个",avatar:Kt[5],groupId:4}],Vt=Rt.map((function(e,t){return{name:e,avatar:Kt[t]}})),Wt=Dt.a.Random,Gt=[{CN:"早上好",HK:"早晨啊",US:"Good morning"},{CN:"上午好",HK:"上午好",US:"Good morning"},{CN:"中午好",HK:"中午好",US:"Good afternoon"},{CN:"晚上好",HK:"晚上好",US:"Good evening"}],Jt=[{CN:"休息一会儿吧",HK:"休息一會兒吧",US:"you may need a break"},{CN:"准备吃什么呢",HK:"準備吃什麼呢",US:"what are you going to eat"},{CN:"要不要打一把 DOTA",HK:"要不要打一把 DOTA",US:"how about a game of DOTA"},{CN:"我猜你可能累了",HK:"我猜你可能累了",US:"i guess you might be tired"}];Wt.extend({admin:function(){return this.pick(Ut)},welcome:function(){return this.pick(Jt)},timeFix:function(){var e=new Date,t=e.getHours();return t<9?Gt[0]:t<=11?Gt[1]:t<=13?Gt[2]:t<=20?Gt[3]:Gt[4]},avatar:function(){return this.pick(Kt)},position:function(){return this.pick(Ht)},saying:function(){return this.pick(Bt)},logo:function(){return this.pick(qt)}});var Xt=Dt.a.mock({"list|2-10":[{name:"@ADMIN",avatar:"@AVATAR",address:"@CITY",welcome:"@WELCOME",timeFix:"@TIMEFIX",position:"@position"}]}).list;Dt.a.mock("/user/current","get",(function(){return Xt[0]}));var Yt=Dt.a.mock({"list|6":[{logo:"@LOGO",desc:"@SAYING"}]}).list;Dt.a.mock("/project","get",(function(){return Yt}));var Zt=Dt.a.mock({name:"@ADMIN",avatar:"@AVATAR",address:"@CITY",welcome:"@WELCOME",timeFix:"@TIMEFIX",position:"@POSITION"});Dt.a.mock("/login","post",(function(e){var t=e.body,a={},n=JSON.parse(t),i=n.name,s=n.password;return"admin"!==i||"888888"!==s?(a.code=-1,a.message="账户名或密码错误(admin/888888)"):(a.code=0,a.message=Dt.a.mock("@TIMEFIX")+",欢迎回来",a.data={},a.data.user=Zt),a}));var Qt=[{type:0,event:"八月迭代"},{type:1,event:"留言"},{type:2,event:"项目进展"}],ea=Ft.map((function(e,t){return{user:Object.assign({},e,{group:Rt[e.groupId]}),activity:Qt[t%Qt.length],template:""}})),ta=[function(e,t){return"".concat(e.name," 在 ").concat(e.group," 新建项目 ").concat(t.event,"")},function(e,t){return"".concat(e.name," 在 ").concat(e.group," 发布了 ").concat(t.event,"")},function(e,t){return"".concat(e.name," 将 ").concat(t.event," 更新至已发布状态")}];ea.forEach((function(e){e.template=ta[e.activity.type](e.user,e.activity)})),Dt.a.mock("/work/activity","get",(function(){return ea})),Dt.a.mock("/work/team","get",(function(){return Vt})),Dt.a.setup({timeout:"300-600"});var aa=a("16b2"),na=new aa["a"]("adminDb"),ia={namespaced:!0,state:{user:{}},mutations:{setUser:function(e,t){e.user=t,na.get("currUser").then((function(e){na.put({_id:"currUser",_rev:e._rev,user:t})})).catch((function(e){if(404!==e.status)throw e;na.put({_id:"currUser",user:t})}))}}},sa=a("f121"),oa=a.n(sa),ra={namespaced:!0,state:Object(o["a"])(Object(o["a"])({isMobile:!1,animates:a("3148")},oa.a),{},{routesI18n:{}}),mutations:{setDevice:function(e,t){e.isMobile=t},setTheme:function(e,t){e.theme=t},setLayout:function(e,t){e.layout=t},setMultiPage:function(e,t){e.multiPage=t},setAnimate:function(e,t){e.animate=t},setThemeColor:function(e,t){e.themeColor=t},setWeekMode:function(e,t){e.weekMode=t},setFixedHeader:function(e,t){e.fixedHeader=t},setFixedSideBar:function(e,t){e.fixedSideBar=t},setLang:function(e,t){e.lang=t},setRoutesI18n:function(e,t){e.routesI18n=t}}};n["a"].use(h["a"]);var ca=new h["a"].Store({modules:{account:ia,setting:ra}}),la=(a("81ca"),a("a925")),ua={STATEMENTS:"s",PHRASAL:"p"},da={install:function(e){e.mixin({methods:{$ta:function(e,t){var a=t||ua.STATEMENTS,n=e.split("|"),i=this,s=this.$i18n.locale,o="",r="US"==s?" ":"";return n.forEach((function(e){o+=i.$t(e)+r})),n.length>0&&a==ua.STATEMENTS&&"US"==s&&(o=o.charAt(0).toUpperCase()+o.toLowerCase().substring(1)),o}}})}},ha=da,ma={install:function(e){e.use(ha)}},fa=ma;n["a"].prototype.$axios=Tt.a,n["a"].config.productionTip=!1,n["a"].use(It["a"]),n["a"].use(Et["a"]),n["a"].use(la["a"]),n["a"].use(fa);var pa=new la["a"]({locale:"CN",fallbackLocale:"US",silentFallbackWarn:!0});new n["a"]({router:zt,store:ca,i18n:pa,render:function(e){return e(b)},mounted:function(){var e=this,t=new aa["a"]("adminDb");t.get("currUser").then((function(t){e.$store.commit("account/setUser",t.user)}))}}).$mount("#app")},"59d6":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"theme-color",style:{backgroundColor:e.color},on:{click:e.toggle}},[e.sChecked?a("a-icon",{attrs:{type:"check"}}):e._e()],1)},i=[],s=(a("4de4"),a("4160"),a("c975"),a("a9e3"),a("d3b7"),a("159b"),a("ddb0"),{name:"ColorCheckboxGroup",props:{defaultValues:{type:Array,required:!1,default:function(){return[]}},multiple:{type:Boolean,required:!1,default:!1}},data:function(){return{values:[],options:[]}},computed:{colors:function(){var e=[];return this.options.forEach((function(t){t.sChecked&&e.push(t.color)})),e}},provide:function(){return{groupContext:this}},watch:{values:function(){this.$emit("change",this.values,this.colors)},defaultValues:function(e){this.multiple?this.options.forEach((function(t){t.sChecked=e.indexOf(t.value)>-1})):this.options.forEach((function(t){var a=e[0];t.sChecked=a&&a==t.value}))}},methods:{handleChange:function(e){e.checked?this.multiple?this.values.push(e.value):this.options.forEach((function(t){t.value!=e.value&&(t.sChecked=!1)})):this.values=this.values.filter((function(t){return t!==e.value}))}},render:function(e){var t=e("div",{attrs:{style:"clear: both"}});return e("div",{},[this.$slots.default,t])}}),o={name:"ColorCheckbox",Group:s,props:{color:{type:String,required:!0},value:{type:[String,Number],required:!0},checked:{type:Boolean,required:!1,default:!1}},data:function(){return{sChecked:this.initChecked()}},computed:{},inject:["groupContext"],watch:{sChecked:function(){var e={value:this.value,color:this.color,checked:this.sChecked};this.$emit("change",e);var t=this.groupContext;t&&t.handleChange(e)}},created:function(){var e=this.groupContext;e&&e.options.push(this)},methods:{toggle:function(){this.sChecked=!this.sChecked},initChecked:function(){var e=this.groupContext;return e?e.multiple?e.defaultValues.indexOf(this.value)>-1:e.defaultValues[0]==this.value:this.check}}},r=o,c=(a("f1b2"),a("2877")),l=Object(c["a"])(r,n,i,!1,null,"2f0f620e",null);t["a"]=l.exports},"5f66":function(e,t,a){"use strict";var n=a("0da9"),i=a.n(n);i.a},"67fe":function(e,t,a){},"6a08":function(e,t,a){},"6c82":function(e,t,a){},"6db9":function(e,t){Object.defineProperty(Object.prototype,"assignProps",{writable:!1,enumerable:!1,configurable:!0,value:function(e,t){for(var a=this,n=0;n .ant-steps-icon":case".ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon":return":not(.ant-steps-item-process)"+e;case".ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item-open,.ant-menu-horizontal>.ant-menu-item-selected,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu-active,.ant-menu-horizontal>.ant-menu-submenu-open,.ant-menu-horizontal>.ant-menu-submenu-selected,.ant-menu-horizontal>.ant-menu-submenu:hover":case".ant-menu-horizontal > .ant-menu-item-active,.ant-menu-horizontal > .ant-menu-item-open,.ant-menu-horizontal > .ant-menu-item-selected,.ant-menu-horizontal > .ant-menu-item:hover,.ant-menu-horizontal > .ant-menu-submenu-active,.ant-menu-horizontal > .ant-menu-submenu-open,.ant-menu-horizontal > .ant-menu-submenu-selected,.ant-menu-horizontal > .ant-menu-submenu:hover":return".ant-menu-horizontal > .ant-menu-item-active,.ant-menu-horizontal > .ant-menu-item-open,.ant-menu-horizontal > .ant-menu-item-selected,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover,.ant-menu-horizontal > .ant-menu-submenu-active,.ant-menu-horizontal > .ant-menu-submenu-open,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-selected,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu:hover";case".ant-menu-horizontal > .ant-menu-item-selected > a":case".ant-menu-horizontal>.ant-menu-item-selected>a":return".ant-menu-horizontal:not(ant-menu-light):not(.ant-menu-dark) > .ant-menu-item-selected > a";case".ant-menu-horizontal > .ant-menu-item > a:hover":case".ant-menu-horizontal>.ant-menu-item>a:hover":return".ant-menu-horizontal:not(ant-menu-light):not(.ant-menu-dark) > .ant-menu-item > a:hover";default:return e}}}},a08b:function(e,t,a){},a14d:function(e,t,a){"use strict";var n=a("8140"),i=a.n(n);i.a},a5d6:function(e,t,a){"use strict";var n=a("67fe"),i=a.n(n);i.a},bd03:function(e,t,a){},be7f:function(e,t,a){"use strict";var n=a("80b0"),i=a.n(n);i.a},bf50:function(e,t,a){"use strict";var n=a("3693"),i=a.n(n);i.a},d1a0:function(e,t,a){"use strict";var n=a("1742"),i=a.n(n);i.a},d87f:function(e,t){e.exports={messages:{CN:{theme:{title:"整体风格设置",light:"亮色菜单风格",dark:"暗色菜单风格",color:"主题色"},navigate:{title:"导航设置",side:"侧边导航",head:"顶部导航",content:{title:"内容区域宽度",fluid:"流式",fixed:"定宽"},fixedHeader:"固定Header",fixedSideBar:"固定侧边栏"},other:{title:"其他设置",weekMode:"色弱模式",multiPages:"多页签模式"},animate:{title:"页面切换动画",effect:"动画效果",direction:"动画方向"},copy:"拷贝配置"},HK:{theme:{title:"整體風格設置",light:"亮色菜單風格",dark:"暗色菜單風格",color:"主題色"},navigate:{title:"導航設置",side:"側邊導航",head:"頂部導航",content:{title:"內容區域寬度",fluid:"流式",fixed:"定寬"},fixedHeader:"固定Header",fixedSideBar:"固定側邊欄"},other:{title:"其他設置",weekMode:"色弱模式",multiPages:"多頁簽模式"},animate:{title:"頁面切換動畫",effect:"動畫效果",direction:"動畫方向"},copy:"拷貝配置"},US:{theme:{title:"Page Style Setting",light:"Light Style",dark:"Dark Style",color:"Theme Color"},navigate:{title:"Navigation Mode",side:"Side Menu Layout",head:"Top Menu Layout",content:{title:"Content Width",fluid:"Fluid",fixed:"Fixed"},fixedHeader:"Fixed Header",fixedSideBar:"Fixed SideBar"},other:{title:"Other Setting",weekMode:"Week Mode",multiPages:"Multi Pages"},animate:{title:"Page Toggle Animation",effect:"Effect",direction:"Direction"},copy:"Copy Setting"}}}},dba6:function(e,t,a){},dd88:function(e,t,a){"use strict";var n=a("9d05"),i=a.n(n);i.a},ecc2:function(e,t,a){"use strict";var n=a("2082"),i=a.n(n);i.a},ee40:function(e,t,a){},f121:function(e,t){e.exports={lang:"CN",themeColor:"#1890ff",theme:"dark",layout:"side",fixedHeader:!1,fixedSideBar:!0,weekMode:!1,multiPage:!1,systemName:"Vue Antd Admin",copyright:"2018 ICZER 工作室出品",animate:{name:"bounce",direction:"left"},footerLinks:[{link:"https://pro.ant.design",name:"Pro首页"},{link:"https://github.com/iczer/vue-antd-admin",icon:"github"},{link:"https://ant.design",name:"Ant Design"}]}},f1b2:function(e,t,a){"use strict";var n=a("86ab"),i=a.n(n);i.a}}); \ No newline at end of file diff --git a/static/js/chunk-ca53d95a.6169c1b5.js b/static/js/chunk-ca53d95a.6169c1b5.js deleted file mode 100644 index fecb96c..0000000 --- a/static/js/chunk-ca53d95a.6169c1b5.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ca53d95a"],{"02cb":function(t,e,a){},"0e8c":function(t,e,a){},1148:function(t,e,a){"use strict";var n=a("a691"),r=a("1d80");t.exports="".repeat||function(t){var e=String(r(this)),a="",i=n(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(a+=e);return a}},2309:function(t,e,a){},"30ded":function(t,e,a){"use strict";var n=a("e52b"),r=a.n(n);r.a},"408a":function(t,e,a){var n=a("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=n(t))throw TypeError("Incorrect invocation");return+t}},"5a52":function(t,e,a){"use strict";var n=a("02cb"),r=a.n(n);r.a},"607e":function(t,e,a){},"69c6":function(t,e,a){},"6a72":function(t,e){t.exports={messages:{CN:{search:"搜索用户数",capita:"人均搜索次数",rank:"排名",keyword:"搜索关键词",count:"用户数",range:"周涨幅",introduce:"指标说明"},HK:{search:"搜索用戶數",capita:"人均搜索次數",rank:"排名",keyword:"搜索關鍵詞",count:"用戶數",range:"周漲幅",introduce:"指標說明"},US:{search:"Search Users",capita:"Per Capita Search",rank:"Rank",keyword:"Keyword",users:"Users",range:"Weekly Range",introduce:"Introduce"}}}},"6aa0":function(t,e){t.exports={messages:{CN:{introduce:"指标说明",totalSales:"总销售额",visits:"访问量",payments:"支付笔数",operating:"运营活动效果",wow:"同周比",dod:"日环比",sales:"销售额",daily:"日均",day:"今日",week:"本周",month:"本月",year:"本年",search:"热门搜索",proportion:"销售额占比",conversion:"转化率",trend:"趋势",ranking:"排行榜",all:"全渠道",online:"线上",stores:"门店"},HK:{introduce:"指標說明",totalSales:"總銷售額",visits:"訪問量",payments:"支付筆數",operating:"運營活動效果",wow:"通周比",dod:"日環比",sales:"銷售額",daily:"日均",day:"今日",week:"本週",month:"本月",year:"本年",search:"熱門搜索",proportion:"銷售額佔比",conversion:"轉化率",trend:"趨勢",ranking:"排行榜",all:"全渠道",online:"線上",stores:"門店"},US:{introduce:"Introduce",totalSales:"Total Sales",visits:"Visits",payments:"Payments",operating:"Operational Effect",wow:"WoW Change",dod:"DoD Change",sales:"Sales",daily:"Daily",day:"All Day",week:"All Week",month:"All Month",year:"All Year",search:"Hot Search",proportion:"The Proportion Of Sales",conversion:"Conversion Rate",trend:"Trend",ranking:"Ranking",all:"All",online:"Online",stores:"Stores"}}}},"9a55":function(t,e,a){},a92c:function(t,e,a){"use strict";var n=a("0e8c"),r=a.n(n);r.a},b680:function(t,e,a){"use strict";var n=a("23e7"),r=a("a691"),i=a("408a"),o=a("1148"),s=a("d039"),c=1..toFixed,u=Math.floor,l=function(t,e,a){return 0===e?a:e%2===1?l(t,e-1,a*t):l(t*t,e/2,a)},d=function(t){var e=0,a=t;while(a>=4096)e+=12,a/=4096;while(a>=2)e+=1,a/=2;return e},h=c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){c.call({})}));n({target:"Number",proto:!0,forced:h},{toFixed:function(t){var e,a,n,s,c=i(this),h=r(t),f=[0,0,0,0,0,0],m="",g="0",v=function(t,e){var a=-1,n=e;while(++a<6)n+=t*f[a],f[a]=n%1e7,n=u(n/1e7)},p=function(t){var e=6,a=0;while(--e>=0)a+=f[e],f[e]=u(a/t),a=a%t*1e7},w=function(){var t=6,e="";while(--t>=0)if(""!==e||0===t||0!==f[t]){var a=String(f[t]);e=""===e?a:e+o.call("0",7-a.length)+a}return e};if(h<0||h>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(m="-",c=-c),c>1e-21)if(e=d(c*l(2,69,1))-69,a=e<0?c*l(2,-e,1):c/l(2,e,1),a*=4503599627370496,e=52-e,e>0){v(0,a),n=h;while(n>=7)v(1e7,0),n-=7;v(l(10,n,1),0),n=e-1;while(n>=23)p(1<<23),n-=23;p(1<0?(s=g.length,g=m+(s<=h?"0."+o.call("0",h-s)+g:g.slice(0,s-h)+"."+g.slice(s-h))):g=m+g,g}})},b982:function(t,e,a){"use strict";var n=a("2309"),r=a.n(n);r.a},c962:function(t,e,a){"use strict";var n=a("ccda"),r=a.n(n);r.a},ccda:function(t,e,a){},ccfa:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"analysis"},[a("a-row",{attrs:{gutter:[24,24]}},[a("a-col",{attrs:{sm:24,md:12,xl:6}},[a("chart-card",{attrs:{title:t.$t("totalSales"),total:"¥ 189,345"}},[a("a-tooltip",{attrs:{slot:"action",title:t.$t("introduce")},slot:"action"},[a("a-icon",{attrs:{type:"info-circle-o"}})],1),a("div",[a("trend",{staticStyle:{"margin-right":"16px"},attrs:{term:t.$t("wow"),percent:12,"is-increase":!0,scale:0}}),a("trend",{attrs:{term:t.$t("dod"),target:100,value:89,scale:0}})],1),a("div",{attrs:{slot:"footer"},slot:"footer"},[t._v(t._s(t.$ta("daily|sales","p"))),a("span",[t._v(" ¥234.56")])])],1)],1),a("a-col",{attrs:{sm:24,md:12,xl:6}},[a("chart-card",{attrs:{title:t.$t("visits"),total:"¥ 189,345"}},[a("a-tooltip",{attrs:{slot:"action",title:t.$t("introduce")},slot:"action"},[a("a-icon",{attrs:{type:"info-circle-o"}})],1),a("div",[a("mini-area")],1),a("div",{attrs:{slot:"footer"},slot:"footer"},[t._v(t._s(t.$ta("daily|visits","p"))),a("span",[t._v(" 123,4")])])],1)],1),a("a-col",{attrs:{sm:24,md:12,xl:6}},[a("chart-card",{attrs:{title:t.$t("payments"),total:"¥ 189,345"}},[a("a-tooltip",{attrs:{slot:"action",title:t.$t("introduce")},slot:"action"},[a("a-icon",{attrs:{type:"info-circle-o"}})],1),a("div",[a("mini-bar")],1),a("div",{attrs:{slot:"footer"},slot:"footer"},[t._v(t._s(t.$t("conversion"))+" "),a("span",[t._v("60%")])])],1)],1),a("a-col",{attrs:{sm:24,md:12,xl:6}},[a("chart-card",{attrs:{title:t.$t("operating"),total:"73%"}},[a("a-tooltip",{attrs:{slot:"action",title:t.$t("introduce")},slot:"action"},[a("a-icon",{attrs:{type:"info-circle-o"}})],1),a("div",[a("mini-progress",{attrs:{target:"90",percent:"78",color:"#13C2C2",height:"8px"}})],1),a("div",{staticStyle:{"white-space":"nowrap",overflow:"hidden"},attrs:{slot:"footer"},slot:"footer"},[a("trend",{staticStyle:{"margin-right":"16px"},attrs:{term:t.$t("wow"),percent:12,"is-increase":!0,scale:0}}),a("trend",{attrs:{term:t.$t("dod"),target:100,value:89,scale:0}})],1)],1)],1)],1),a("a-card",{staticStyle:{"margin-top":"24px"},attrs:{bordered:!1,"body-style":{padding:"24px"}}},[a("div",{staticClass:"salesCard"},[a("a-tabs",{attrs:{"default-active-key":"1",size:"large","tab-bar-style":{marginBottom:"24px",paddingLeft:"16px"}}},[a("div",{staticClass:"extra-wrap",attrs:{slot:"tabBarExtraContent"},slot:"tabBarExtraContent"},[a("div",{staticClass:"extra-item"},[a("a",[t._v(t._s(t.$t("day")))]),a("a",[t._v(t._s(t.$t("week")))]),a("a",[t._v(t._s(t.$t("month")))]),a("a",[t._v(t._s(t.$t("year")))])]),a("a-range-picker",{style:{width:"256px"}})],1),a("a-tab-pane",{key:"1",attrs:{loading:"true",tab:t.$t("sales")}},[a("a-row",[a("a-col",{attrs:{xl:16,lg:12,md:12,sm:24,xs:24}},[a("bar",{attrs:{title:t.$ta("stores|sales|trend","p")}})],1),a("a-col",{attrs:{xl:8,lg:12,md:12,sm:24,xs:24}},[a("ranking-list",{attrs:{title:t.$ta("stores|sales|ranking","p"),list:t.rankList}})],1)],1)],1),a("a-tab-pane",{key:"2",attrs:{tab:t.$t("visits")}},[a("a-row",[a("a-col",{attrs:{xl:16,lg:12,md:12,sm:24,xs:24}},[a("bar",{attrs:{title:t.$ta("visits|trend","p")}})],1),a("a-col",{attrs:{xl:8,lg:12,md:12,sm:24,xs:24}},[a("ranking-list",{attrs:{title:t.$ta("stores|visits|ranking","p"),list:t.rankList}})],1)],1)],1)],1)],1)]),a("a-row",{staticStyle:{margin:"0 -12px"}},[a("a-col",{staticStyle:{padding:"0 12px"},attrs:{xl:12,lg:24,md:24,sm:24,xs:24}},[a("a-card",{staticStyle:{"margin-top":"24px"},attrs:{bordered:!1,title:t.$t("search")}},[a("hot-search")],1)],1),a("a-col",{staticStyle:{padding:"0 12px"},attrs:{xl:12,lg:24,md:24,sm:24,xs:24}},[a("a-card",{staticStyle:{"margin-top":"24px"},attrs:{bordered:!1,title:t.$t("proportion")}},[a("sales-data"),a("a-radio-group",{staticStyle:{margin:"-12px 0"},attrs:{slot:"extra"},slot:"extra"},[a("a-radio-button",{attrs:{value:"a"}},[t._v(t._s(t.$t("all")))]),a("a-radio-button",{attrs:{value:"b"}},[t._v(t._s(t.$t("online")))]),a("a-radio-button",{attrs:{value:"c"}},[t._v(t._s(t.$t("stores")))])],1)],1)],1)],1)],1)},r=[],i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("a-card",{attrs:{"body-style":{padding:"20px 24px 8px"},bordered:!1}},[a("div",{staticClass:"chart-card-header"},[a("div",{staticClass:"meta"},[a("span",{staticClass:"chart-card-title"},[t._v(t._s(t.title))]),a("span",{staticClass:"chart-card-action"},[t._t("action")],2)]),a("div",{staticClass:"total"},[a("span",[t._v(t._s(t.total))])])]),a("div",{staticClass:"chart-card-content"},[a("div",{staticClass:"content-fix"},[t._t("default")],2)]),a("div",{staticClass:"chart-card-footer"},[t._t("footer")],2)])},o=[],s={name:"ChartCard",props:["title","total"]},c=s,u=(a("eca2"),a("2877")),l=Object(u["a"])(c,i,o,!1,null,"28d40fea",null),d=l.exports,h=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mini-chart"},[a("div",{staticClass:"chart-content",style:{height:46}},[a("v-chart",{attrs:{"force-fit":!0,height:t.height,data:t.data,padding:[36,5,18,5]}},[a("v-tooltip"),a("v-smooth-area",{attrs:{position:"x*y"}})],1)],1)])},f=[];function m(t,e){if(e.length1?"s":"")+" required, but only "+e.length+" present")}function g(t){m(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function v(t){m(1,arguments);var e=g(t);return!isNaN(e)}var p={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function w(t,e,a){var n;return a=a||{},n="string"===typeof p[t]?p[t]:1===e?p[t].one:p[t].other.replace("{{count}}",e),a.addSuffix?a.comparison>0?"in "+n:n+" ago":n}function y(t){return function(e){var a=e||{},n=a.width?String(a.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}var b={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},x={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},C={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},T={date:y({formats:b,defaultWidth:"full"}),time:y({formats:x,defaultWidth:"full"}),dateTime:y({formats:C,defaultWidth:"full"})},k=T,M={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function S(t,e,a,n){return M[t]}function _(t){return function(e,a){var n,r=a||{},i=r.context?String(r.context):"standalone";if("formatting"===i&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,s=r.width?String(r.width):o;n=t.formattingValues[s]||t.formattingValues[o]}else{var c=t.defaultWidth,u=r.width?String(r.width):t.defaultWidth;n=t.values[u]||t.values[c]}var l=t.argumentCallback?t.argumentCallback(e):e;return n[l]}}var D={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},P={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},U={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},E={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},W={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},O={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}};function $(t,e){var a=Number(t),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"}var N={ordinalNumber:$,era:_({values:D,defaultWidth:"wide"}),quarter:_({values:P,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:_({values:U,defaultWidth:"wide"}),day:_({values:E,defaultWidth:"wide"}),dayPeriod:_({values:W,defaultWidth:"wide",formattingValues:O,defaultFormattingWidth:"wide"})},Y=N;function q(t){return function(e,a){var n=String(e),r=a||{},i=n.match(t.matchPattern);if(!i)return null;var o=i[0],s=n.match(t.parsePattern);if(!s)return null;var c=t.valueCallback?t.valueCallback(s[0]):s[0];return c=r.valueCallback?r.valueCallback(c):c,{value:c,rest:n.slice(o.length)}}}function j(t){return function(e,a){var n=String(e),r=a||{},i=r.width,o=i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth],s=n.match(o);if(!s)return null;var c,u=s[0],l=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth];return c="[object Array]"===Object.prototype.toString.call(l)?H(l,(function(t){return t.test(u)})):z(l,(function(t){return t.test(u)})),c=t.valueCallback?t.valueCallback(c):c,c=r.valueCallback?r.valueCallback(c):c,{value:c,rest:n.slice(u.length)}}}function z(t,e){for(var a in t)if(t.hasOwnProperty(a)&&e(t[a]))return a}function H(t,e){for(var a=0;a0?a:1-a;return ot("yy"===e?n%100:n,e.length)},M:function(t,e){var a=t.getUTCMonth();return"M"===e?String(a+1):ot(a+1,2)},d:function(t,e){return ot(t.getUTCDate(),e.length)},a:function(t,e){var a=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":case"aaa":return a.toUpperCase();case"aaaaa":return a[0];case"aaaa":default:return"am"===a?"a.m.":"p.m."}},h:function(t,e){return ot(t.getUTCHours()%12||12,e.length)},H:function(t,e){return ot(t.getUTCHours(),e.length)},m:function(t,e){return ot(t.getUTCMinutes(),e.length)},s:function(t,e){return ot(t.getUTCSeconds(),e.length)},S:function(t,e){var a=e.length,n=t.getUTCMilliseconds(),r=Math.floor(n*Math.pow(10,a-3));return ot(r,e.length)}},ct=st,ut=864e5;function lt(t){m(1,arguments);var e=g(t),a=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var n=e.getTime(),r=a-n;return Math.floor(r/ut)+1}function dt(t){m(1,arguments);var e=1,a=g(t),n=a.getUTCDay(),r=(n=r.getTime()?a+1:e.getTime()>=o.getTime()?a:a-1}function ft(t){m(1,arguments);var e=ht(t),a=new Date(0);a.setUTCFullYear(e,0,4),a.setUTCHours(0,0,0,0);var n=dt(a);return n}var mt=6048e5;function gt(t){m(1,arguments);var e=g(t),a=dt(e).getTime()-ft(e).getTime();return Math.round(a/mt)+1}function vt(t,e){m(1,arguments);var a=e||{},n=a.locale,r=n&&n.options&&n.options.weekStartsOn,i=null==r?0:nt(r),o=null==a.weekStartsOn?i:nt(a.weekStartsOn);if(!(o>=0&&o<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=g(t),c=s.getUTCDay(),u=(c=1&&c<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=new Date(0);u.setUTCFullYear(n+1,0,c),u.setUTCHours(0,0,0,0);var l=vt(u,e),d=new Date(0);d.setUTCFullYear(n,0,c),d.setUTCHours(0,0,0,0);var h=vt(d,e);return a.getTime()>=l.getTime()?n+1:a.getTime()>=h.getTime()?n:n-1}function wt(t,e){m(1,arguments);var a=e||{},n=a.locale,r=n&&n.options&&n.options.firstWeekContainsDate,i=null==r?1:nt(r),o=null==a.firstWeekContainsDate?i:nt(a.firstWeekContainsDate),s=pt(t,e),c=new Date(0);c.setUTCFullYear(s,0,o),c.setUTCHours(0,0,0,0);var u=vt(c,e);return u}var yt=6048e5;function bt(t,e){m(1,arguments);var a=g(t),n=vt(a,e).getTime()-wt(a,e).getTime();return Math.round(n/yt)+1}var xt={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ct={G:function(t,e,a){var n=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return a.era(n,{width:"abbreviated"});case"GGGGG":return a.era(n,{width:"narrow"});case"GGGG":default:return a.era(n,{width:"wide"})}},y:function(t,e,a){if("yo"===e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return a.ordinalNumber(r,{unit:"year"})}return ct.y(t,e)},Y:function(t,e,a,n){var r=pt(t,n),i=r>0?r:1-r;if("YY"===e){var o=i%100;return ot(o,2)}return"Yo"===e?a.ordinalNumber(i,{unit:"year"}):ot(i,e.length)},R:function(t,e){var a=ht(t);return ot(a,e.length)},u:function(t,e){var a=t.getUTCFullYear();return ot(a,e.length)},Q:function(t,e,a){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return ot(n,2);case"Qo":return a.ordinalNumber(n,{unit:"quarter"});case"QQQ":return a.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,a){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return ot(n,2);case"qo":return a.ordinalNumber(n,{unit:"quarter"});case"qqq":return a.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,a){var n=t.getUTCMonth();switch(e){case"M":case"MM":return ct.M(t,e);case"Mo":return a.ordinalNumber(n+1,{unit:"month"});case"MMM":return a.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,a){var n=t.getUTCMonth();switch(e){case"L":return String(n+1);case"LL":return ot(n+1,2);case"Lo":return a.ordinalNumber(n+1,{unit:"month"});case"LLL":return a.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,a,n){var r=bt(t,n);return"wo"===e?a.ordinalNumber(r,{unit:"week"}):ot(r,e.length)},I:function(t,e,a){var n=gt(t);return"Io"===e?a.ordinalNumber(n,{unit:"week"}):ot(n,e.length)},d:function(t,e,a){return"do"===e?a.ordinalNumber(t.getUTCDate(),{unit:"date"}):ct.d(t,e)},D:function(t,e,a){var n=lt(t);return"Do"===e?a.ordinalNumber(n,{unit:"dayOfYear"}):ot(n,e.length)},E:function(t,e,a){var n=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return a.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(n,{width:"short",context:"formatting"});case"EEEE":default:return a.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,a,n){var r=t.getUTCDay(),i=(r-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return ot(i,2);case"eo":return a.ordinalNumber(i,{unit:"day"});case"eee":return a.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(r,{width:"short",context:"formatting"});case"eeee":default:return a.day(r,{width:"wide",context:"formatting"})}},c:function(t,e,a,n){var r=t.getUTCDay(),i=(r-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return ot(i,e.length);case"co":return a.ordinalNumber(i,{unit:"day"});case"ccc":return a.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(r,{width:"narrow",context:"standalone"});case"cccccc":return a.day(r,{width:"short",context:"standalone"});case"cccc":default:return a.day(r,{width:"wide",context:"standalone"})}},i:function(t,e,a){var n=t.getUTCDay(),r=0===n?7:n;switch(e){case"i":return String(r);case"ii":return ot(r,e.length);case"io":return a.ordinalNumber(r,{unit:"day"});case"iii":return a.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(n,{width:"short",context:"formatting"});case"iiii":default:return a.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,a){var n=t.getUTCHours(),r=n/12>=1?"pm":"am";switch(e){case"a":case"aa":case"aaa":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaaaa":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,a){var n,r=t.getUTCHours();switch(n=12===r?xt.noon:0===r?xt.midnight:r/12>=1?"pm":"am",e){case"b":case"bb":case"bbb":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbbbb":return a.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(t,e,a){var n,r=t.getUTCHours();switch(n=r>=17?xt.evening:r>=12?xt.afternoon:r>=4?xt.morning:xt.night,e){case"B":case"BB":case"BBB":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(t,e,a){if("ho"===e){var n=t.getUTCHours()%12;return 0===n&&(n=12),a.ordinalNumber(n,{unit:"hour"})}return ct.h(t,e)},H:function(t,e,a){return"Ho"===e?a.ordinalNumber(t.getUTCHours(),{unit:"hour"}):ct.H(t,e)},K:function(t,e,a){var n=t.getUTCHours()%12;return"Ko"===e?a.ordinalNumber(n,{unit:"hour"}):ot(n,e.length)},k:function(t,e,a){var n=t.getUTCHours();return 0===n&&(n=24),"ko"===e?a.ordinalNumber(n,{unit:"hour"}):ot(n,e.length)},m:function(t,e,a){return"mo"===e?a.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):ct.m(t,e)},s:function(t,e,a){return"so"===e?a.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):ct.s(t,e)},S:function(t,e){return ct.S(t,e)},X:function(t,e,a,n){var r=n._originalDate||t,i=r.getTimezoneOffset();if(0===i)return"Z";switch(e){case"X":return kt(i);case"XXXX":case"XX":return Mt(i);case"XXXXX":case"XXX":default:return Mt(i,":")}},x:function(t,e,a,n){var r=n._originalDate||t,i=r.getTimezoneOffset();switch(e){case"x":return kt(i);case"xxxx":case"xx":return Mt(i);case"xxxxx":case"xxx":default:return Mt(i,":")}},O:function(t,e,a,n){var r=n._originalDate||t,i=r.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Tt(i,":");case"OOOO":default:return"GMT"+Mt(i,":")}},z:function(t,e,a,n){var r=n._originalDate||t,i=r.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Tt(i,":");case"zzzz":default:return"GMT"+Mt(i,":")}},t:function(t,e,a,n){var r=n._originalDate||t,i=Math.floor(r.getTime()/1e3);return ot(i,e.length)},T:function(t,e,a,n){var r=n._originalDate||t,i=r.getTime();return ot(i,e.length)}};function Tt(t,e){var a=t>0?"-":"+",n=Math.abs(t),r=Math.floor(n/60),i=n%60;if(0===i)return a+String(r);var o=e||"";return a+String(r)+o+ot(i,2)}function kt(t,e){if(t%60===0){var a=t>0?"-":"+";return a+ot(Math.abs(t)/60,2)}return Mt(t,e)}function Mt(t,e){var a=e||"",n=t>0?"-":"+",r=Math.abs(t),i=ot(Math.floor(r/60),2),o=ot(r%60,2);return n+i+a+o}var St=Ct;function _t(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}}function Dt(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}}function Pt(t,e){var a,n=t.match(/(P+)(p+)?/),r=n[1],i=n[2];if(!i)return _t(t,e);switch(r){case"P":a=e.dateTime({width:"short"});break;case"PP":a=e.dateTime({width:"medium"});break;case"PPP":a=e.dateTime({width:"long"});break;case"PPPP":default:a=e.dateTime({width:"full"});break}return a.replace("{{date}}",_t(r,e)).replace("{{time}}",Dt(i,e))}var Ut={p:Dt,P:Pt},Et=Ut,Wt=6e4;function Ot(t){return t.getTime()%Wt}function $t(t){var e=new Date(t.getTime()),a=Math.ceil(e.getTimezoneOffset());e.setSeconds(0,0);var n=a>0,r=n?(Wt+Ot(e))%Wt:Ot(e);return a*Wt+r}var Nt=["D","DD"],Yt=["YY","YYYY"];function qt(t){return-1!==Nt.indexOf(t)}function jt(t){return-1!==Yt.indexOf(t)}function zt(t){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` for formatting years; see: https://git.io/fxCyr");if("YY"===t)throw new RangeError("Use `yy` instead of `YY` for formatting years; see: https://git.io/fxCyr");if("D"===t)throw new RangeError("Use `d` instead of `D` for formatting days of the month; see: https://git.io/fxCyr");if("DD"===t)throw new RangeError("Use `dd` instead of `DD` for formatting days of the month; see: https://git.io/fxCyr")}var Ht=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ft=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Bt=/^'([^]*?)'?$/,Lt=/''/g,Rt=/[a-zA-Z]/;function Xt(t,e,a){m(2,arguments);var n=String(e),r=a||{},i=r.locale||at,o=i.options&&i.options.firstWeekContainsDate,s=null==o?1:nt(o),c=null==r.firstWeekContainsDate?s:nt(r.firstWeekContainsDate);if(!(c>=1&&c<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=i.options&&i.options.weekStartsOn,l=null==u?0:nt(u),d=null==r.weekStartsOn?l:nt(r.weekStartsOn);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!i.localize)throw new RangeError("locale must contain localize property");if(!i.formatLong)throw new RangeError("locale must contain formatLong property");var h=g(t);if(!v(h))throw new RangeError("Invalid time value");var f=$t(h),p=it(h,f),w={firstWeekContainsDate:c,weekStartsOn:d,locale:i,_originalDate:h},y=n.match(Ft).map((function(t){var e=t[0];if("p"===e||"P"===e){var a=Et[e];return a(t,i.formatLong,w)}return t})).join("").match(Ht).map((function(t){if("''"===t)return"'";var e=t[0];if("'"===e)return At(t);var a=St[e];if(a)return!r.useAdditionalWeekYearTokens&&jt(t)&&zt(t),!r.useAdditionalDayOfYearTokens&&qt(t)&&zt(t),a(p,t,i.localize,w);if(e.match(Rt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return t})).join("");return y}function At(t){return t.match(Bt)[1].replace(Lt,"'")}for(var Qt=[],Gt=(new Date).getTime(),It=[7,5,4,2,4,7,5,6,5,9,6,3,1,5,3,6,5],Kt=0;Kt=this.target:this.isIncrease;return t?"up":"down"}}}),oa=ia,sa=(a("a92c"),Object(u["a"])(oa,na,ra,!1,null,"33e52b0e",null)),ca=sa.exports,ua=[],la=0;la<8;la++)ua.push({name:"桃源村"+la+"号店",total:1234.56-100*la});var da={name:"analysis",i18n:a("6aa0"),data:function(){return{rankList:ua}},components:{Trend:ca,SalesData:aa,HotSearch:Xe,RankingList:Ye,Bar:Ue,MiniProgress:be,MiniBar:me,MiniArea:ae,ChartCard:d}},ha=da,fa=(a("eafd"),Object(u["a"])(ha,n,r,!1,null,"05290de3",null));e["default"]=fa.exports},e258:function(t,e,a){"use strict";var n=a("69c6"),r=a.n(n);r.a},e52b:function(t,e,a){},eafd:function(t,e,a){"use strict";var n=a("607e"),r=a.n(n);r.a},eca2:function(t,e,a){"use strict";var n=a("9a55"),r=a.n(n);r.a}}]); \ No newline at end of file diff --git a/static/js/chunk-da61332e.217c33af.js b/static/js/chunk-da61332e.217c33af.js new file mode 100644 index 0000000..0dc5998 --- /dev/null +++ b/static/js/chunk-da61332e.217c33af.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-da61332e"],{"0270":function(t,e,a){"use strict";var n=a("7e4c"),r=a.n(n);r.a},"02cb":function(t,e,a){},"0e8c":function(t,e,a){},1148:function(t,e,a){"use strict";var n=a("a691"),r=a("1d80");t.exports="".repeat||function(t){var e=String(r(this)),a="",i=n(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(a+=e);return a}},2309:function(t,e,a){},"30ded":function(t,e,a){"use strict";var n=a("e52b"),r=a.n(n);r.a},"408a":function(t,e,a){var n=a("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=n(t))throw TypeError("Incorrect invocation");return+t}},"5a52":function(t,e,a){"use strict";var n=a("02cb"),r=a.n(n);r.a},"69c6":function(t,e,a){},"6a72":function(t,e){t.exports={messages:{CN:{search:"搜索用户数",capita:"人均搜索次数",rank:"排名",keyword:"搜索关键词",count:"用户数",range:"周涨幅",introduce:"指标说明"},HK:{search:"搜索用戶數",capita:"人均搜索次數",rank:"排名",keyword:"搜索關鍵詞",count:"用戶數",range:"周漲幅",introduce:"指標說明"},US:{search:"Search Users",capita:"Per Capita Search",rank:"Rank",keyword:"Keyword",users:"Users",range:"Weekly Range",introduce:"Introduce"}}}},"6aa0":function(t,e){t.exports={messages:{CN:{introduce:"指标说明",totalSales:"总销售额",visits:"访问量",payments:"支付笔数",operating:"运营活动效果",wow:"同周比",dod:"日环比",sales:"销售额",daily:"日均",day:"今日",week:"本周",month:"本月",year:"本年",search:"热门搜索",proportion:"销售额占比",conversion:"转化率",trend:"趋势",ranking:"排行榜",all:"全渠道",online:"线上",stores:"门店"},HK:{introduce:"指標說明",totalSales:"總銷售額",visits:"訪問量",payments:"支付筆數",operating:"運營活動效果",wow:"通周比",dod:"日環比",sales:"銷售額",daily:"日均",day:"今日",week:"本週",month:"本月",year:"本年",search:"熱門搜索",proportion:"銷售額佔比",conversion:"轉化率",trend:"趨勢",ranking:"排行榜",all:"全渠道",online:"線上",stores:"門店"},US:{introduce:"Introduce",totalSales:"Total Sales",visits:"Visits",payments:"Payments",operating:"Operational Effect",wow:"WoW Change",dod:"DoD Change",sales:"Sales",daily:"Daily",day:"All Day",week:"All Week",month:"All Month",year:"All Year",search:"Hot Search",proportion:"The Proportion Of Sales",conversion:"Conversion Rate",trend:"Trend",ranking:"Ranking",all:"All",online:"Online",stores:"Stores"}}}},"7e4c":function(t,e,a){},"9a55":function(t,e,a){},a92c:function(t,e,a){"use strict";var n=a("0e8c"),r=a.n(n);r.a},b680:function(t,e,a){"use strict";var n=a("23e7"),r=a("a691"),i=a("408a"),o=a("1148"),s=a("d039"),c=1..toFixed,u=Math.floor,l=function(t,e,a){return 0===e?a:e%2===1?l(t,e-1,a*t):l(t*t,e/2,a)},d=function(t){var e=0,a=t;while(a>=4096)e+=12,a/=4096;while(a>=2)e+=1,a/=2;return e},h=c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){c.call({})}));n({target:"Number",proto:!0,forced:h},{toFixed:function(t){var e,a,n,s,c=i(this),h=r(t),f=[0,0,0,0,0,0],m="",g="0",v=function(t,e){var a=-1,n=e;while(++a<6)n+=t*f[a],f[a]=n%1e7,n=u(n/1e7)},p=function(t){var e=6,a=0;while(--e>=0)a+=f[e],f[e]=u(a/t),a=a%t*1e7},w=function(){var t=6,e="";while(--t>=0)if(""!==e||0===t||0!==f[t]){var a=String(f[t]);e=""===e?a:e+o.call("0",7-a.length)+a}return e};if(h<0||h>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(m="-",c=-c),c>1e-21)if(e=d(c*l(2,69,1))-69,a=e<0?c*l(2,-e,1):c/l(2,e,1),a*=4503599627370496,e=52-e,e>0){v(0,a),n=h;while(n>=7)v(1e7,0),n-=7;v(l(10,n,1),0),n=e-1;while(n>=23)p(1<<23),n-=23;p(1<0?(s=g.length,g=m+(s<=h?"0."+o.call("0",h-s)+g:g.slice(0,s-h)+"."+g.slice(s-h))):g=m+g,g}})},b982:function(t,e,a){"use strict";var n=a("2309"),r=a.n(n);r.a},c962:function(t,e,a){"use strict";var n=a("ccda"),r=a.n(n);r.a},ccda:function(t,e,a){},ccfa:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"analysis"},[a("a-row",{attrs:{gutter:[24,24]}},[a("a-col",{attrs:{sm:24,md:12,xl:6}},[a("chart-card",{attrs:{title:t.$t("totalSales"),total:"¥ 189,345"}},[a("a-tooltip",{attrs:{slot:"action",title:t.$t("introduce")},slot:"action"},[a("a-icon",{attrs:{type:"info-circle-o"}})],1),a("div",[a("trend",{staticStyle:{"margin-right":"16px"},attrs:{term:t.$t("wow"),percent:12,"is-increase":!0,scale:0}}),a("trend",{attrs:{term:t.$t("dod"),target:100,value:89,scale:0}})],1),a("div",{attrs:{slot:"footer"},slot:"footer"},[t._v(t._s(t.$ta("daily|sales","p"))),a("span",[t._v(" ¥234.56")])])],1)],1),a("a-col",{attrs:{sm:24,md:12,xl:6}},[a("chart-card",{attrs:{title:t.$t("visits"),total:"¥ 189,345"}},[a("a-tooltip",{attrs:{slot:"action",title:t.$t("introduce")},slot:"action"},[a("a-icon",{attrs:{type:"info-circle-o"}})],1),a("div",[a("mini-area")],1),a("div",{attrs:{slot:"footer"},slot:"footer"},[t._v(t._s(t.$ta("daily|visits","p"))),a("span",[t._v(" 123,4")])])],1)],1),a("a-col",{attrs:{sm:24,md:12,xl:6}},[a("chart-card",{attrs:{title:t.$t("payments"),total:"¥ 189,345"}},[a("a-tooltip",{attrs:{slot:"action",title:t.$t("introduce")},slot:"action"},[a("a-icon",{attrs:{type:"info-circle-o"}})],1),a("div",[a("mini-bar")],1),a("div",{attrs:{slot:"footer"},slot:"footer"},[t._v(t._s(t.$t("conversion"))+" "),a("span",[t._v("60%")])])],1)],1),a("a-col",{attrs:{sm:24,md:12,xl:6}},[a("chart-card",{attrs:{title:t.$t("operating"),total:"73%"}},[a("a-tooltip",{attrs:{slot:"action",title:t.$t("introduce")},slot:"action"},[a("a-icon",{attrs:{type:"info-circle-o"}})],1),a("div",[a("mini-progress",{attrs:{target:"90",percent:"78",color:"#13C2C2",height:"8px"}})],1),a("div",{staticStyle:{"white-space":"nowrap",overflow:"hidden"},attrs:{slot:"footer"},slot:"footer"},[a("trend",{staticStyle:{"margin-right":"16px"},attrs:{term:t.$t("wow"),percent:12,"is-increase":!0,scale:0}}),a("trend",{attrs:{term:t.$t("dod"),target:100,value:89,scale:0}})],1)],1)],1)],1),a("a-card",{staticStyle:{"margin-top":"24px"},attrs:{bordered:!1,"body-style":{padding:"24px"}}},[a("div",{staticClass:"salesCard"},[a("a-tabs",{attrs:{"default-active-key":"1",size:"large","tab-bar-style":{marginBottom:"24px",paddingLeft:"16px"}}},[a("div",{staticClass:"extra-wrap",attrs:{slot:"tabBarExtraContent"},slot:"tabBarExtraContent"},[a("div",{staticClass:"extra-item"},[a("a",[t._v(t._s(t.$t("day")))]),a("a",[t._v(t._s(t.$t("week")))]),a("a",[t._v(t._s(t.$t("month")))]),a("a",[t._v(t._s(t.$t("year")))])]),a("a-range-picker",{style:{width:"256px"}})],1),a("a-tab-pane",{key:"1",attrs:{loading:"true",tab:t.$t("sales")}},[a("a-row",[a("a-col",{attrs:{xl:16,lg:12,md:12,sm:24,xs:24}},[a("bar",{attrs:{title:t.$ta("stores|sales|trend","p")}})],1),a("a-col",{attrs:{xl:8,lg:12,md:12,sm:24,xs:24}},[a("ranking-list",{attrs:{title:t.$ta("stores|sales|ranking","p"),list:t.rankList}})],1)],1)],1),a("a-tab-pane",{key:"2",attrs:{tab:t.$t("visits")}},[a("a-row",[a("a-col",{attrs:{xl:16,lg:12,md:12,sm:24,xs:24}},[a("bar",{attrs:{title:t.$ta("visits|trend","p")}})],1),a("a-col",{attrs:{xl:8,lg:12,md:12,sm:24,xs:24}},[a("ranking-list",{attrs:{title:t.$ta("stores|visits|ranking","p"),list:t.rankList}})],1)],1)],1)],1)],1)]),a("a-row",{staticStyle:{margin:"0 -12px"}},[a("a-col",{staticStyle:{padding:"0 12px"},attrs:{xl:12,lg:24,md:24,sm:24,xs:24}},[a("a-card",{staticStyle:{"margin-top":"24px"},attrs:{bordered:!1,title:t.$t("search")}},[a("hot-search")],1)],1),a("a-col",{staticStyle:{padding:"0 12px"},attrs:{xl:12,lg:24,md:24,sm:24,xs:24}},[a("a-card",{staticStyle:{"margin-top":"24px"},attrs:{bordered:!1,title:t.$t("proportion")}},[a("sales-data"),a("a-radio-group",{staticStyle:{margin:"-12px 0"},attrs:{slot:"extra"},slot:"extra"},[a("a-radio-button",{attrs:{value:"a"}},[t._v(t._s(t.$t("all")))]),a("a-radio-button",{attrs:{value:"b"}},[t._v(t._s(t.$t("online")))]),a("a-radio-button",{attrs:{value:"c"}},[t._v(t._s(t.$t("stores")))])],1)],1)],1)],1)],1)},r=[],i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("a-card",{attrs:{"body-style":{padding:"20px 24px 8px"},bordered:!1}},[a("div",{staticClass:"chart-card-header"},[a("div",{staticClass:"meta"},[a("span",{staticClass:"chart-card-title"},[t._v(t._s(t.title))]),a("span",{staticClass:"chart-card-action"},[t._t("action")],2)]),a("div",{staticClass:"total"},[a("span",[t._v(t._s(t.total))])])]),a("div",{staticClass:"chart-card-content"},[a("div",{staticClass:"content-fix"},[t._t("default")],2)]),a("div",{staticClass:"chart-card-footer"},[t._t("footer")],2)])},o=[],s={name:"ChartCard",props:["title","total"]},c=s,u=(a("eca2"),a("2877")),l=Object(u["a"])(c,i,o,!1,null,"28d40fea",null),d=l.exports,h=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mini-chart"},[a("div",{staticClass:"chart-content",style:{height:46}},[a("v-chart",{attrs:{"force-fit":!0,height:t.height,data:t.data,padding:[36,5,18,5]}},[a("v-tooltip"),a("v-smooth-area",{attrs:{position:"x*y"}})],1)],1)])},f=[];function m(t,e){if(e.length1?"s":"")+" required, but only "+e.length+" present")}function g(t){m(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function v(t){m(1,arguments);var e=g(t);return!isNaN(e)}var p={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function w(t,e,a){var n;return a=a||{},n="string"===typeof p[t]?p[t]:1===e?p[t].one:p[t].other.replace("{{count}}",e),a.addSuffix?a.comparison>0?"in "+n:n+" ago":n}function y(t){return function(e){var a=e||{},n=a.width?String(a.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}var b={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},x={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},C={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},T={date:y({formats:b,defaultWidth:"full"}),time:y({formats:x,defaultWidth:"full"}),dateTime:y({formats:C,defaultWidth:"full"})},k=T,M={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function S(t,e,a,n){return M[t]}function _(t){return function(e,a){var n,r=a||{},i=r.context?String(r.context):"standalone";if("formatting"===i&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,s=r.width?String(r.width):o;n=t.formattingValues[s]||t.formattingValues[o]}else{var c=t.defaultWidth,u=r.width?String(r.width):t.defaultWidth;n=t.values[u]||t.values[c]}var l=t.argumentCallback?t.argumentCallback(e):e;return n[l]}}var D={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},P={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},U={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},E={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},W={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},O={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}};function $(t,e){var a=Number(t),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"}var N={ordinalNumber:$,era:_({values:D,defaultWidth:"wide"}),quarter:_({values:P,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:_({values:U,defaultWidth:"wide"}),day:_({values:E,defaultWidth:"wide"}),dayPeriod:_({values:W,defaultWidth:"wide",formattingValues:O,defaultFormattingWidth:"wide"})},Y=N;function q(t){return function(e,a){var n=String(e),r=a||{},i=n.match(t.matchPattern);if(!i)return null;var o=i[0],s=n.match(t.parsePattern);if(!s)return null;var c=t.valueCallback?t.valueCallback(s[0]):s[0];return c=r.valueCallback?r.valueCallback(c):c,{value:c,rest:n.slice(o.length)}}}function j(t){return function(e,a){var n=String(e),r=a||{},i=r.width,o=i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth],s=n.match(o);if(!s)return null;var c,u=s[0],l=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth];return c="[object Array]"===Object.prototype.toString.call(l)?H(l,(function(t){return t.test(u)})):z(l,(function(t){return t.test(u)})),c=t.valueCallback?t.valueCallback(c):c,c=r.valueCallback?r.valueCallback(c):c,{value:c,rest:n.slice(u.length)}}}function z(t,e){for(var a in t)if(t.hasOwnProperty(a)&&e(t[a]))return a}function H(t,e){for(var a=0;a0?a:1-a;return ot("yy"===e?n%100:n,e.length)},M:function(t,e){var a=t.getUTCMonth();return"M"===e?String(a+1):ot(a+1,2)},d:function(t,e){return ot(t.getUTCDate(),e.length)},a:function(t,e){var a=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":case"aaa":return a.toUpperCase();case"aaaaa":return a[0];case"aaaa":default:return"am"===a?"a.m.":"p.m."}},h:function(t,e){return ot(t.getUTCHours()%12||12,e.length)},H:function(t,e){return ot(t.getUTCHours(),e.length)},m:function(t,e){return ot(t.getUTCMinutes(),e.length)},s:function(t,e){return ot(t.getUTCSeconds(),e.length)},S:function(t,e){var a=e.length,n=t.getUTCMilliseconds(),r=Math.floor(n*Math.pow(10,a-3));return ot(r,e.length)}},ct=st,ut=864e5;function lt(t){m(1,arguments);var e=g(t),a=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var n=e.getTime(),r=a-n;return Math.floor(r/ut)+1}function dt(t){m(1,arguments);var e=1,a=g(t),n=a.getUTCDay(),r=(n=r.getTime()?a+1:e.getTime()>=o.getTime()?a:a-1}function ft(t){m(1,arguments);var e=ht(t),a=new Date(0);a.setUTCFullYear(e,0,4),a.setUTCHours(0,0,0,0);var n=dt(a);return n}var mt=6048e5;function gt(t){m(1,arguments);var e=g(t),a=dt(e).getTime()-ft(e).getTime();return Math.round(a/mt)+1}function vt(t,e){m(1,arguments);var a=e||{},n=a.locale,r=n&&n.options&&n.options.weekStartsOn,i=null==r?0:nt(r),o=null==a.weekStartsOn?i:nt(a.weekStartsOn);if(!(o>=0&&o<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=g(t),c=s.getUTCDay(),u=(c=1&&c<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=new Date(0);u.setUTCFullYear(n+1,0,c),u.setUTCHours(0,0,0,0);var l=vt(u,e),d=new Date(0);d.setUTCFullYear(n,0,c),d.setUTCHours(0,0,0,0);var h=vt(d,e);return a.getTime()>=l.getTime()?n+1:a.getTime()>=h.getTime()?n:n-1}function wt(t,e){m(1,arguments);var a=e||{},n=a.locale,r=n&&n.options&&n.options.firstWeekContainsDate,i=null==r?1:nt(r),o=null==a.firstWeekContainsDate?i:nt(a.firstWeekContainsDate),s=pt(t,e),c=new Date(0);c.setUTCFullYear(s,0,o),c.setUTCHours(0,0,0,0);var u=vt(c,e);return u}var yt=6048e5;function bt(t,e){m(1,arguments);var a=g(t),n=vt(a,e).getTime()-wt(a,e).getTime();return Math.round(n/yt)+1}var xt={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ct={G:function(t,e,a){var n=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return a.era(n,{width:"abbreviated"});case"GGGGG":return a.era(n,{width:"narrow"});case"GGGG":default:return a.era(n,{width:"wide"})}},y:function(t,e,a){if("yo"===e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return a.ordinalNumber(r,{unit:"year"})}return ct.y(t,e)},Y:function(t,e,a,n){var r=pt(t,n),i=r>0?r:1-r;if("YY"===e){var o=i%100;return ot(o,2)}return"Yo"===e?a.ordinalNumber(i,{unit:"year"}):ot(i,e.length)},R:function(t,e){var a=ht(t);return ot(a,e.length)},u:function(t,e){var a=t.getUTCFullYear();return ot(a,e.length)},Q:function(t,e,a){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return ot(n,2);case"Qo":return a.ordinalNumber(n,{unit:"quarter"});case"QQQ":return a.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,a){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return ot(n,2);case"qo":return a.ordinalNumber(n,{unit:"quarter"});case"qqq":return a.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,a){var n=t.getUTCMonth();switch(e){case"M":case"MM":return ct.M(t,e);case"Mo":return a.ordinalNumber(n+1,{unit:"month"});case"MMM":return a.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,a){var n=t.getUTCMonth();switch(e){case"L":return String(n+1);case"LL":return ot(n+1,2);case"Lo":return a.ordinalNumber(n+1,{unit:"month"});case"LLL":return a.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,a,n){var r=bt(t,n);return"wo"===e?a.ordinalNumber(r,{unit:"week"}):ot(r,e.length)},I:function(t,e,a){var n=gt(t);return"Io"===e?a.ordinalNumber(n,{unit:"week"}):ot(n,e.length)},d:function(t,e,a){return"do"===e?a.ordinalNumber(t.getUTCDate(),{unit:"date"}):ct.d(t,e)},D:function(t,e,a){var n=lt(t);return"Do"===e?a.ordinalNumber(n,{unit:"dayOfYear"}):ot(n,e.length)},E:function(t,e,a){var n=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return a.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(n,{width:"short",context:"formatting"});case"EEEE":default:return a.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,a,n){var r=t.getUTCDay(),i=(r-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return ot(i,2);case"eo":return a.ordinalNumber(i,{unit:"day"});case"eee":return a.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(r,{width:"short",context:"formatting"});case"eeee":default:return a.day(r,{width:"wide",context:"formatting"})}},c:function(t,e,a,n){var r=t.getUTCDay(),i=(r-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return ot(i,e.length);case"co":return a.ordinalNumber(i,{unit:"day"});case"ccc":return a.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(r,{width:"narrow",context:"standalone"});case"cccccc":return a.day(r,{width:"short",context:"standalone"});case"cccc":default:return a.day(r,{width:"wide",context:"standalone"})}},i:function(t,e,a){var n=t.getUTCDay(),r=0===n?7:n;switch(e){case"i":return String(r);case"ii":return ot(r,e.length);case"io":return a.ordinalNumber(r,{unit:"day"});case"iii":return a.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(n,{width:"short",context:"formatting"});case"iiii":default:return a.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,a){var n=t.getUTCHours(),r=n/12>=1?"pm":"am";switch(e){case"a":case"aa":case"aaa":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaaaa":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,a){var n,r=t.getUTCHours();switch(n=12===r?xt.noon:0===r?xt.midnight:r/12>=1?"pm":"am",e){case"b":case"bb":case"bbb":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbbbb":return a.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(t,e,a){var n,r=t.getUTCHours();switch(n=r>=17?xt.evening:r>=12?xt.afternoon:r>=4?xt.morning:xt.night,e){case"B":case"BB":case"BBB":return a.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(t,e,a){if("ho"===e){var n=t.getUTCHours()%12;return 0===n&&(n=12),a.ordinalNumber(n,{unit:"hour"})}return ct.h(t,e)},H:function(t,e,a){return"Ho"===e?a.ordinalNumber(t.getUTCHours(),{unit:"hour"}):ct.H(t,e)},K:function(t,e,a){var n=t.getUTCHours()%12;return"Ko"===e?a.ordinalNumber(n,{unit:"hour"}):ot(n,e.length)},k:function(t,e,a){var n=t.getUTCHours();return 0===n&&(n=24),"ko"===e?a.ordinalNumber(n,{unit:"hour"}):ot(n,e.length)},m:function(t,e,a){return"mo"===e?a.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):ct.m(t,e)},s:function(t,e,a){return"so"===e?a.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):ct.s(t,e)},S:function(t,e){return ct.S(t,e)},X:function(t,e,a,n){var r=n._originalDate||t,i=r.getTimezoneOffset();if(0===i)return"Z";switch(e){case"X":return kt(i);case"XXXX":case"XX":return Mt(i);case"XXXXX":case"XXX":default:return Mt(i,":")}},x:function(t,e,a,n){var r=n._originalDate||t,i=r.getTimezoneOffset();switch(e){case"x":return kt(i);case"xxxx":case"xx":return Mt(i);case"xxxxx":case"xxx":default:return Mt(i,":")}},O:function(t,e,a,n){var r=n._originalDate||t,i=r.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+Tt(i,":");case"OOOO":default:return"GMT"+Mt(i,":")}},z:function(t,e,a,n){var r=n._originalDate||t,i=r.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+Tt(i,":");case"zzzz":default:return"GMT"+Mt(i,":")}},t:function(t,e,a,n){var r=n._originalDate||t,i=Math.floor(r.getTime()/1e3);return ot(i,e.length)},T:function(t,e,a,n){var r=n._originalDate||t,i=r.getTime();return ot(i,e.length)}};function Tt(t,e){var a=t>0?"-":"+",n=Math.abs(t),r=Math.floor(n/60),i=n%60;if(0===i)return a+String(r);var o=e||"";return a+String(r)+o+ot(i,2)}function kt(t,e){if(t%60===0){var a=t>0?"-":"+";return a+ot(Math.abs(t)/60,2)}return Mt(t,e)}function Mt(t,e){var a=e||"",n=t>0?"-":"+",r=Math.abs(t),i=ot(Math.floor(r/60),2),o=ot(r%60,2);return n+i+a+o}var St=Ct;function _t(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}}function Dt(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}}function Pt(t,e){var a,n=t.match(/(P+)(p+)?/),r=n[1],i=n[2];if(!i)return _t(t,e);switch(r){case"P":a=e.dateTime({width:"short"});break;case"PP":a=e.dateTime({width:"medium"});break;case"PPP":a=e.dateTime({width:"long"});break;case"PPPP":default:a=e.dateTime({width:"full"});break}return a.replace("{{date}}",_t(r,e)).replace("{{time}}",Dt(i,e))}var Ut={p:Dt,P:Pt},Et=Ut,Wt=6e4;function Ot(t){return t.getTime()%Wt}function $t(t){var e=new Date(t.getTime()),a=Math.ceil(e.getTimezoneOffset());e.setSeconds(0,0);var n=a>0,r=n?(Wt+Ot(e))%Wt:Ot(e);return a*Wt+r}var Nt=["D","DD"],Yt=["YY","YYYY"];function qt(t){return-1!==Nt.indexOf(t)}function jt(t){return-1!==Yt.indexOf(t)}function zt(t){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` for formatting years; see: https://git.io/fxCyr");if("YY"===t)throw new RangeError("Use `yy` instead of `YY` for formatting years; see: https://git.io/fxCyr");if("D"===t)throw new RangeError("Use `d` instead of `D` for formatting days of the month; see: https://git.io/fxCyr");if("DD"===t)throw new RangeError("Use `dd` instead of `DD` for formatting days of the month; see: https://git.io/fxCyr")}var Ht=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ft=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Bt=/^'([^]*?)'?$/,Lt=/''/g,Rt=/[a-zA-Z]/;function Xt(t,e,a){m(2,arguments);var n=String(e),r=a||{},i=r.locale||at,o=i.options&&i.options.firstWeekContainsDate,s=null==o?1:nt(o),c=null==r.firstWeekContainsDate?s:nt(r.firstWeekContainsDate);if(!(c>=1&&c<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=i.options&&i.options.weekStartsOn,l=null==u?0:nt(u),d=null==r.weekStartsOn?l:nt(r.weekStartsOn);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!i.localize)throw new RangeError("locale must contain localize property");if(!i.formatLong)throw new RangeError("locale must contain formatLong property");var h=g(t);if(!v(h))throw new RangeError("Invalid time value");var f=$t(h),p=it(h,f),w={firstWeekContainsDate:c,weekStartsOn:d,locale:i,_originalDate:h},y=n.match(Ft).map((function(t){var e=t[0];if("p"===e||"P"===e){var a=Et[e];return a(t,i.formatLong,w)}return t})).join("").match(Ht).map((function(t){if("''"===t)return"'";var e=t[0];if("'"===e)return At(t);var a=St[e];if(a)return!r.useAdditionalWeekYearTokens&&jt(t)&&zt(t),!r.useAdditionalDayOfYearTokens&&qt(t)&&zt(t),a(p,t,i.localize,w);if(e.match(Rt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return t})).join("");return y}function At(t){return t.match(Bt)[1].replace(Lt,"'")}for(var Qt=[],Gt=(new Date).getTime(),It=[7,5,4,2,4,7,5,6,5,9,6,3,1,5,3,6,5],Kt=0;Kt=this.target:this.isIncrease;return t?"up":"down"}}}),oa=ia,sa=(a("a92c"),Object(u["a"])(oa,na,ra,!1,null,"33e52b0e",null)),ca=sa.exports,ua=[],la=0;la<8;la++)ua.push({name:"桃源村"+la+"号店",total:1234.56-100*la});var da={name:"analysis",i18n:a("6aa0"),data:function(){return{rankList:ua}},components:{Trend:ca,SalesData:aa,HotSearch:Xe,RankingList:Ye,Bar:Ue,MiniProgress:be,MiniBar:me,MiniArea:ae,ChartCard:d}},ha=da,fa=(a("0270"),Object(u["a"])(ha,n,r,!1,null,"5688c698",null));e["default"]=fa.exports},e258:function(t,e,a){"use strict";var n=a("69c6"),r=a.n(n);r.a},e52b:function(t,e,a){},eca2:function(t,e,a){"use strict";var n=a("9a55"),r=a.n(n);r.a}}]); \ No newline at end of file