mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-04-27 11:16:34 +08:00
7 lines
15 KiB
JavaScript
7 lines
15 KiB
JavaScript
/*!
|
||
* build: vue-admin-better
|
||
* vue-admin-beautiful.com
|
||
* https://gitee.com/chu1204505056/vue-admin-better
|
||
* time: 2022-2-26 00:26:40
|
||
*/
|
||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5da41344"],{"04cf":function(e,t,a){"use strict";a.r(t),a.d(t,"getList",(function(){return r}));var n=a("b775");function r(e){return Object(n["default"])({url:"https://851edf02-46eb-43e6-828d-64c7e483ea41.bspapp.com/http/getChangeLog",method:"get",data:e})}},"0bb4":function(e,t,a){"use strict";a.r(t),a.d(t,"getNoticeList",(function(){return r}));var n=a("b775");function r(){return Object(n["default"])({url:"https://851edf02-46eb-43e6-828d-64c7e483ea41.bspapp.com/http/getNotice",method:"post"})}},"30c2":function(e,t,a){},"36ea":function(e,t,a){"use strict";a("6688")},"37f9":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"index-container"},[n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{xs:24,sm:24,md:24,lg:24,xl:24}},[e.noticeList[0]?n("el-alert",{attrs:{closable:e.noticeList[0].closable}},[n("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"center"}},[n("a",{attrs:{target:"_blank",href:"https://github.com/chuzhixin/vue-admin-better"}},[n("img",{staticStyle:{"margin-right":"10px"},attrs:{src:"https://img.shields.io/github/stars/chuzhixin/vue-admin-better?style=flat-square&label=Stars&logo=github"}})]),n("p",{domProps:{innerHTML:e._s(e.noticeList[0].title)}})])]):e._e()],1),n("el-col",{attrs:{xs:24,sm:24,md:12,lg:6,xl:6}},[n("el-card",{attrs:{shadow:"never"}},[n("div",{attrs:{slot:"header"},slot:"header"},[n("span",[e._v("访问量")])]),n("vab-chart",{attrs:{autoresize:"",theme:"vab-echarts-theme",options:e.fwl}}),n("div",{staticClass:"bottom"},[n("span",[e._v(" 日均访问量: "),n("vab-count",{attrs:{"start-val":e.config1.startVal,"end-val":e.config1.endVal,duration:e.config1.duration,separator:e.config1.separator,prefix:e.config1.prefix,suffix:e.config1.suffix,decimals:e.config1.decimals}})],1)])],1)],1),n("el-col",{attrs:{xs:24,sm:24,md:12,lg:6,xl:6}},[n("el-card",{attrs:{shadow:"never"}},[n("div",{attrs:{slot:"header"},slot:"header"},[n("span",[e._v("授权数")])]),n("vab-chart",{attrs:{autoresize:"",theme:"vab-echarts-theme",options:e.sqs}}),n("div",{staticClass:"bottom"},[n("span",[e._v(" 总授权数: "),n("vab-count",{attrs:{"start-val":e.config2.startVal,"end-val":e.config2.endVal,duration:e.config2.duration,separator:e.config2.separator,prefix:e.config2.prefix,suffix:e.config2.suffix,decimals:e.config2.decimals}})],1)])],1)],1),e._l(e.iconList,(function(t,a){return n("el-col",{key:a,attrs:{xs:12,sm:6,md:3,lg:3,xl:3}},[n("router-link",{attrs:{to:t.link,target:"_blank"}},[n("el-card",{staticClass:"icon-panel",attrs:{shadow:"never"}},[n("vab-icon",{style:{color:t.color},attrs:{icon:["fas",t.icon]}}),n("p",[e._v(e._s(t.title))])],1)],1)],1)})),n("el-col",{attrs:{xs:24,sm:24,md:24,lg:11,xl:11}},[n("el-card",{staticClass:"card",attrs:{shadow:"never"}},[n("div",{attrs:{slot:"header"},slot:"header"},[n("span",[e._v("依赖信息")]),n("div",{staticStyle:{float:"right"}},[e._v("部署时间:"+e._s(e.updateTime))])]),n("div",{staticClass:"bottom-btn"},[n("el-popover",{attrs:{placement:"top",width:"250",trigger:"hover"}},[n("p",[e._v(" 请我们喝杯咖啡,付款后联系qq 783963206,我们将邀请您加入我们的讨论群,谢谢您愿意支持开源,加群获取文档、及基础模板,群内大佬众多,希望能帮到大家(如情况不允许,请勿勉强)。 ")]),n("el-image",{attrs:{src:a("f0a2")}}),n("a",{attrs:{slot:"reference",target:"_blank"},slot:"reference"},[n("el-button",{attrs:{type:"primary"}},[e._v("QQ讨论群、基础版、文档")])],1)],1),n("a",{attrs:{target:"_blank",href:"https://github.com/chuzhixin/vue-admin-better"}},[n("el-button",{attrs:{type:"warning"}},[e._v("github下载源码点star")])],1),n("a",{attrs:{target:"_blank",href:"https://gitee.com/chu1204505056/vue-admin-better"}},[n("el-button",{attrs:{type:"warning"}},[e._v("码云下载源码点star")])],1),n("a",{on:{click:e.handleChangeTheme}},[n("el-button",{attrs:{type:"danger"}},[e._v("修改主题和布局")])],1)],1),n("table",{staticClass:"table"},[n("tr",[n("td",[e._v("@vue/cli版本")]),n("td",[e._v(e._s(e.devDependencies["@vue/cli-service"]))]),n("td",[e._v("vue版本")]),n("td",[e._v(e._s(e.dependencies["vue"]))])]),n("tr",[n("td",[e._v("vuex版本")]),n("td",[e._v(e._s(e.dependencies["vuex"]))]),n("td",[e._v("vue-router版本")]),n("td",[e._v(e._s(e.dependencies["vue-router"]))])]),n("tr",[n("td",[e._v("element-ui版本")]),n("td",[e._v(e._s(e.dependencies["element-ui"]))]),n("td",[e._v("axios版本")]),n("td",[e._v(e._s(e.dependencies["axios"]))])]),n("tr",[n("td",[e._v("eslint版本")]),n("td",[e._v(e._s(e.devDependencies["eslint"]))]),n("td",[e._v("prettier版本")]),n("td",[e._v(e._s(e.devDependencies["prettier"]))])]),n("tr",[n("td",[e._v("sass版本")]),n("td",[e._v(e._s(e.devDependencies["sass"]))]),n("td",[e._v("mockjs版本")]),n("td",[e._v(e._s(e.dependencies["mockjs"]))])]),n("tr",[n("td",[e._v("zx-layouts版本")]),n("td",[e._v(e._s(e.dependencies["zx-layouts"]))]),n("td",[e._v("lodash版本")]),n("td",[e._v(e._s(e.dependencies["lodash"]))])])])]),n("el-card",{attrs:{shadow:"never"}},[n("div",{attrs:{slot:"header"},slot:"header"},[n("span",[e._v("其他信息")])]),n("div",{staticStyle:{"text-align":"center"}},[n("vab-colorful-icon",{staticStyle:{"font-size":"140px"},attrs:{"icon-class":"vab"}}),n("h1",{staticStyle:{"font-size":"30px"}},[e._v("vue-admin-better")])],1),e._l(e.noticeList,(function(t,a){return n("div",{key:a},[0!==a?n("el-alert",{attrs:{title:t.title,type:t.type,closable:t.closable}}):e._e(),n("br")],1)})),n("el-alert",{attrs:{closable:!1,title:e.userAgent,type:"info"}}),n("br")],2)],1),n("el-col",{attrs:{xs:24,sm:24,md:13,lg:13,xl:13}},[n("el-card",{staticClass:"card",attrs:{shadow:"never"}},[n("div",{attrs:{slot:"header"},slot:"header"},[n("span",[e._v("更新日志")])]),n("el-timeline",{attrs:{reverse:e.reverse}},e._l(e.activities,(function(t,a){return n("el-timeline-item",{key:a,attrs:{timestamp:t.timestamp,color:t.color}},[e._v(" "+e._s(t.content)+" ")])})),1)],1),n("plan"),n("version-information")],1)],2)],1)},r=[],i=a("febe"),s=(a("e186"),a("1926"),a("10dd"),a("8ea3"),a("7fc4")),l=a("9224"),o=a("04cf"),c=a("0bb4"),d=(a("c9f7"),a("f84e")),u=a("a0b1"),v={name:"Index",components:{VabChart:s["default"],Plan:d["default"],VersionInformation:u["default"]},data:function(){return{timer:0,updateTime:"2022-2-26 00:26:40",nodeEnv:"production",dependencies:l["a"],devDependencies:l["b"],config1:{startVal:0,endVal:this.$baseLodash.random(2e4,6e4),decimals:0,prefix:"",suffix:"",separator:",",duration:8e3},config2:{startVal:0,endVal:this.$baseLodash.random(1e3,2e4),decimals:0,prefix:"",suffix:"",separator:",",duration:8e3},config3:{startVal:0,endVal:this.$baseLodash.random(1e3,2e4),decimals:0,prefix:"",suffix:"",separator:",",duration:8e3},fwl:{grid:{top:"4%",left:"2%",right:"4%",bottom:"0%",containLabel:!0},xAxis:[{type:"category",boundaryGap:!1,data:[],axisTick:{alignWithLabel:!0}}],yAxis:[{type:"value"}],series:[{name:"访问量",type:"line",data:[],smooth:!0,areaStyle:{}}]},sqs:{grid:{top:"4%",left:"2%",right:"4%",bottom:"0%",containLabel:!0},xAxis:[{type:"category",data:["0时","4时","8时","12时","16时","20时","24时"],axisTick:{alignWithLabel:!0}}],yAxis:[{type:"value"}],series:[{name:"授权数",type:"bar",barWidth:"60%",data:[10,52,20,33,39,33,22]}]},cy:{grid:{top:"4%",left:"2%",right:"4%",bottom:"0%"},series:[{type:"wordCloud",gridSize:15,sizeRange:[12,40],rotationRange:[0,0],width:"100%",height:"100%",textStyle:{normal:{color:function(){var e=["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#975FE5"],t=Math.floor(Math.random()*e.length);return e[t]}}},data:[{name:"vue-admin-better",value:15e3},{name:"element",value:10081},{name:"beautiful",value:9386},{name:"vue",value:6500},{name:"chuzhixin",value:6e3},{name:"good",value:4500},{name:"success",value:3800},{name:"never",value:3e3},{name:"boy",value:2500},{name:"girl",value:2300},{name:"github",value:2e3},{name:"hbuilder",value:1900},{name:"dcloud",value:1800},{name:"china",value:1700},{name:"1204505056",value:1600},{name:"972435319",value:1500},{name:"young",value:1200},{name:"old",value:1100},{name:"vuex",value:900},{name:"router",value:800},{name:"money",value:700},{name:"qingdao",value:800},{name:"yantai",value:9e3},{name:"author is very cool",value:9200}]}]},reverse:!0,activities:[],noticeList:[],userAgent:navigator.userAgent,iconList:[{icon:"video",title:"视频播放器",link:"/vab/player",color:"#ffc069"},{icon:"table",title:"表格",link:"/vab/table/comprehensiveTable",color:"#5cdbd3"},{icon:"laptop-code",title:"源码",link:"https://github.com/chuzhixin/vue-admin-better",color:"#b37feb"},{icon:"book",title:"书籍",link:"",color:"#69c0ff"},{icon:"bullhorn",title:"公告",link:"",color:"#ff85c0"},{icon:"gift",title:"礼物",link:"",color:"#ffd666"},{icon:"balance-scale-left",title:"公平的世界",link:"",color:"#ff9c6e"},{icon:"coffee",title:"休息一下",link:"",color:"#95de64"}]}},created:function(){this.fetchData()},beforeDestroy:function(){clearInterval(this.timer)},mounted:function(){for(var e=this,t=+new Date(2020,1,1),a=864e5,n=[],r=[1500*Math.random()],i=new Date(t),s=function(t){i=[i.getFullYear(),i.getMonth()+1,i.getDate()].join("/"),n.push(i),r.push(e.$baseLodash.random(2e4,6e4)),t&&(n.shift(),r.shift()),i=new Date(+new Date(i)+a)},l=1;l<6;l++)s();s(!0),this.fwl.xAxis[0].data=n,this.fwl.series[0].data=r,this.timer=setInterval((function(){s(!0),e.fwl.xAxis[0].data=n,e.fwl.series[0].data=r}),3e3)},methods:{handleClick:function(e){this.$baseMessage("点击了".concat(e.name,",这里可以写跳转"))},handleZrClick:function(e){},handleChangeTheme:function(){this.$baseEventBus.$emit("theme")},fetchData:function(){var e=this;return Object(i["a"])(regeneratorRuntime.mark((function t(){var a,n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(o["getList"])();case 2:return a=t.sent,n=a.data,n.map((function(e,t){t===n.length-1&&(e.color="#0bbd87")})),e.activities=n,t.next=8,Object(c["getNoticeList"])();case 8:r=t.sent,e.noticeList=r.data;case 10:case"end":return t.stop()}}),t)})))()}}},f=v,p=(a("36ea"),a("cba8")),m=Object(p["a"])(f,n,r,!1,null,"6920d992",null);t["default"]=m.exports},6688:function(e,t,a){},"7fc4":function(e,t,a){"use strict";a.r(t);a("3fb0");var n=a("2a50");t["default"]=n["a"]},a0b1:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-card",{staticClass:"version-information",attrs:{shadow:"hover"},scopedSlots:e._u([{key:"header",fn:function(){return[a("vab-icon",{attrs:{icon:"information-line"}})]},proxy:!0}])},[a("el-scrollbar",[a("table",{staticClass:"table"},[a("tr",[a("td",[e._v("vue")]),a("td",[e._v(e._s(e.dependencies["vue"]))]),a("td",[e._v("@vue/cli")]),a("td",[e._v(e._s(e.devDependencies["@vue/cli-service"]))])]),a("tr",[a("td",[e._v("vuex")]),a("td",[e._v(e._s(e.dependencies["vuex"]))]),a("td",[e._v("vue-router")]),a("td",[e._v(e._s(e.dependencies["vue-router"]))])]),a("tr",[a("td",[e._v("element-ui")]),a("td",[e._v(e._s(e.dependencies["element-ui"]))]),a("td",[e._v("axios")]),a("td",[e._v(e._s(e.dependencies["axios"]))])]),a("tr",[a("td",[e._v("授权渠道")]),a("td",{attrs:{colspan:"3"}},[a("a",{attrs:{target:"_blank",href:"https://vue-admin-beautiful.com/authorization"}},[a("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"}},[e._v(" PRO付费版本 购买源码 ¥699 ")])],1),a("a",{attrs:{target:"_blank",href:"https://vue-admin-beautiful.com/authorization"}},[a("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"}},[e._v(" Plus付费版本 购买源码 ¥799 ")])],1),a("a",{attrs:{href:"https://github.com/chuzhixin/vue-admin-beautiful/",target:"_blank"}},[a("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"warning"}},[e._v(" 开源免费版 ")])],1)])])])])],1)},r=[],i=a("9224"),s={data:function(){return{updateTime:"2022-2-26 00:26:40",dependencies:i["a"],devDependencies:i["b"]}}},l=s,o=(a("b498"),a("cba8")),c=Object(o["a"])(l,n,r,!1,null,"3443198a",null);t["default"]=c.exports},b498:function(e,t,a){"use strict";a("30c2")},c9f7:function(e,t,a){"use strict";a.r(t),a.d(t,"getRepos",(function(){return i})),a.d(t,"getStargazers",(function(){return s}));var n=a("b632"),r=a.n(n);function i(e){return r()({url:"https://api.github.com/repos/chuzhixin/vue-admin-beautiful",method:"get",params:e,timeout:1e4})}function s(e){return r()({url:"https://api.github.com/repos/chuzhixin/vue-admin-beautiful/stargazers",method:"get",params:e,timeout:1e4})}},f0a2:function(e,t,a){e.exports=a.p+"static/img/zfb_kf.e340e885.jpg"},f84e:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-card",{attrs:{shadow:"hover"},scopedSlots:e._u([{key:"header",fn:function(){return[a("vab-icon",{attrs:{icon:"send-plane-2-line"}}),a("el-tag",{staticClass:"card-header-tag",attrs:{type:"success"}},[e._v(" 祝用框架的小伙伴都能住上别墅,开上保时捷 ")])]},proxy:!0}])},[a("el-table",{attrs:{data:e.tableData,"row-key":"title",height:"283px"}},[a("el-table-column",{attrs:{align:"center",label:"拖拽",width:"50px"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("vab-icon",{staticStyle:{cursor:"pointer"},attrs:{icon:["fas","arrows-alt"]}})]}}])}),a("el-table-column",{attrs:{width:"20px"}}),a("el-table-column",{attrs:{prop:"title",label:"目标",width:"230px"}}),a("el-table-column",{attrs:{label:"进度",width:"220px"},scopedSlots:e._u([{key:"default",fn:function(e){var t=e.row;return[a("el-progress",{attrs:{percentage:t.percentage,color:t.color}})]}}])}),a("el-table-column",{attrs:{width:"50px"}}),a("el-table-column",{attrs:{prop:"endTIme",label:"完成时间"}})],1)],1)},r=[],i=(a("993f"),a("85b3")),s={data:function(){return{tableData:[{title:"帮助中小企业盈利1个亿",endTIme:"2099-12-31",percentage:50,color:"#95de64"},{title:"帮助10万个人",endTIme:"2029-12-31",percentage:8,color:"#69c0ff"},{title:"交个帅气的男朋友",endTIme:"2021-12-31",percentage:76,color:"#1890FF"},{title:"vue-admin-beautiful标星过1K",endTIme:"2020-03-31",percentage:100,color:"#ffc069"},{title:"活到老,学到老",endTIme:"2094-12-16",percentage:25,color:"#5cdbd3"},{title:"变成像尤雨溪一样优秀的人",endTIme:"此生无望",percentage:1,color:"#b37feb"}]}},mounted:function(){var e=document.querySelector(".el-table__body-wrapper tbody"),t=this;i["a"].create(e,{onEnd:function(e){var a=e.newIndex,n=e.oldIndex,r=t.tableData.splice(n,1)[0];t.tableData.splice(a,0,r)}})}},l=s,o=a("cba8"),c=Object(o["a"])(l,n,r,!1,null,null,null);t["default"]=c.exports}}]); |