| 12 |
- webpackJsonp([11],{"+BTi":function(t,e){},0:function(t,e){},"3S52":function(t,e){},"5LIk":function(t,e){},"6PUk":function(t,e){},FifX:function(t,e,a){t.exports=a.p+"static/img/playmate_same_city_match_bg.2439bf1.png"},IceL:function(t,e){},Kp28:function(t,e){},NHnr:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("zL8q"),i=a.n(n),s=(a("tvR6"),a("7+uW")),o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("keep-alive",[this.$route.meta.keepAlive?e("router-view"):this._e()],1),this._v(" "),this.$route.meta.keepAlive?this._e():e("router-view")],1)},staticRenderFns:[]};var l=a("VU/8")({name:"App"},o,!1,function(t){a("mdyE")},null,null).exports,r=a("/ocq"),c=a("gvPT"),u={components:{HelloWorld:function(){return new Promise(function(t){t()}).then(a.bind(null,"gvPT"))},element_ui:function(){return new Promise(function(t){t()}).then(a.bind(null,"jMZ4"))},vueStart:function(){return new Promise(function(t){t()}).then(a.bind(null,"amUc"))},xgplayerDoc:function(){return new Promise(function(t){t()}).then(a.bind(null,"TpBA"))},lifeDoc:function(){return new Promise(function(t){t()}).then(a.bind(null,"Ok60"))},imageDoc:function(){return a.e(2).then(a.bind(null,"CP5v"))},componentImportDoc:function(){return a.e(9).then(a.bind(null,"G1Lr"))},ParentMessageChildrenRefsDoc:function(){return a.e(5).then(a.bind(null,"dW4T"))},childrenMessageParentEmitDoc:function(){return a.e(8).then(a.bind(null,"kuxu"))}},watch:{filterText:function(t){this.$refs.tree2.filter(t)}},data:function(){return{show:!1,filterText:"",comName:"HelloWorld",show3:!0,mainw:19,_pc:!1,_mobile:!1,leftLayout:!1,data:[{label:"首页",index:"HelloWorld"},{label:"Vue",children:[{label:"开始",children:[{label:"webStorm创建Vue",index:"vueStart"}]},{label:"引用UI样式",children:[{label:"element-ui",index:"element_ui"}]},{label:"基础",children:[{label:"生命周期",index:"lifeDoc"}]},{label:"功能",children:[{label:"插入视频",index:"xgplayerDoc"},{label:"加入图片",index:"imageDoc"}]},{label:"组件通讯",children:[{label:"父到子",children:[{label:"$refs模式",index:"parentMessageChildrenRefsDoc"}]},{label:"子到父",children:[{label:"$emit模式",index:"childrenMessageParentEmitDoc"}]}]}]}],defaultProps:{children:"children",label:"label"}}},mounted:function(){},created:function(){this.utils.isMobile()?this.showMobile():this.showPC()},methods:{showPopup:function(){this.show=!0},showPC:function(){this._pc=!0,this._mobile=!1},showMobile:function(){this._pc=!1,this._mobile=!0,this.switchs()},switchs:function(){this._mobile?this.mainw=24:this.mainw=19},clickTitle:function(){},clickMenu:function(){this.leftLayout=!this.leftLayout},handleNodeClick:function(t){t.index&&(console.log(t.index),this.comName=t.index)},filterNode:function(t,e){return!t||-1!==e.label.indexOf(t)}}},h={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-row",{attrs:{gutter:10}},[a("el-col",{staticClass:"header_title",attrs:{xs:24,sm:24,md:24,lg:24,xl:24}},[a("van-button",{attrs:{type:"primary"},on:{click:t.showPopup}},[t._v("\n 展示弹出层\n ")]),t._v(" "),a("van-popup",{model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[t._v("内容")])],1)],1),t._v(" "),a("el-row",{staticClass:"row_",attrs:{gutter:5}},[a("el-col",{directives:[{name:"show",rawName:"v-show",value:t._pc,expression:"_pc"}],staticClass:"left_",attrs:{xs:5,sm:5,md:5,lg:5,xl:5}},[a("transition",{attrs:{name:"slide-fade"}},[a("div",[a("div",{staticClass:"list-content bg-purple "},[a("el-input",{attrs:{placeholder:"输入关键字进行过滤"},model:{value:t.filterText,callback:function(e){t.filterText=e},expression:"filterText"}}),t._v(" "),a("el-tree",{ref:"tree2",attrs:{data:t.data,props:t.defaultProps,"filter-node-method":t.filterNode},on:{"node-click":t.handleNodeClick}})],1)])])],1),t._v(" "),a("el-col",{directives:[{name:"show",rawName:"v-show",value:t.leftLayout,expression:"leftLayout"}],staticClass:"left_",attrs:{xs:12,sm:12,md:12,lg:12,xl:12}},[a("transition",{attrs:{name:"slide-fade"}},[a("div",[a("div",{staticClass:"list-content bg-purple "},[a("el-input",{attrs:{placeholder:"输入关键字进行过滤"},model:{value:t.filterText,callback:function(e){t.filterText=e},expression:"filterText"}}),t._v(" "),a("el-tree",{ref:"tree2",attrs:{data:t.data,props:t.defaultProps,"filter-node-method":t.filterNode},on:{"node-click":t.handleNodeClick}})],1)])])],1),t._v(" "),a("el-col",{directives:[{name:"show",rawName:"v-show",value:t._pc,expression:"_pc"}],attrs:{xs:5,sm:5,md:5,lg:5,xl:5}},[a("div",{staticClass:"list-content"})]),t._v(" "),a("el-col",{attrs:{xs:t.mainw,sm:t.mainw,md:t.mainw,lg:t.mainw,xl:t.mainw}},[a("div",{staticClass:"list-content bg-purple-light"},[a(t.comName,{tag:"component"})],1)])],1)],1)},staticRenderFns:[]};var d=a("VU/8")(u,h,!1,function(t){a("TPfh")},"data-v-3d4d56a6",null).exports,m=a("jMZ4"),p=a("amUc"),f=a("TpBA"),g=(a("Ok60"),{name:"hall",components:{topTab:function(){return new Promise(function(t){t()}).then(a.bind(null,"T58h"))}},data:function(){return{}},props:{},watch:{},methods:{},computed:{},created:function(){},mounted:function(){},destroyed:function(){}}),v={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"hall"},[e(this.comName,{tag:"component"}),this._v("--\x3e\n")],1)},staticRenderFns:[]};a("VU/8")(g,v,!1,function(t){a("3S52")},"data-v-10714f95",null).exports;var _,b=a("bOdI"),y=a.n(b),w=a("17/p"),T=a("uX/E"),k={name:"viewp",components:(_={},y()(_,w.e.name,w.e),y()(_,w.f.name,w.f),_),data:function(){return{current:0,simple:T.a}},props:{},watch:{},methods:{setValue:function(t,e){document.querySelector(t)&&(document.querySelector(t).innerHTML=e)},beforeChange:function(t,e){this.setValue("#valueSwiper0",t),this.setValue("#valueSwiper1",e)},afterChange:function(t,e){this.setValue("#valueSwiper2",t),this.setValue("#valueSwiper3",e)},fn:function(t){this.setValue("#valueSwiper4",t)},goto:function(){this.$refs.swiper.goto(2)},play:function(){this.$refs.swiper.play()},stop:function(){this.$refs.swiper.stop()}},computed:{},created:function(){},mounted:function(){var t=this;setTimeout(function(){t.simple=T.a.concat(T.a)},1e4),setTimeout(function(){t.simple=T.a},24500),window.triggerSwiper0=function(){t.goto()},window.triggerSwiper1=function(){t.play()},window.triggerSwiper2=function(){t.stop()}},destroyed:function(){}},D={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"viewp"},[a("div",{staticClass:"md-example-child md-example-child-swiper md-example-child-swiper-0"},[a("md-swiper",{ref:"swiper",attrs:{"is-prevent":!1,"useNative-driver":!1},on:{"before-change":t.beforeChange,"after-change":t.afterChange}},t._l(t.simple,function(e,n){return a("md-swiper-item",{key:n},[a("div",{staticClass:"banner-item",style:{background:""+e.color}},[t._v(t._s(e.text))])])}),1)],1)])},staticRenderFns:[]};a("VU/8")(k,D,!1,function(t){a("Kp28")},"data-v-27929ff2",null).exports;var S={name:"gameHall",components:y()({topTab:function(){return new Promise(function(t){t()}).then(a.bind(null,"T58h"))},menuBar:function(){return a.e(1).then(a.bind(null,"l8iZ"))},my:function(){return a.e(7).then(a.bind(null,"Zjg2"))}},w.a.name,w.a),data:function(){return{topTab:"topTab",menuBar:"menuBar",my:"my",tabLayout:["topTab","","","my"],isPopupShow:[]}},props:{},watch:{},methods:{clickItem:function(t){console.log("菜单栏点击了什么",t),1==t||2==t?this.showTextToast():this.topTab=this.tabLayout[t]},showTextToast:function(){this.showPopUp(7)},showPopUp:function(t){this.$set(this.isPopupShow,t,!0)}},computed:{},created:function(){},mounted:function(){},destroyed:function(){}},x={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"gameHall"},[a("keep-alive",[a(t.topTab,{tag:"component",staticClass:"topTab",on:{showToast:t.showTextToast}})],1),t._v(" "),a(t.menuBar,{ref:"menuBar",tag:"component",staticClass:"menuBar",on:{clickItem:t.clickItem}}),t._v(" "),a("md-popup",{attrs:{transition:"md-zoom"},model:{value:t.isPopupShow[7],callback:function(e){t.$set(t.isPopupShow,7,e)},expression:"isPopupShow[7]"}},[a("div",{staticClass:"md-example-popup md-example-popup-center"},[t._v("\n 尽请期待\n ")])])],1)},staticRenderFns:[]};var C=a("VU/8")(S,x,!1,function(t){a("V7ab")},"data-v-a56cf408",null).exports,$=a("T58h"),I={name:"matching",baseUrl:"https://www.yuyekeji.cn/games/",newUrl:"",components:{},data:function(){return{}},props:{},watch:{},methods:{goback:function(){this.utils.goRouterforPathGo(this,-1)}},computed:{getUrl:function(){var t="https://www.yuyekeji.cn/games/"+this.textdata.gameUrl;return console.log("应该是什么地址",t),t}},created:function(){this.textdata=this.$route.query.data,this.newUrl=this.baseUrl+this.textdata.gameUrl,console.log("前面页面的数据是",this.textdata);var t={data:{userId:this.utils.getAdmin(),id:this.textdata.id}};this.utils.createHistory(this,t)},mounted:function(){},destroyed:function(){}},L={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"matching"},[e("button",{on:{click:this.goback}},[this._v("返回")]),this._v(" "),e("iframe",{staticClass:"otherUrl",attrs:{src:this.getUrl}})])},staticRenderFns:[]};var U=a("VU/8")(I,L,!1,function(t){a("Xcb2")},"data-v-00a8c735",null).exports,F=a("mvHQ"),P=a.n(F),G={name:"adminAddItem",components:{itemDialog:function(){return a.e(6).then(a.bind(null,"x3B2"))}},data:function(){return{itemDialog:"itemDialog",listItemShowTag:!1,tableData3:[],titleData:[],multipleSelection:[]}},props:{},watch:{},methods:{getWidth:function(t){var e=150;return"GameUrl"==t.name&&(e=2e3),e},dialogOk:function(t){console.log("dialog点了ok 之后",t);for(var e=[],a=0;a<t.length;a++)e[t[a].name]=t[a].value;var n={data:{className:"GameItem",json:this.utils.mapToJson(e)}};this.utils.addGameItem(this,n,function(){this.dialogShow(!1);this.utils.getTableData(this,{data:{className:"GameItem"}})}.bind(this))},dialogUpDataOk:function(t){console.log("dialog点了ok 之后",t);for(var e=[],a=0;a<t.length;a++)e[t[a].name]=t[a].value;var n=this.utils.mapToJson(e),i={data:{className:"GameItem",json:P()(n)}};this.utils.upDataGameItem(this,i,function(){this.dialogShow(!1);this.utils.getTableData(this,{data:{className:"GameItem"}})}.bind(this))},_mapToJson:function(t){return P()(this._strMapToObj(t))},handleOpen:function(t,e){console.log(t,e)},handleClose:function(t,e){console.log(t,e)},handleSelect:function(t,e){if(console.log(t,e),"GameItem"==t){console.log("点到对的地方了",t);this.utils.getTable(this,{data:{className:"GameItem"}});this.utils.getTableData(this,{data:{className:"GameItem"}})}},toggleSelection:function(t){var e=this;t?t.forEach(function(t){e.$refs.multipleTable.toggleRowSelection(t)}):this.$refs.multipleTable.clearSelection()},addItem:function(){this.$refs.itemDialog.setTitileName("添加"),this.$refs.itemDialog.setiItemData(this.titleData),this.dialogShow(!0,0)},dialogShow:function(t,e){this.$refs.itemDialog.setShow(t,e)},updataItem:function(){if(console.log("点了修改",this.multipleSelection),0!=this.multipleSelection.length){this.$refs.itemDialog.setTitileName("修改");var t=this.utils.getNewObjData(this.titleData),e=this.utils.setItemData(t,this.multipleSelection[0]);console.log("装完数据的",t),this.$refs.itemDialog.setiItemData(e),this.dialogShow(!0,1)}},delItem:function(){if(console.log("现在选择的是",this.multipleSelection),0!=this.multipleSelection.length){var t=this.multipleSelection,e={data:{className:"GameItem",json:P()(t)}};this.utils.delGameItem(this,e,function(){this.dialogShow(!1);this.utils.getTableData(this,{data:{className:"GameItem"}})}.bind(this))}},handleSelectionChange:function(t){this.multipleSelection=t},isItemShow:function(){return this.tableData3.length>0},rowStyle:function(t){}},computed:{getGetTable:function(){var t=this.$store.getters.getTable;console.log("获取结构",t.data),t.data&&(this.titleData=t.data)},getTableData:function(){var t=this.$store.getters.getTableData;console.log("网络数据是",t.data),t.data?(this.tableData3=t.data,this.listItemShowTag=!0):this.listItemShowTag=!1}},created:function(){},mounted:function(){},destroyed:function(){}},R={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"adminAddItem"},[a("p",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[t._v(t._s(t.getGetTable))]),t._v(" "),a("p",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[t._v(t._s(t.getTableData))]),t._v(" "),a("el-row",[a("el-col",{staticClass:"leftList",attrs:{span:4}},[a("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{"default-active":"2"},on:{open:t.handleOpen,close:t.handleClose,select:t.handleSelect}},[a("el-submenu",{attrs:{index:"1"}},[a("template",{slot:"title"},[a("span",[t._v("游戏管理")])]),t._v(" "),a("el-menu-item-group",[a("template",{slot:"title"},[t._v("分组一")]),t._v(" "),a("el-menu-item",{attrs:{index:"GameItem"}},[t._v("所有游戏")])],2)],2)],1)],1),t._v(" "),a("el-col",{staticClass:"mainList",attrs:{span:20}},[a("div",{staticClass:"grid-content bg-purple"},[a("el-table",{directives:[{name:"show",rawName:"v-show",value:t.listItemShowTag,expression:"listItemShowTag"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData3,"tooltip-effect":"dark",height:"500","row-style":t.rowStyle},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"55"}}),t._v(" "),t._l(t.titleData,function(e,n){return a("el-table-column",{key:n,attrs:{label:e.titleName,prop:e.name,width:t.getWidth(e)}})})],2),t._v(" "),a("div",{staticStyle:{"margin-top":"20px"}},[a("el-button",{on:{click:function(e){return t.toggleSelection(t.tableData3)}}},[t._v("全选")]),t._v(" "),a("el-button",{on:{click:function(e){return t.toggleSelection()}}},[t._v("取消选择")]),t._v(" "),a("el-button",{on:{click:function(e){return t.addItem()}}},[t._v("添加")]),t._v(" "),a("el-button",{on:{click:function(e){return t.updataItem()}}},[t._v("修改")]),t._v(" "),a("el-button",{on:{click:function(e){return t.delItem()}}},[t._v("删除")])],1)],1)])],1),t._v(" "),a(t.itemDialog,{ref:"itemDialog",tag:"component",on:{ok:t.dialogOk,okUpData:t.dialogUpDataOk}})],1)},staticRenderFns:[]};var N=a("VU/8")(G,R,!1,function(t){a("OuPe")},"data-v-7692ca64",null).exports,j={name:"login",components:y()({},w.a.name,w.a),data:function(){return{isPopupShow:[]}},props:{},watch:{},methods:{login:function(){var t=this;w.h.loading("加载中..."),setTimeout(function(){w.h.hide(),t.utils.goRouterforPathReplace(t,{path:"gameHall"})},1e3)},showPopUp:function(t){this.$set(this.isPopupShow,t,!0)}},computed:{},created:function(){this.login()},activated:function(){},mounted:function(){},destroyed:function(){}},E={render:function(){this.$createElement;this._self._c;return this._m(0)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"login centerHorizontally"},[e("img",{staticClass:"bg",attrs:{src:a("FifX")}}),this._v(" "),e("div",{staticClass:"layout"})])}]};var M=a("VU/8")(j,E,!1,function(t){a("veaI")},"data-v-604045a2",null).exports;s.default.use(r.a);var V=new r.a({routes:[{path:"/gameHall",name:"gameHall",component:C,meta:{keepAlive:!0}},{path:"/",name:"login",component:M},{path:"/topTab",name:"topTab",component:$.default,meta:{keepAlive:!0}},{path:"/matching",name:"matching",component:U},{path:"/adminAddItem",name:"adminAddItem",component:N},{path:"/home",name:"home",component:d},{path:"/HelloWorld",name:"HelloWorld",component:c.default},{path:"/element_ui",name:"element_ui",component:m.default},{path:"/vueStart",name:"vueStart",component:p.default},{path:"/xgplayerDoc",name:"xgplayerDoc",component:f.default}]}),H=a("iqGf"),O=a.n(H),A=(a("+BTi"),a("Zcwg")),B=a.n(A),W=a("OvRC"),X=a.n(W),q={getAdmin:function(){return"admin"},isMobile:function(){return navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)},goRouterforPathPush:function(t,e){t.$router.push(e)},goRouterforPathReplace:function(t,e){t.$router.replace(e)},goRouterforPathGo:function(t,e){t.$router.go(e)},goRouterforIndex:function(t,e){t.$router.push(t.$router.options.routes[e])},openSuccess:function(t,e){t.$notify(e)},openError:function(t,e){t.$notify.error(e)},setItemData:function(t,e){for(var a in e)for(var n=e[a],i=0;i<t.length;i++)t[i].name==a&&(t[i].value=n);return t},getNewObjData:function(t){return JSON.parse(P()(t))},getJson:function(t){return P()(t)},getJsonObj:function(t){return JSON.parse(t)},httpToHttps:function(t){return"https"+t.split("http")[1]},initHttpImageGame:function(t){return http_.image+t},initHttpImage:function(t){return http_.image+t},mapToJson:function(t){var e=X()(null);for(var a in t)e[a]=t[a];return e},getComponents:function(t,e){var a=[];for(var n in t.$refs)for(var i=0;i<e.length;i++)n==e[i]&&a.push(t.$refs[n]);return a},setComponentsData:function(t,e,a){for(var n=0;n<e.length;n++)a&&a(n,e[n])},add:function(t,e){e.url||(e.url="/add"),e.data||(e.data={}),e.callbackSuccess=function(t){console.log("add 成功",t)}.bind(this),e.callbackfail=function(t){console.log("add 失败",t)}.bind(this),t.$store.dispatch("httpGet",e)},addGameItem:function(t,e,a){e.url||(e.url="/addGameItem"),e.data||(e.data={}),e.callbackSuccess=function(n){if(console.log("addGameItem 成功",n),0==n.data.code){this.openSuccess(t,{title:"成功",message:"添加一条数据",type:"success"})}else{var i={title:"错误",message:e.data.className+"添加条目失败"};this.openError(t,i)}a&&a()}.bind(this),e.callbackfail=function(t){console.log("addGameItem 失败",t)}.bind(this),t.$store.dispatch("httpGet",e)},upDataGameItem:function(t,e,a){e.url||(e.url="/upDataGameItem"),e.data||(e.data={}),e.callbackSuccess=function(n){if(console.log("upDataGameItem 成功",n),0==n.data.code){this.openSuccess(t,{title:"成功",message:"添加一条数据",type:"success"})}else{var i={title:"错误",message:e.data.className+"添加条目失败"};this.openError(t,i)}a&&a()}.bind(this),e.callbackfail=function(t){console.log("upDataGameItem 失败",t)}.bind(this),t.$store.dispatch("httpPost",e)},delGameItem:function(t,e,a){e.url||(e.url="/delGameItem"),e.data||(e.data={}),e.callbackSuccess=function(n){if(console.log("delGameItem 成功",n),0==n.data.code){this.openSuccess(t,{title:"成功",message:"删除数据",type:"success"})}else{var i={title:"错误",message:e.data.className+"添加条目失败"};this.openError(t,i)}a&&a()}.bind(this),e.callbackfail=function(t){console.log("delGameItem 失败",t)}.bind(this),t.$store.dispatch("httpPost",e)},getTable:function(t,e){e.url||(e.url="/getTable"),e.data||(e.data={}),e.callbackSuccess=function(e){console.log("getTable 成功",e),t.$store.dispatch("table",e)}.bind(this),e.callbackfail=function(t){console.log("getTable 失败",t)}.bind(this),t.$store.dispatch("httpGet",e)},getTableData:function(t,e){e.url||(e.url="/getTableData"),e.data||(e.data={}),e.callbackSuccess=function(e){console.log("getTableData 成功",e),t.$store.dispatch("tableData",e)}.bind(this),e.callbackfail=function(t){console.log("getTableData 失败",t)}.bind(this),t.$store.dispatch("httpGet",e)},getDataForList:function(t,e,a,n){e.url||(e.url="/getDataForList"),e.data||(e.data={}),e.callbackSuccess=function(e){console.log("getDataForList 成功",e),t.$store.dispatch("dataForList",e),a&&a()}.bind(this),e.callbackfail=function(t){console.log("getDataForList 失败",t),n&&n()}.bind(this),t.$store.dispatch("httpGet",e)},getGameItemType:function(t,e,a,n){e.url||(e.url="/getGameItemType"),e.data||(e.data={}),e.callbackSuccess=function(t){console.log("getGameItemType 成功",t),a&&a(t)}.bind(this),e.callbackfail=function(t){console.log("getGameItemType 失败",t),n&&n()}.bind(this),t.$store.dispatch("httpGet",e)},createHistory:function(t,e,a,n){e.url||(e.url="/createHistory"),e.data||(e.data={}),e.callbackSuccess=function(t){console.log("createHistory 成功",t),a&&a(t)}.bind(this),e.callbackfail=function(t){console.log("createHistory 失败",t),n&&n()}.bind(this),t.$store.dispatch("httpGet",e)},getHistory:function(t,e,a,n){e.url||(e.url="/getHistory"),e.data||(e.data={}),e.callbackSuccess=function(e){console.log("getHistory 成功",e),t.$store.dispatch("history",e),a&&a(e)}.bind(this),e.callbackfail=function(t){console.log("getHistory 失败",t),n&&n()}.bind(this),t.$store.dispatch("httpGet",e)},getUser:function(t,e,a,n){e.url||(e.url="/getUser"),e.data||(e.data={}),e.callbackSuccess=function(e){console.log("getUser 成功",e),t.$store.dispatch("User",e),a&&a(e)}.bind(this),e.callbackfail=function(t){console.log("getHistory 失败",t),n&&n()}.bind(this),t.$store.dispatch("httpGet",e)},test:function(t,e){e.url||(e.url="/ping"),e.data||(e.data={}),e.callbackSuccess=function(t){console.log("ping 成功",t)}.bind(this),e.callbackfail=function(t){console.log("ping 失败",t)}.bind(this),t.$store.dispatch("httpGet",e)},getListData:function(t,e){e.url||(e.url="/getListData"),e.data||(e.data={}),e.callbackSuccess=function(e){console.log("getListData 成功",e),t.$store.dispatch("setGetTableList",e)}.bind(this),e.callbackfail=function(t){console.log("getListData 失败",t)}.bind(this),t.$store.dispatch("httpGet",e)},getListDataMore:function(t,e){e.url||(e.url="/getListDataMore"),e.data||(e.data={}),e.callbackSuccess=function(e){console.log("getListDataMore 成功",e),t.$store.dispatch("setGetTableListMore",e)}.bind(this),e.callbackfail=function(t){console.log("getListDataMore 失败",t)}.bind(this),t.$store.dispatch("httpGet",e)},getDataForUrl:function(t,e,a,n){e.data||(e.data={}),e.callbackSuccess=function(t){console.log("getDataForUrl 成功"+e,t),a&&a(t)}.bind(this),e.callbackfail=function(t){console.log("getDataForUrl 失败"+e,t),n&&n()}.bind(this),t.$store.dispatch("httpGetUrl",e)}},J=(a("uRzA"),a("NrtM"),a("NYxO")),z=a("mtWM"),K=a.n(z),Q=a("mw3O"),Y=a.n(Q);s.default.use(J.a),window.http_={baseUrl:"https://www.yuyekeji.cn/hallgame/api",image:"https://www.yuyekeji.cn/games/",games:"https://www.yuyekeji.cn/games/"};var Z=new J.a.Store({state:{tableList:{},table:{},tableData:{},dataForList:{},history:{},User:{}},mutations:{setUser:function(t,e){t.User=e},setTableList:function(t,e){t.tableList=e},tableData:function(t,e){t.tableData=e},setTable:function(t,e){t.table=e},setTableData:function(t,e){t.tableData=e},setTableListMore:function(t,e){t.tableList=e,console.log("添加完的数组是",t.tableList)},setDataForList:function(t,e){t.dataForList=e},setHistory:function(t,e){t.history=e}},getters:{getUser:function(t){return t.User},getTableList:function(t){return t.tableList},getTable:function(t){return t.table},getTableData:function(t){return t.tableData},getDataForList:function(t){return t.dataForList},getTableListMore:function(t){return t.tableList},getHistory:function(t){return t.history}},actions:{User:function(t,e){t.commit("setUser",e)},table:function(t,e){t.commit("setTable",e)},setTableListMore:function(t,e){t.commit("setTableListMore",e)},tableData:function(t,e){t.commit("setTableData",e)},dataForList:function(t,e){t.commit("setDataForList",e)},history:function(t,e){t.commit("setHistory",e)},httpGet:function(t,e){console.log("准备去get",e),K.a.request({url:http_.baseUrl+e.url,method:"get",contentType:"application/json",params:e.data}).then(function(t){null!=e.callbackSuccess&&e.callbackSuccess(t)}.bind(this)).catch(function(t){null!=e.callbackfail&&e.callbackfail(t)}.bind(this))},httpGetUrl:function(t,e){console.log("准备去get",e),K.a.request({url:e.url,method:"get",data:e.data,contentType:"application/json"}).then(function(t){null!=e.callbackSuccess&&e.callbackSuccess(t)}.bind(this)).catch(function(t){null!=e.callbackfail&&e.callbackfail(t)}.bind(this))},httpPost:function(t,e){console.log("准备去post",e),K.a.request({url:http_.baseUrl+e.url,method:"post",transformRequest:[function(t){return Y.a.stringify(t)}],data:e.data,contentType:"application/json"}).then(function(t){null!=e.callbackSuccess&&e.callbackSuccess(t)}.bind(this)).catch(function(t){null!=e.callbackfail&&e.callbackfail(t)}.bind(this))}}});a("g3Gj"),a("5LIk"),s.default.prototype.utils=q,s.default.component(B.a.name,B.a),s.default.config.productionTip=!1,s.default.prototype.$axios=K.a,s.default.use(w.i),s.default.use(i.a),s.default.use(O.a),new s.default({el:"#app",router:V,store:Z,components:{App:l},template:"<App/>"})},NrtM:function(t,e){},Ok60:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("eRV/"),i=a.n(n),s={name:"lifeDoc",components:{},data:function(){return{titles:[{title:"生命周期图"},{title:"执行顺序"},{title:"相关资料"}],url:i.a}},props:{},watch:{},methods:{},computed:{},created:function(){},mounted:function(){},destroyed:function(){}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"lifeDoc"},[a("h1",{staticClass:"h1title"},[t._v("\n "+t._s(t.titles[0].title)+"\n ")]),t._v(" "),a("img",{attrs:{src:t.url}}),t._v(" "),a("h1",{staticClass:"h1title"},[t._v("\n "+t._s(t.titles[1].title)+"\n ")]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"code"},[a("p",[t._v("beforeCreate(新对象诞生)")]),t._v(" "),a("p",[t._v("created (具有默认特性的对象)")]),t._v(" "),a("p",[t._v("beforeMounted(对象在DOM中适合形状)")]),t._v(" "),a("p",[t._v("mounted(DOM已准备就绪并放置在页面内)")]),t._v(" "),a("p",[t._v("beforeUpdate(更改已完成,但尚未准备好更新DOM)")]),t._v(" "),a("p",[t._v("updated(在DOM中呈现的更改)")]),t._v(" "),a("p",[t._v("beforeDestroy(对象准备死掉)")]),t._v(" "),a("p",[t._v("destroyed (对象停止并从内存中删除)")])])}]};var l=a("VU/8")(s,o,!1,function(t){a("PLpi")},"data-v-b0c01be2",null);e.default=l.exports},OuPe:function(t,e){},PLpi:function(t,e){},T58h:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=a("bOdI"),s=a.n(i),o=a("17/p"),l={name:"topTab",components:(n={itemImage:function(){return a.e(0).then(a.bind(null,"SxfB"))},listView:function(){return a.e(4).then(a.bind(null,"qfV/"))}},s()(n,o.g.name,o.g),s()(n,o.e.name,o.e),s()(n,o.f.name,o.f),s()(n,o.b.name,o.b),s()(n,o.d.name,o.d),s()(n,o.c.name,o.c),n),data:function(){return{baseUrl:http_.games,current:0,scrollTop:0,scrollTopBack:0,itemImage:"itemImage",comName:"listView",list:99,onEndReachedTag:!1,onRefreshTag:!1,items:[{type:0,typeTitle:"推荐"},{type:1,typeTitle:"对战"},{type:2,typeTitle:"单机"},{type:3,typeTitle:"棋牌"},{type:4,typeTitle:"休闲"},{type:5,typeTitle:"其他"}],itemRefs:["itemImage0","itemImage1","itemImage2","itemImage3"],images:[[{GameUrl:"https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1425581591,2239095159&fm=26&gp=0.jpg"},{GameUrl:"https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1425581591,2239095159&fm=26&gp=0.jpg"},{GameUrl:"https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1425581591,2239095159&fm=26&gp=0.jpg"}]],imagesitem:[{image:"https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1425581591,2239095159&fm=26&gp=0.jpg"},{image:"https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1158851945,3016970309&fm=26&gp=0.jpg"},{image:"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1566362491089&di=64570139e7da8a5fc0161575efb10794&imgtype=0&src=http%3A%2F%2Fimg4.duitang.com%2Fuploads%2Fitem%2F201502%2F20%2F20150220120527_YVcSV.thumb.700_0.jpeg"}],itemsAllData:[],testList:["itemImage0","itemImage1","itemImage2","itemImage3"]}},props:{},watch:{},methods:{onSwiperChange:function(t,e){var a=this;this.current=this.items[e].name,this.$refs.scrollView.reflowScroller(),setTimeout(function(){a.$refs.scrollView.scrollTo(0,0,!1)},10)},onTabChange:function(t,e){var a=this;this.current=this.items[e].name,console.log("我点了换类型",e),this.getListDataForType(this.current),this.$refs.swiper.goto(e),this.$refs.scrollView.reflowScroller(),setTimeout(function(){a.$refs.scrollView.scrollTo(0,0,!1)},10)},onClickItemIndex:function(t,e){console.log("我点了",e),this.utils.goRouterforPathPush(this,{path:"matching",query:{data:this.images[t][e]}}),this.scrollTopBack=this.scrollTop,console.log("我想回来的时候的高度",this.scrollTopBack)},getListDataForType:function(t,e,a){var n={data:{type:t}};this.utils.getDataForList(this,n,e,a)},getListDataForTypeMore:function(t,e,a){console.log("准备去加载更多",this.current,"内容是",this.itemsAllData[this.current]);var n=this.itemsAllData[this.current];if(n&&null!=n.next){var i={url:n.next,data:{gameType:this.current}};this.utils.getDataForUrl(this,i,function(t){console.log("回来的参数是什么",t),this.$store.dispatch("setTableListMore",t)}.bind(this),function(){}.bind(this))}this.onEndReachedTag=!1,this.$refs.scrollView.finishLoadMore()},getImageUrl:function(t,e){var a=this.images[t][e].gameImageUrl;return this.baseUrl+a},getScrollView:function(t){return"scrollView"+t},$_onScroll:function(t){t.scrollLeft;var e=t.scrollTop;this.scrollTop=e},$_onRefresh:function(){this.onRefreshTag||(this.onRefreshTag=!0,this.getListDataForType(this.current,function(){var t=this;setTimeout(function(){t.onRefreshTag=!1,t.$refs.scrollView.finishRefresh()},2e3)}.bind(this),function(){var t=this;setTimeout(function(){t.onRefreshTag=!1,t.$refs.scrollView.finishRefresh()},2e3)}.bind(this)))},addItems:function(){this.list+=5,this.$refs.scrollView.reflowScroller()},$_onEndReached:function(){console.log("加载更多",this.onEndReachedTag),this.onEndReachedTag||(this.onEndReachedTag=!0,this.getListDataForTypeMore())},$_refreshActive:function(){}},computed:{getListData:function(){var t=this.$store.getters.getDataForList;console.log("网络数据是",t,null!=t.data),null!=t.data&&(this.images[t.config.params.type]=t.data.results,this.itemsAllData[t.config.params.type]=t.data,console.log("总计和数据",this.itemsAllData),console.log("现在所有数组~~~~~~~~~~~~~~~~~~~",this.images))},getListDataMore:function(){var t=this.$store.getters.getTableListMore;null!=t.data&&(this.images[JSON.parse(t.config.data).gameType]=this.images[JSON.parse(t.config.data).gameType].concat(t.data.results),this.itemsAllData[JSON.parse(t.config.data).gameType]=t.data),console.log("加载更多~~~~~~~~~~~~~~~~~~~",t),console.log("目前最多的数据~~~~~~~~~~~~~~~~~~~",this.images)}},created:function(){},mounted:function(){this.utils.getGameItemType(this,{data:{}},function(t){this.items=[];for(var e=0;e<t.data.length;e++){var a=t.data[e],n={name:a.type,label:a.typeTitle};this.items.push(n)}for(e=0;e<this.items.length;e++)this.getListDataForType(this.items[e].name);this.current=this.items[0].name}.bind(this),function(){}.bind(this))},destroyed:function(){},activated:function(){var t=this;console.log("缓存生效",this.scrollTopBack),setTimeout(function(){t.$refs.scrollView.scrollTo(0,t.scrollTopBack,!1),console.log("走了吗",t.scrollTopBack)},100)}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"topTab"},[a("p",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[t._v(t._s(t.getListData))]),t._v(" "),a("p",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}]},[t._v(t._s(t.getListDataMore))]),t._v(" "),a("div",{staticClass:"md-example-child md-example-child-tabs md-example-child-tab-bar-6"},[a("div",{staticClass:"tab_bar_layout"},[a("md-tab-bar",{staticClass:"tab_bar",attrs:{items:t.items},on:{change:t.onTabChange},model:{value:t.current,callback:function(e){t.current=e},expression:"current"}})],1),t._v(" "),a("div",{staticClass:"scroll_layout"},[a("md-scroll-view",{ref:"scrollView",attrs:{"auto-reflow":!0,"scrolling-x":!1},on:{scroll:t.$_onScroll,refreshing:t.$_onRefresh,"end-reached":t.$_onEndReached,refreshActive:t.$_refreshActive},scopedSlots:t._u([{key:"refresh",fn:function(t){var e=t.scrollTop,n=t.isRefreshActive,i=t.isRefreshing;return a("md-scroll-view-refresh",{attrs:{"scroll-top":e,"is-refreshing":i,"is-refresh-active":n}})}}])},[t._v(" "),a("md-swiper",{ref:"swiper",attrs:{autoplay:0,dragable:!1,"is-prevent":!1,"is-loop":!1,"has-dots":!1},on:{"before-change":t.onSwiperChange}},t._l(t.images,function(e,n,i){return a("md-swiper-item",{staticClass:"topTab"},[a("el-row",{directives:[{name:"show",rawName:"v-show",value:t.current==n,expression:"current==keys"}],attrs:{gutter:10}},t._l(t.images[n],function(e,i,s){return a("el-col",{staticClass:"bg-purple",attrs:{xs:8,sm:8,md:8,lg:8,xl:8}},[a("div",{staticClass:"grid-content ",on:{click:function(e){return t.onClickItemIndex(n,i)}}},[a("img",{staticClass:"itemimg",attrs:{src:t.getImageUrl(n,i)}})]),t._v(" "),a("div",{staticClass:"centerHorizontally"},[t._v("\n "+t._s(e.gameTitle)+"\n ")]),t._v(" "),a("div",{staticClass:"centerHorizontally"},[t._v("\n "+t._s(e.gamePrice)+"\n ")])])}),1)],1)}),1),t._v(" "),a("md-scroll-view-more",{attrs:{slot:"more","is-finished":t.onEndReachedTag},slot:"more"})],1)],1)])])},staticRenderFns:[]};var c=a("VU/8")(l,r,!1,function(t){a("kILa")},"data-v-c7b2fe18",null);e.default=c.exports},TPfh:function(t,e){},TpBA:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={components:{Xgplayer:function(){return a.e(3).then(a.bind(null,"3HfK"))}},name:"xgplayerDoc",data:function(){return{comName:"Xgplayer",titles:[{title:"下载西瓜视频插件"},{title:"导入依赖"},{title:"在模板template 里面添加布局"},{title:"设置相关配置自动播放等"},{title:"相关资料"},{title:"自定义Xgplayer组件完整代码"}],urls:["https://github.com/bytedance/xgplayer-vue","http://h5player.bytedance.com/api/"]}},created:function(){},mounted:function(){},methods:{getURL:function(t){return"http://"==t.substr(0,7).toLowerCase()||"https://"==t.substr(0,8).toLowerCase()?t:"http://"+t}},computed:{}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"player"},[a("h1",{staticClass:"h1title"},[t._v("\n "+t._s(t.titles[0].title)+"\n ")]),t._v(" "),t._m(0),t._v(" "),a("h1",{staticClass:"h1title"},[t._v("\n "+t._s(t.titles[1].title)+"\n ")]),t._v(" "),t._m(1),t._v(" "),a("h1",{staticClass:"h1title"},[t._v("\n "+t._s(t.titles[2].title)+"\n ")]),t._v(" "),t._m(2),t._v(" "),a("h1",{staticClass:"h1title"},[t._v("\n "+t._s(t.titles[3].title)+"\n ")]),t._v(" "),t._m(3),t._v(" "),a(t.comName,{tag:"component"}),t._v(" "),a("h1",{staticClass:"h1title"},[t._v("\n "+t._s(t.titles[4].title)+"\n ")]),t._v(" "),a("div",{staticClass:"code"},[a("p",[t._v("github")]),t._v(" "),a("a",{attrs:{href:t.getURL(t.urls[0]),target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.urls[0]))]),t._v(" "),a("p",[t._v("西瓜视频api")]),t._v(" "),a("a",{attrs:{href:t.getURL(t.urls[1]),target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.urls[1]))])]),t._v(" "),a("h1",{staticClass:"h1title"},[t._v("\n "+t._s(t.titles[5].title)+"\n ")]),t._v(" "),t._m(4)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"code"},[e("p",[e("span",{staticStyle:{color:"#64451D"}},[e("span",{staticStyle:{color:"#00D5FF"}})]),this._v("//"),e("span",[this._v("现在我们使用西瓜视频播放器")])]),this._v(" "),e("p",[e("span",{staticStyle:{color:"#00D5FF"}},[this._v("npm ")]),e("span",{staticStyle:{color:"#E53333"}},[this._v("install ")]),e("span",{staticStyle:{color:"#00D5FF"}},[e("span",{staticStyle:{color:"#60D978"}},[this._v("xgplayer-vue@latest")]),e("span",{staticStyle:{"background-color":"#000000",color:"#60D978"}})])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"code"},[e("pre",{staticClass:"prettyprint lang-js"},[this._v(" // 导入组件\n import Xgplayer from 'xgplayer-vue';\n export default {\n name: \"xgplayer\",\n components : {\n Xgplayer\n },\n}")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"code"},[a("pre",[t._v("<"),a("span",{staticClass:"pl-ent",staticStyle:{color:"#22863A"}},[t._v("Xgplayer")]),t._v(" "),a("span",{staticClass:"pl-e",staticStyle:{color:"#6F42C1"}},[t._v(":config")]),t._v("="),a("span",{staticClass:"pl-s",staticStyle:{color:"#032F62"}},[a("span",{staticClass:"pl-pds"},[t._v('"')]),t._v("config"),a("span",{staticClass:"pl-pds"},[t._v('"')])]),t._v(" "),a("span",{staticClass:"pl-e",staticStyle:{color:"#6F42C1"}},[t._v("@player")]),t._v("="),a("span",{staticClass:"pl-s",staticStyle:{color:"#032F62"}},[a("span",{staticClass:"pl-pds"},[t._v('"')]),t._v("Player = $event"),a("span",{staticClass:"pl-pds"},[t._v('"')])]),t._v("/>")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"code"},[e("pre",{staticClass:"prettyprint lang-js"},[e("pre",{staticClass:"prettyprint lang-js"},[this._v(" config: {\n id: 'vs',\n url: 'http://s2.pstatp.com/cdn/expire-1-M/byted-player-videos/1.0.0/xgplayer-demo.mp4',\n // autoplay: true,\n playsinline: true,\n width: 300,\n height: 200,\n },\n Player: null")]),this._v(" "),e("br")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"code"},[e("pre",{staticClass:"prettyprint lang-js"},[e("pre",{staticClass:"prettyprint lang-js"},[this._v("<template>\n <Xgplayer :config=\"config\" @player=\"Player = $event\"/>\n</template>\n\n<script>\n // 导入组件\n import Xgplayer from 'xgplayer-vue';\n export default {\n name: \"xgplayer\",\n components : {\n Xgplayer\n },\n\n data() {\n return {\n titles: [\n {\n title: '插入视频'\n },\n {\n title: '进一步配置'\n },\n {\n title: '相关资料'\n }\n ],\n config: {\n id: 'vs',\n url: 'http://s2.pstatp.com/cdn/expire-1-M/byted-player-videos/1.0.0/xgplayer-demo.mp4',\n // autoplay: true,\n playsinline: true,\n width: 300,\n height: 200,\n },\n Player: null\n }\n\n },\n mounted(){\n // this.Player.play()\n // this.Player.on('play', ()=>{console.log('play')})\n\n },\n }\n<\/script>\n\n<style scoped>\n\n</style>\n")]),this._v(" "),e("br")])])}]};var s=a("VU/8")(n,i,!1,function(t){a("sf14")},"data-v-dc352b16",null);e.default=s.exports},V7ab:function(t,e){},Xcb2:function(t,e){},amUc:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={render:function(){var t=this.$createElement;return(this._self._c||t)("h1",{staticClass:"h1title"},[this._v("\n "+this._s(this.titles[0].title)+"\n")])},staticRenderFns:[]};var i=a("VU/8")({name:"vueStart",data:function(){return{titles:[{title:"开始Vue项目"},{title:"进一步配置"},{title:"相关资料"}],url:"https://element.eleme.cn/2.0/#/zh-CN/component/layout"}}},n,!1,function(t){a("6PUk")},"data-v-680ef511",null);e.default=i.exports},"eRV/":function(t,e,a){t.exports=a.p+"static/img/life.7491d99.jpeg"},g3Gj:function(t,e){},gvPT:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"hello"},[a("h1",[t._v(t._s(t.msg))]),t._v(" "),a("h2",[t._v("Essential Links")]),t._v(" "),t._m(0),t._v(" "),a("h2",[t._v("Ecosystem")]),t._v(" "),t._m(1)])},staticRenderFns:[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ul",[a("li",[a("a",{attrs:{href:"https://vuejs.org",target:"_blank"}},[t._v("\n Core Docs\n ")])]),t._v(" "),a("li",[a("a",{attrs:{href:"https://forum.vuejs.org",target:"_blank"}},[t._v("\n Forum\n ")])]),t._v(" "),a("li",[a("a",{attrs:{href:"https://chat.vuejs.org",target:"_blank"}},[t._v("\n Community Chat\n ")])]),t._v(" "),a("li",[a("a",{attrs:{href:"https://twitter.com/vuejs",target:"_blank"}},[t._v("\n Twitter\n ")])]),t._v(" "),a("br"),t._v(" "),a("li",[a("a",{attrs:{href:"http://vuejs-templates.github.io/webpack/",target:"_blank"}},[t._v("\n Docs for This Template\n ")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("ul",[e("li",[e("a",{attrs:{href:"http://router.vuejs.org/",target:"_blank"}},[this._v("\n vue-router\n ")])]),this._v(" "),e("li",[e("a",{attrs:{href:"http://vuex.vuejs.org/",target:"_blank"}},[this._v("\n vuex\n ")])]),this._v(" "),e("li",[e("a",{attrs:{href:"http://vue-loader.vuejs.org/",target:"_blank"}},[this._v("\n vue-loader\n ")])]),this._v(" "),e("li",[e("a",{attrs:{href:"https://github.com/vuejs/awesome-vue",target:"_blank"}},[this._v("\n awesome-vue\n ")])])])}]};var i=a("VU/8")({name:"HelloWorld",data:function(){return{msg:"Welcome to Your Vue.js App"}}},n,!1,function(t){a("IceL")},"data-v-4f884711",null);e.default=i.exports},jMZ4:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("h1",{staticClass:"h1title"},[t._v("\n "+t._s(t.titles[0].title)+"\n ")]),t._v(" "),t._m(0),t._v(" "),a("h1",{staticClass:"h1title"},[t._v("\n "+t._s(t.titles[1].title)+"\n ")]),t._v(" "),t._m(1),t._v(" "),a("h1",{staticClass:"h1title"},[t._v("\n "+t._s(t.titles[2].title)+"\n ")]),t._v(" "),a("div",{staticClass:"code"},[a("a",{attrs:{href:t.getURL(t.url),target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.url))])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"code"},[e("p",[this._v("//webstrom命令行 输入如下内容")]),this._v(" "),e("p",[this._v("npm i element-ui -S")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"code"},[a("p",[t._v("// 完整引入 Element")]),t._v(" "),a("p",[t._v("// src/main.js 里面 加入 如下")]),t._v(" "),a("p",[t._v("import ElementUI from 'element-ui'")]),t._v(" "),a("p",[t._v("import 'element-ui/lib/theme-chalk/index.css'")]),t._v(" "),a("p",[t._v("Vue.use(ElementUI)")])])}]};var i=a("VU/8")({name:"element-ui",components:{},data:function(){return{titles:[{title:"梦开始的地方"},{title:"进一步配置"},{title:"相关资料"}],url:"https://element.eleme.cn/2.0/#/zh-CN/component/layout"}},methods:{getURL:function(t){return"http://"==t.substr(0,7).toLowerCase()||"https://"==t.substr(0,8).toLowerCase()?t:"http://"+t}}},n,!1,function(t){a("kloi")},"data-v-9ab06d66",null);e.default=i.exports},kILa:function(t,e){},kloi:function(t,e){},mdyE:function(t,e){},sf14:function(t,e){},tvR6:function(t,e){},uRzA:function(t,e){},veaI:function(t,e){}},["NHnr"]);
- //# sourceMappingURL=app.adb7b11f3c3e95ebe24f.js.map
|